SF.net SVN: geany-plugins:[1066] trunk/geany-plugins/addons/src/addons.c
eht16 at users.sourceforge.net
eht16 at xxxxx
Sat Nov 28 17:01:43 UTC 2009
Revision: 1066
http://geany-plugins.svn.sourceforge.net/geany-plugins/?rev=1066&view=rev
Author: eht16
Date: 2009-11-28 17:01:43 +0000 (Sat, 28 Nov 2009)
Log Message:
-----------
Add a keybinding to update the Tasks list
Modified Paths:
--------------
trunk/geany-plugins/addons/src/addons.c
Modified: trunk/geany-plugins/addons/src/addons.c
===================================================================
--- trunk/geany-plugins/addons/src/addons.c 2009-11-28 16:54:23 UTC (rev 1065)
+++ trunk/geany-plugins/addons/src/addons.c 2009-11-28 17:01:43 UTC (rev 1066)
@@ -48,6 +48,7 @@
{
KB_FOCUS_BOOKMARK_LIST,
KB_FOCUS_TASKS,
+ KB_UPDATE_TASKS,
KB_COUNT
};
@@ -112,6 +113,12 @@
}
+static void kb_tasks_update(guint key_id)
+{
+ ao_tasks_update(ao_info->tasks, NULL);
+}
+
+
gboolean ao_editor_notify_cb(GObject *object, GeanyEditor *editor,
SCNotification *nt, gpointer data)
{
@@ -214,6 +221,8 @@
0, 0, "focus_bookmark_list", _("Focus Bookmark List"), NULL);
keybindings_set_item(key_group, KB_FOCUS_TASKS, kb_tasks_activate,
0, 0, "focus_tasks", _("Focus Tasks List"), NULL);
+ keybindings_set_item(key_group, KB_UPDATE_TASKS, kb_tasks_update,
+ 0, 0, "update_tasks", _("Update Tasks 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