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> 2008-01-23 Benny Malengier <benny.malengier@gramps-project.org>
* src/Editors/_EditPerson.py: remove hide in save method. * src/Editors/_EditPerson.py: remove hide in save method.

View File

@ -245,6 +245,7 @@ class RecentDocsMenu:
self.uimanager.ensure_update() self.uimanager.ensure_update()
buf.close() buf.close()
if len(rfiles) > 0:
new_menu.show() new_menu.show()
self.uistate.set_open_recent_menu(new_menu) self.uistate.set_open_recent_menu(new_menu)