~ubuntu-branches/ubuntu/intrepid/gedit/intrepid-proposed

« back to all changes in this revision

Viewing changes to plugins/snippets/snippets/WindowHelper.py

  • Committer: Bazaar Package Importer
  • Author(s): Aron Sisak
  • Date: 2007-08-01 12:06:47 UTC
  • mto: (2.1.2 lenny)
  • mto: This revision was merged to the branch mainline in revision 46.
  • Revision ID: james.westby@ubuntu.com-20070801120647-qjb6cc1ehv3ee1mx
Tags: upstream-2.19.3
ImportĀ upstreamĀ versionĀ 2.19.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
70
70
 
71
71
                self.action_group = gtk.ActionGroup("GeditSnippetPluginActions")
72
72
                self.action_group.set_translation_domain('gedit')
73
 
                self.action_group.add_actions([('Snippets', None,
 
73
                self.action_group.add_actions([('ManageSnippets', None,
74
74
                                _('Manage _Snippets...'), \
75
75
                                None, _('Manage snippets'), \
76
76
                                self.on_action_snippets_activate)])
78
78
                self.merge_id = manager.new_merge_id()
79
79
                manager.insert_action_group(self.action_group, -1)              
80
80
                manager.add_ui(self.merge_id, '/MenuBar/ToolsMenu/ToolsOps_5', \
81
 
                                'Snippets', 'Snippets', gtk.UI_MANAGER_MENUITEM, False)
 
81
                                'ManageSnippets', 'ManageSnippets', gtk.UI_MANAGER_MENUITEM, False)
82
82
 
83
83
        def remove_menu(self):
84
84
                manager = self.window.get_ui_manager()