SF.net SVN: geany-plugins:[1047] trunk/geany-plugins/addons

eht16 at users.sourceforge.net eht16 at xxxxx
Sun Nov 1 16:56:22 UTC 2009


Revision: 1047
          http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1047&view=rev
Author:   eht16
Date:     2009-11-01 16:56:22 +0000 (Sun, 01 Nov 2009)

Log Message:
-----------
Fix setting up keybindings.

Modified Paths:
--------------
    trunk/geany-plugins/addons/ChangeLog
    trunk/geany-plugins/addons/src/addons.c

Modified: trunk/geany-plugins/addons/ChangeLog
===================================================================
--- trunk/geany-plugins/addons/ChangeLog	2009-10-30 12:34:41 UTC (rev 1046)
+++ trunk/geany-plugins/addons/ChangeLog	2009-11-01 16:56:22 UTC (rev 1047)
@@ -1,3 +1,9 @@
+2009-11-01  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
+
+ * src/addons.c:
+   Fix setting up keybindings.
+
+
 2009-10-26  Enrico Tröger  <enrico(dot)troeger(at)uvena(dot)de>
 
  * src/addons.c, src/bookmarklist.c, src/bookmarklist.h:

Modified: trunk/geany-plugins/addons/src/addons.c
===================================================================
--- trunk/geany-plugins/addons/src/addons.c	2009-10-30 12:34:41 UTC (rev 1046)
+++ trunk/geany-plugins/addons/src/addons.c	2009-11-01 16:56:22 UTC (rev 1047)
@@ -49,7 +49,6 @@
 	KB_COUNT
 };
 
-PLUGIN_KEY_GROUP(addons, KB_COUNT)
 
 
 typedef struct
@@ -143,6 +142,7 @@
 void plugin_init(GeanyData *data)
 {
 	GKeyFile *config = g_key_file_new();
+	GeanyKeyGroup *key_group;
 
 	ao_info = g_new0(AddonsInfo, 1);
 
@@ -172,7 +172,8 @@
 	tasks_set_enable(ao_info->enable_tasks);
 
 	/* setup keybindings */
-	keybindings_set_item(plugin_key_group, KB_FOCUS_BOOKMARK_LIST, kb_bmlist_activate,
+	key_group = plugin_set_key_group(geany_plugin, "addons", KB_COUNT, NULL);
+	keybindings_set_item(key_group, KB_FOCUS_BOOKMARK_LIST, kb_bmlist_activate,
 		0, 0, "focus_bookmark_list", _("Focus Bookmark List"), NULL);
 }
 


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.



More information about the Plugins-Commits mailing list