[geany/geany-plugins] 0e28ce: geanyextrasel PLUGIN_KEY_GROUP() -> plugin_set_key_group()

Dimitar Zhekov git-noreply at xxxxx
Sat Jun 7 12:31:36 UTC 2014


Branch:      refs/heads/master
Author:      Dimitar Zhekov <dimitar.zhekov at gmail.com>
Committer:   Dimitar Zhekov <dimitar.zhekov at gmail.com>
Date:        Sat, 07 Jun 2014 12:31:36 UTC
Commit:      0e28ce58597662901296fe70e2d5d41bb4356c1f
             https://github.com/geany/geany-plugins/commit/0e28ce58597662901296fe70e2d5d41bb4356c1f

Log Message:
-----------
geanyextrasel PLUGIN_KEY_GROUP() -> plugin_set_key_group()


Modified Paths:
--------------
    geanyextrasel/src/extrasel.c

Modified: geanyextrasel/src/extrasel.c
6 lines changed, 3 insertions(+), 3 deletions(-)
===================================================================
@@ -32,7 +32,7 @@ GeanyFunctions	*geany_functions;
 PLUGIN_VERSION_CHECK(189)
 
 PLUGIN_SET_INFO(_("Extra Selection"), _("Column mode, select to line / brace / anchor."),
-	"0.51", "Dimitar Toshkov Zhekov <dimitar.zhekov at gmail.com>")
+	"0.52", "Dimitar Toshkov Zhekov <dimitar.zhekov at gmail.com>")
 
 /* Keybinding(s) */
 enum
@@ -47,8 +47,6 @@ enum
 	COUNT_KB
 };
 
-PLUGIN_KEY_GROUP(extra_select, COUNT_KB)
-
 static GtkWidget *main_menu_item = NULL;
 static GtkCheckMenuItem *column_mode_item;
 static GtkWidget *anchor_rect_select_item;
@@ -496,8 +494,10 @@ void plugin_init(G_GNUC_UNUSED GeanyData *data)
 {
 	GtkContainer *menu;
 	GtkWidget *item;
+	GeanyKeyGroup *plugin_key_group;
 
 	main_locale_init(LOCALEDIR, GETTEXT_PACKAGE);
+	plugin_key_group = plugin_set_key_group(geany_plugin, "extra_select", COUNT_KB, NULL);
 
 	item = gtk_menu_item_new_with_mnemonic(_("E_xtra Selection"));
 	main_menu_item = item;



--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).


More information about the Plugins-Commits mailing list