[gedit-plugins] Rename extend_gear_menu to extend_menu



commit 63f95be5dca30ba8dfd4689f9cd073829ccbe34d
Author: Ignacio Casal Quinteiro <icq gnome org>
Date:   Tue Feb 4 10:18:52 2014 +0100

    Rename extend_gear_menu to extend_menu

 plugins/bookmarks/gedit-bookmarks-plugin.c       |    2 +-
 plugins/colorpicker/colorpicker.py               |    2 +-
 plugins/colorschemer/schemer/__init__.py         |    2 +-
 plugins/commander/commander/windowactivatable.py |    2 +-
 plugins/drawspaces/gedit-drawspaces-plugin.c     |    2 +-
 plugins/multiedit/multiedit/windowactivatable.py |    2 +-
 plugins/textsize/textsize/__init__.py            |    2 +-
 7 files changed, 7 insertions(+), 7 deletions(-)
---
diff --git a/plugins/bookmarks/gedit-bookmarks-plugin.c b/plugins/bookmarks/gedit-bookmarks-plugin.c
index 278a681..b73d9e4 100644
--- a/plugins/bookmarks/gedit-bookmarks-plugin.c
+++ b/plugins/bookmarks/gedit-bookmarks-plugin.c
@@ -224,7 +224,7 @@ install_menu (GeditBookmarksPlugin *plugin)
        g_action_map_add_action (G_ACTION_MAP (priv->window),
                                 G_ACTION (priv->action_prev));
 
-       priv->menu = gedit_window_activatable_extend_gear_menu (GEDIT_WINDOW_ACTIVATABLE (plugin),
+       priv->menu = gedit_window_activatable_extend_menu (GEDIT_WINDOW_ACTIVATABLE (plugin),
                                                                "ext3");
        item = g_menu_item_new (_("Toggle Bookmark"), "win.bookmark-toggle");
        gedit_menu_extension_append_menu_item (priv->menu, item);
diff --git a/plugins/colorpicker/colorpicker.py b/plugins/colorpicker/colorpicker.py
index 7e7163f..cb6e80d 100644
--- a/plugins/colorpicker/colorpicker.py
+++ b/plugins/colorpicker/colorpicker.py
@@ -159,7 +159,7 @@ class ColorPickerWindowActivatable(GObject.Object, Gedit.WindowActivatable):
         action.connect('activate', lambda a, p: self.on_color_picker_activate())
         self.window.add_action(action)
 
-        self.menu = self.extend_gear_menu("ext9")
+        self.menu = self.extend_menu("ext9")
         item = Gio.MenuItem.new(_("Pick _Color..."), "win.colorpicker")
         self.menu.prepend_menu_item(item)
 
diff --git a/plugins/colorschemer/schemer/__init__.py b/plugins/colorschemer/schemer/__init__.py
index 2fa66e0..59e4e78 100644
--- a/plugins/colorschemer/schemer/__init__.py
+++ b/plugins/colorschemer/schemer/__init__.py
@@ -36,7 +36,7 @@ class WindowActivatable(GObject.Object, Gedit.WindowActivatable):
     action.connect('activate', self.open_dialog)
     self.window.add_action(action)
 
-    self.menu = self.extend_gear_menu("ext9")
+    self.menu = self.extend_menu("ext9")
     item = Gio.MenuItem.new(_("Color Scheme Editor"), "win.schemer")
     self.menu.append_menu_item(item)
 
diff --git a/plugins/commander/commander/windowactivatable.py 
b/plugins/commander/commander/windowactivatable.py
index b921ac6..8dc4ee5 100644
--- a/plugins/commander/commander/windowactivatable.py
+++ b/plugins/commander/commander/windowactivatable.py
@@ -55,7 +55,7 @@ class CommanderWindowActivatable(GObject.Object, Gedit.WindowActivatable):
         action.connect('change-state', self.commander_mode)
         self.window.add_action(action)
 
-        self.menu = self.extend_gear_menu("ext9")
+        self.menu = self.extend_menu("ext9")
         item = Gio.MenuItem.new(_('Commander Mode'), "win.commander")
         self.menu.append_menu_item(item)
 
diff --git a/plugins/drawspaces/gedit-drawspaces-plugin.c b/plugins/drawspaces/gedit-drawspaces-plugin.c
index c3d1cee..49d97fe 100644
--- a/plugins/drawspaces/gedit-drawspaces-plugin.c
+++ b/plugins/drawspaces/gedit-drawspaces-plugin.c
@@ -259,7 +259,7 @@ gedit_drawspaces_plugin_activate (GeditWindowActivatable *activatable)
                                 action);
        g_object_unref (action);
 
-       priv->menu = gedit_window_activatable_extend_gear_menu (activatable,
+       priv->menu = gedit_window_activatable_extend_menu (activatable,
                                                                "ext5");
        item = g_menu_item_new (_("Show _White Space"), "win.show-white-space");
        gedit_menu_extension_append_menu_item (priv->menu, item);
diff --git a/plugins/multiedit/multiedit/windowactivatable.py 
b/plugins/multiedit/multiedit/windowactivatable.py
index 2ec29f7..fdd9a91 100644
--- a/plugins/multiedit/multiedit/windowactivatable.py
+++ b/plugins/multiedit/multiedit/windowactivatable.py
@@ -51,7 +51,7 @@ class MultiEditWindowActivatable(GObject.Object, Gedit.WindowActivatable):
         action.connect('change-state', self.multi_edit_mode)
         self.window.add_action(action)
 
-        self.menu = self.extend_gear_menu("ext9")
+        self.menu = self.extend_menu("ext9")
         item = Gio.MenuItem.new(_('Multi Edit Mode'), "win.multiedit")
         self.menu.append_menu_item(item)
 
diff --git a/plugins/textsize/textsize/__init__.py b/plugins/textsize/textsize/__init__.py
index dc8db88..12c3d18 100644
--- a/plugins/textsize/textsize/__init__.py
+++ b/plugins/textsize/textsize/__init__.py
@@ -77,7 +77,7 @@ class TextSizeWindowActivatable(GObject.Object, Gedit.WindowActivatable):
         action.connect('activate', self.on_normal_size_activate)
         self.window.add_action(action)
 
-        self.menu = self.extend_gear_menu("ext9")
+        self.menu = self.extend_menu("ext9")
 
         item = Gio.MenuItem.new(_("_Normal size"), "win.text-normal")
         self.menu.prepend_menu_item(item)


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]