im.pidgin.pidgin.next.minor: de8f8ba0daf147f556cb44ff0db07272edc433c5

sadrul at pidgin.im sadrul at pidgin.im
Tue Oct 30 06:25:34 EDT 2007


-----------------------------------------------------------------
Revision: de8f8ba0daf147f556cb44ff0db07272edc433c5
Ancestor: fabd176a50262a8a7734c281931cebf0ee2c3912
Author: sadrul at pidgin.im
Date: 2007-10-30T10:24:16
Branch: im.pidgin.pidgin.next.minor

Modified files:
        finch/gntplugin.c

ChangeLog: 

Pressing 'insert' in the plugins window triggers the 'Install Plugin..' button.

-------------- next part --------------
============================================================
--- finch/gntplugin.c	9af045fe8bfd3f75c85bb6346a006823ed947f58
+++ finch/gntplugin.c	eacff967e43565c0d7e945c18547c47430f7fd53
@@ -29,6 +29,7 @@
 #include <gntlabel.h>
 #include <gntline.h>
 #include <gnttree.h>
+#include <gntutils.h>
 
 #include "finch.h"
 
@@ -399,6 +400,7 @@ void finch_plugins_show_all()
 
 	button = gnt_button_new(_("Install Plugin..."));
 	gnt_box_add_widget(GNT_BOX(box), button);
+	gnt_util_set_trigger_widget(GNT_WIDGET(tree), GNT_KEY_INS, button);
 	g_signal_connect(G_OBJECT(button), "activate", G_CALLBACK(install_plugin_cb), NULL);
 
 	button = gnt_button_new(_("Close"));


More information about the Commits mailing list