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:
Gary Burton 2008-01-23 21:58:09 +00:00
parent dbd7591217
commit a5c3e010cd
2 changed files with 7 additions and 2 deletions

View File

@ -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.

View File

@ -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)