Revision: 1629 http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1629&view=re... Author: frlan Date: 2010-10-08 20:20:19 +0000 (Fri, 08 Oct 2010)
Log Message: ----------- Treebrowser: Replace deprecated PLUGIN_KEY_GROUP macro
Modified Paths: -------------- trunk/geany-plugins/treebrowser/ChangeLog trunk/geany-plugins/treebrowser/src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/ChangeLog =================================================================== --- trunk/geany-plugins/treebrowser/ChangeLog 2010-10-08 15:19:36 UTC (rev 1628) +++ trunk/geany-plugins/treebrowser/ChangeLog 2010-10-08 20:20:19 UTC (rev 1629) @@ -1,4 +1,3 @@ - +---------------------------+ | KNOWN BUGS | +---------------------------+ @@ -38,6 +37,14 @@ | Development release ChangeLog | +-------------------------------+
+2010-10-08 Frank Lanitz <frank(at)frank(dot)uvena(dot)de> + + * src/treebrowser.c + Replace deprecated PLUGIN_KEY_GROUP macro. + + + + 05-10-2010 Adrian Dimitrov dimitrov.adrian@gmail.com
* src/treebrowser.c
Modified: trunk/geany-plugins/treebrowser/src/treebrowser.c =================================================================== --- trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-10-08 15:19:36 UTC (rev 1628) +++ trunk/geany-plugins/treebrowser/src/treebrowser.c 2010-10-08 20:20:19 UTC (rev 1629) @@ -90,9 +90,7 @@ KB_COUNT };
-PLUGIN_KEY_GROUP(file_browser, KB_COUNT)
- /* ------------------ * PLUGIN INFO * ------------------ */ @@ -1623,6 +1621,8 @@ void plugin_init(GeanyData *data) { + GeanyKeyGroup *key_group; + CONFIG_FILE = g_strconcat(geany->app->configdir, G_DIR_SEPARATOR_S, "plugins", G_DIR_SEPARATOR_S, "treebrowser", G_DIR_SEPARATOR_S, "treebrowser.conf", NULL);
@@ -1633,13 +1633,15 @@ treebrowser_chroot(get_default_dir());
/* setup keybindings */ - keybindings_set_item(plugin_key_group, KB_FOCUS_FILE_LIST, kb_activate, + key_group = plugin_set_key_group(geany_plugin, "file_browser", KB_COUNT, NULL); + + keybindings_set_item(key_group, KB_FOCUS_FILE_LIST, kb_activate, 0, 0, "focus_file_list", _("Focus File List"), NULL); - keybindings_set_item(plugin_key_group, KB_FOCUS_PATH_ENTRY, kb_activate, + keybindings_set_item(key_group, KB_FOCUS_PATH_ENTRY, kb_activate, 0, 0, "focus_path_entry", _("Focus Path Entry"), NULL); - keybindings_set_item(plugin_key_group, KB_RENAME_OBJECT, kb_activate, + keybindings_set_item(key_group, KB_RENAME_OBJECT, kb_activate, 0, 0, "rename_object", _("Rename Object"), NULL); - keybindings_set_item(plugin_key_group, KB_REFRESH, kb_activate, + keybindings_set_item(key_group, KB_REFRESH, kb_activate, 0, 0, "rename_refresh", _("Refresh"), NULL);
plugin_signal_connect(geany_plugin, NULL, "document-activate", TRUE,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.