* 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>
|
2005-01-05 Douglas S. Blank <dblank@brynmawr.edu>
|
||||||
* src/Utils.py (roman): Proper implementation.
|
* src/Utils.py (roman): Proper implementation.
|
||||||
|
|
||||||
|
@ -425,7 +425,10 @@ class Gramps:
|
|||||||
for item in gramps_rf.gramps_recent_files:
|
for item in gramps_rf.gramps_recent_files:
|
||||||
index = index + 1
|
index = index + 1
|
||||||
name = os.path.basename(item.get_path())
|
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,
|
menu_item.connect("activate",self.recent_callback,
|
||||||
item.get_path(),item.get_mime())
|
item.get_path(),item.get_mime())
|
||||||
menu_item.show()
|
menu_item.show()
|
||||||
|
Loading…
Reference in New Issue
Block a user