* src/DisplayState.py: start of Windows menu

* src/ReadGedcom.py: sync database with transaction
* src/ViewManager.py: WinMenu support


svn: r5551
This commit is contained in:
Don Allingham 2005-12-15 04:45:20 +00:00
parent 7a6b9143c5
commit fe78de0606
4 changed files with 11 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-12-14 Don Allingham <don@gramps-project.org>
* src/DisplayState.py: start of Windows menu
* src/ReadGedcom.py: sync database with transaction
* src/ViewManager.py: WinMenu support
2005-12-14 Martin Hawlisch <Martin.Hawlisch@gmx.de>
* src/gramps.glade: Fix Tip of the day

View File

@ -131,6 +131,10 @@ class History(GrampsDBCallback.GrampsDBCallback):
# Window manager
#
#-------------------------------------------------------------------------
_win_top = '<ui><menubar name="MenuBar"><menu name="WindowsMenu"><placeholder name="WinMenu">'
_win_btm = '</placeholder</menu></menubar></ui>'
class GrampsWindowManager:
"""
Manage hierarchy of open GRAMPS windows.

View File

@ -604,8 +604,7 @@ class GedcomParser:
self.progressbar.set_fraction(1.0)
self.progressbar.set_text(_("Complete"))
if use_trans:
self.db.transaction_commit(self.trans,_("GEDCOM import"))
self.db.transaction_commit(self.trans,_("GEDCOM import"))
self.db.enable_signals()
self.db.request_rebuild()

View File

@ -117,6 +117,7 @@ uidefault = '''<ui>
<menu action="ToolsMenu">
</menu>
<menu action="WindowsMenu">
<placeholder name="WinMenu"/>
</menu>
<menu action="HelpMenu">
<menuitem action="UserManual"/>