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:
@@ -20,7 +20,19 @@
|
||||
|
||||
# $Id$
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GTK libraries
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import gtk
|
||||
import gobject
|
||||
|
||||
#-------------------------------------------------------------------------
|
||||
#
|
||||
# GRAMPS classes
|
||||
#
|
||||
#-------------------------------------------------------------------------
|
||||
import Config
|
||||
import PluginUtils
|
||||
|
||||
@@ -32,7 +44,7 @@ import PluginUtils
|
||||
class BookFormatComboBox(gtk.ComboBox):
|
||||
|
||||
def set(self,tables,callback,obj=None,active=None):
|
||||
self.store = gtk.ListStore(str)
|
||||
self.store = gtk.ListStore(gobject.TYPE_STRING)
|
||||
self.set_model(self.store)
|
||||
cell = gtk.CellRendererText()
|
||||
self.pack_start(cell,True)
|
||||
|
Reference in New Issue
Block a user