2008-01-23 Gary Burton <gary.burton@zen.co.uk>
* src/DisplayState.py: Display the Recent Databases menu only if there are some recently opened databases. svn: r9921
This commit is contained in:
parent
dbd7591217
commit
a5c3e010cd
@ -1,3 +1,7 @@
|
||||
2008-01-23 Gary Burton <gary.burton@zen.co.uk>
|
||||
* src/DisplayState.py: Display the Recent Databases menu only if there
|
||||
are some recently opened databases.
|
||||
|
||||
2008-01-23 Benny Malengier <benny.malengier@gramps-project.org>
|
||||
* src/Editors/_EditPerson.py: remove hide in save method.
|
||||
|
||||
|
@ -245,8 +245,9 @@ class RecentDocsMenu:
|
||||
self.uimanager.ensure_update()
|
||||
buf.close()
|
||||
|
||||
new_menu.show()
|
||||
self.uistate.set_open_recent_menu(new_menu)
|
||||
if len(rfiles) > 0:
|
||||
new_menu.show()
|
||||
self.uistate.set_open_recent_menu(new_menu)
|
||||
|
||||
def make_callback(val, func):
|
||||
return lambda x: func(val)
|
||||
|
Loading…
Reference in New Issue
Block a user