2008-01-18 Raphael Ackermann <raphael.ackermann@gmail.com>
* src/FilterEditor/_ShowResults.py * src/GrampsCfg.py * src/ReportBase/_StyleComboBox.py * src/ReportBase/_PaperMenu.py * src/ReportBase/_BookFormatComboBox.py * src/ReportBase/_DrawFormatComboBox.py * src/ReportBase/_GraphvizReportDialog.py * src/ReportBase/_TextFormatComboBox.py * src/DisplayTabs/_GalleryTab.py * src/ColumnOrder.py * src/plugins/WebCal.py * src/plugins/RemoveUnused.py * src/plugins/Verify.py * src/plugins/PatchNames.py * src/ObjectSelector/_FamilyFilterFrame.py * src/ObjectSelector/_PersonFilterFrame.py * src/GrampsWidgets.py * src/ExportOptions.py * src/DdTargets.py * src/AutoComp.py * src/UndoHistory.py * src/PluginUtils/_PluginWindows.py * src/DbLoader.py * src/Filters/_FilterMenu.py pylint fixes + init gtk.ListStore() with gobject.TYPE_BOOLEAN types instead of str, int, bool etc + Documentation fixes svn: r9905
This commit is contained in:
@ -35,6 +35,7 @@ from gettext import gettext as _
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import pango
|
||||
import gobject
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
@ -69,7 +70,8 @@ class PluginStatus(ManagedWindow.ManagedWindow):
|
||||
|
||||
scrolled_window = gtk.ScrolledWindow()
|
||||
self.list = gtk.TreeView()
|
||||
self.model = gtk.ListStore(str, str, str, object)
|
||||
self.model = gtk.ListStore(gobject.TYPE_STRING, gobject.TYPE_STRING,
|
||||
gobject.TYPE_STRING, object)
|
||||
self.selection = self.list.get_selection()
|
||||
|
||||
self.list.set_model(self.model)
|
||||
|
Reference in New Issue
Block a user