* src/gramps_main.py: detect pygtk_version before passing
False for markup on MenuItem svn: r3871
This commit is contained in:
parent
e50684ce31
commit
abb53ed2a3
@ -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,6 +425,9 @@ class Gramps:
|
||||
for item in gramps_rf.gramps_recent_files:
|
||||
index = index + 1
|
||||
name = os.path.basename(item.get_path())
|
||||
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())
|
||||
|
Loading…
Reference in New Issue
Block a user