* src/gramps_main.py: detect pygtk_version before passing
False for markup on MenuItem svn: r3871
This commit is contained in:
parent
a32b40187f
commit
78e338aeaa
@ -1,3 +1,7 @@
|
||||
2005-01-05 Don Allingham <dallingham@users.sourceforge.net>
|
||||
* src/gramps_main.py: detect pygtk_version before passing
|
||||
False for markup on MenuItem
|
||||
|
||||
2005-01-05 Douglas S. Blank <dblank@brynmawr.edu>
|
||||
* src/Utils.py (roman): Proper implementation.
|
||||
|
||||
|
@ -425,7 +425,10 @@ class Gramps:
|
||||
for item in gramps_rf.gramps_recent_files:
|
||||
index = index + 1
|
||||
name = os.path.basename(item.get_path())
|
||||
menu_item = gtk.MenuItem(name,False)
|
||||
if gtk.pygtk_version < (2,4,0):
|
||||
menu_item = gtk.MenuItem(name)
|
||||
else:
|
||||
menu_item = gtk.MenuItem(name,False)
|
||||
menu_item.connect("activate",self.recent_callback,
|
||||
item.get_path(),item.get_mime())
|
||||
menu_item.show()
|
||||
|
Loading…
Reference in New Issue
Block a user