Mercurial > pidgin.yaz
changeset 21276:5321f283365e
Pressing 'insert' in the plugins window triggers the 'Install Plugin..' button.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Tue, 30 Oct 2007 10:24:16 +0000 |
parents | 36377c25417d |
children | cd494bf77723 |
files | finch/gntplugin.c |
diffstat | 1 files changed, 2 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/finch/gntplugin.c Tue Oct 30 10:22:46 2007 +0000 +++ b/finch/gntplugin.c Tue Oct 30 10:24:16 2007 +0000 @@ -29,6 +29,7 @@ #include <gntlabel.h> #include <gntline.h> #include <gnttree.h> +#include <gntutils.h> #include "finch.h" @@ -399,6 +400,7 @@ 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"));