diff --git a/ChangeLog b/ChangeLog index 0afa55f6c..fbb35cf84 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,7 +1,12 @@ 2006-04-26 Don Allingham - * src/DataViews/_MediaView.py: - * src/DataViews/_RepositoryView.py - * src/DataViews/_SourceView.py: + * src/ViewManager.py: force uimanager updates + * src/Bookmarks.py: force uimanager updates + * src/DisplayState.py: force uimanager updates + * src/Navigation.py: force uimanager updates + * src/ManagedWindow.py: force uimanager updates + * src/DataViews/_MediaView.py: multiple bookmark lists + * src/DataViews/_RepositoryView.py: multiple bookmark lists + * src/DataViews/_SourceView.py: multiple bookmark lists * src/DataViews/_EventView.py: multiple bookmark lists * src/DataViews/_FamilyView.py: multiple bookmark lists * src/DataViews/_FamilyList.py: multiple bookmark lists diff --git a/src/Bookmarks.py b/src/Bookmarks.py index 17f44fb38..67a6563ec 100644 --- a/src/Bookmarks.py +++ b/src/Bookmarks.py @@ -122,6 +122,7 @@ class Bookmarks : self.action_group.add_actions(actions) self.uistate.uimanager.insert_action_group(self.action_group,1) self.active = self.uistate.uimanager.add_ui_from_string(f.getvalue()) + self.uistate.uimanager.ensure_update() f.close() def make_label(self,handle): diff --git a/src/DisplayState.py b/src/DisplayState.py index c16c91beb..c952050e6 100644 --- a/src/DisplayState.py +++ b/src/DisplayState.py @@ -202,6 +202,7 @@ class RecentDocsMenu: self.action_group.add_actions(actions) self.uimanager.insert_action_group(self.action_group,1) self.active = self.uimanager.add_ui_from_string(f.getvalue()) + self.uimanager.ensure_update() f.close() menu_item = self.uistate.uimanager.get_widget('/MenuBar/FileMenu/OpenRecent') diff --git a/src/ManagedWindow.py b/src/ManagedWindow.py index ef83316bf..344a67220 100644 --- a/src/ManagedWindow.py +++ b/src/ManagedWindow.py @@ -101,6 +101,7 @@ class GrampsWindowManager: """ self.uimanager.insert_action_group(self.action_group, 1) self.active = self.uimanager.add_ui_from_string(self.ui) + self.uimanager.ensure_update() def get_item_from_track(self,track): # Recursively find an item given track sequence diff --git a/src/Navigation.py b/src/Navigation.py index e5ae03fab..1db175d11 100644 --- a/src/Navigation.py +++ b/src/Navigation.py @@ -26,7 +26,7 @@ the history changes, the UI XML string and the action groups are updated. """ __author__ = "Donald N. Allingham" -__revision__ = "$Revision:$" +__revision__ = "$Revision$" #------------------------------------------------------------------- @@ -107,6 +107,7 @@ class BaseNavigation: if self.active == DISABLED: self.uistate.uimanager.insert_action_group(self.action_group, 1) self.active = self.uistate.uimanager.add_ui_from_string(self.ui) + self.uistate.uimanager.ensure_update() def build_item_name(self, handle): """ diff --git a/src/ViewManager.py b/src/ViewManager.py index c3da0e6f5..2954c718a 100644 --- a/src/ViewManager.py +++ b/src/ViewManager.py @@ -410,6 +410,7 @@ class ViewManager: self.uimanager.insert_action_group(self.actiongroup, 1) self.uimanager.insert_action_group(self.undoactions, 1) self.uimanager.insert_action_group(self.redoactions, 1) + self.uimanager.ensure_update() def home_page_activate(self, obj): import GrampsDisplay @@ -587,6 +588,7 @@ class ViewManager: for ui in self.active_page.additional_ui_definitions(): mergeid = self.uimanager.add_ui_from_string(ui) self.merge_ids.append(mergeid) + self.uimanager.ensure_update() while gtk.events_pending(): gtk.main_iteration() @@ -1036,6 +1038,7 @@ class ViewManager: self.toolactions.add_actions(actions) self.uistate.uimanager.add_ui_from_string(ui) self.uimanager.insert_action_group(self.toolactions, 1) + self.uistate.uimanager.ensure_update() def build_report_menu(self): self.reportactions = gtk.ActionGroup('ReportWindow') @@ -1046,6 +1049,7 @@ class ViewManager: self.reportactions.add_actions(actions) self.uistate.uimanager.add_ui_from_string(ui) self.uimanager.insert_action_group(self.reportactions, 1) + self.uistate.uimanager.ensure_update() def build_plugin_menu(self, text, item_list, categories, func): actions = []