Index: gazpacho/widgets/base/menueditor/widgets.py =================================================================== --- gazpacho/widgets/base/menueditor/widgets.py (revisión: 2563) +++ gazpacho/widgets/base/menueditor/widgets.py (copia de trabajo) @@ -114,7 +114,7 @@ def load(self, xml_node): """Inverse to_xml method: creates a menushell from a xml node""" uim = self.gadget.project.uim - default_action_group = uim.get_action_group('default') + default_action_group = uim.get_action_group('DefaultActions') for node in xml_node.childNodes: if node.nodeType != node.ELEMENT_NODE: continue @@ -2407,7 +2407,7 @@ """Creates a menuitem and a submenu for it""" project = self.gadget.project uim = project.uim - default_action_group = uim.get_action_group('default') + default_action_group = uim.get_action_group('DefaultActions') if default_action_group: item = MenuItem(_('New Menu'), self.gadget, default_action_group) submenu = Menu(self.gadget) @@ -2442,7 +2442,7 @@ """Creates a menuitem""" project = self.gadget.project uim = project.uim - default_action_group = uim.get_action_group('default') + default_action_group = uim.get_action_group('DefaultActions') if default_action_group: item = MenuItem(_('New Action'), self.gadget, default_action_group) item.show_all() Index: gazpacho/widgets/base/bars.py =================================================================== --- gazpacho/widgets/base/bars.py (revisión: 2563) +++ gazpacho/widgets/base/bars.py (copia de trabajo) @@ -58,8 +58,8 @@ # create default action group if it doesn't exist project = context.get_project() - if project.uim.get_action_group('default') is None: - project.add_action_group(GActionGroup('default')) + if project.uim.get_action_group('DefaultActions') is None: + project.add_action_group(GActionGroup('DefaultActions')) project.uim.add_ui(gadget, ui_string) new_widget = project.uim.get_widget(gadget) @@ -145,8 +145,8 @@ def post_create(self, context, menuBar, interactive): # create default action group if it doesn't exist project = context.get_project() - if project.uim.get_action_group('default') is None: - project.add_action_group(GActionGroup('default')) + if project.uim.get_action_group('DefaultActions') is None: + project.add_action_group(GActionGroup('DefaultActions')) # Add the basic UI definition gadget = Gadget.from_widget(menuBar) Index: examples/uimanager.glade =================================================================== --- examples/uimanager.glade (revisión: 2563) +++ examples/uimanager.glade (copia de trabajo) @@ -2,7 +2,7 @@ - + Quit