diff --git a/gramps2/ChangeLog b/gramps2/ChangeLog index 29a659d6d..0bf160d73 100644 --- a/gramps2/ChangeLog +++ b/gramps2/ChangeLog @@ -1,3 +1,7 @@ +2005-01-05 Don Allingham + * src/gramps_main.py: detect pygtk_version before passing + False for markup on MenuItem + 2005-01-05 Douglas S. Blank * src/Utils.py (roman): Proper implementation. diff --git a/gramps2/src/gramps_main.py b/gramps2/src/gramps_main.py index 252c33fb9..f38bf43d9 100755 --- a/gramps2/src/gramps_main.py +++ b/gramps2/src/gramps_main.py @@ -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()