force uimanager updates
svn: r6453
This commit is contained in:
parent
0593cae180
commit
e462dafe93
11
ChangeLog
11
ChangeLog
@ -1,7 +1,12 @@
|
||||
2006-04-26 Don Allingham <don@gramps-project.org>
|
||||
* 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
|
||||
|
@ -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):
|
||||
|
@ -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')
|
||||
|
@ -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
|
||||
|
@ -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):
|
||||
"""
|
||||
|
@ -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 = []
|
||||
|
Loading…
Reference in New Issue
Block a user