# HG changeset patch # User Marcus Lundblad # Date 1276202108 0 # Node ID fc8f98d1e81f28eb20421f02caa07d775ab777ec # Parent 8cb39e235f3906a3ff407cb69773783a29157ae6# Parent 2a51b2c643d28d00844e618ac8b762b333d49509 merge of '2e94598029dc6350d656fd335ad83738ff0c8e29' and '5e3707fd727a9e7f1d26a84dbf06be284072fd1f' diff -r 8cb39e235f39 -r fc8f98d1e81f ChangeLog --- a/ChangeLog Thu Jun 10 19:54:17 2010 +0000 +++ b/ChangeLog Thu Jun 10 20:35:08 2010 +0000 @@ -7,6 +7,10 @@ Pidgin: * Re-focus the input area after clicking the attention toolbar button. + Finch: + * Rebindable suggest-next-page and suggest-prev-page actions for + textboxes (GntEntry) to scroll through list of suggestions. + version 2.7.1 (05/29/2010): General: * Build fixes on OpenSolaris. (Brian Lu) diff -r 8cb39e235f39 -r fc8f98d1e81f doc/finch.1.in --- a/doc/finch.1.in Thu Jun 10 19:54:17 2010 +0000 +++ b/doc/finch.1.in Thu Jun 10 20:35:08 2010 +0000 @@ -339,6 +339,10 @@ .br up = suggest-prev .br +page-down = suggest-next-page +.br +page-up = suggest-prev-page +.br c-w = delete-prev-word .br a-b = cursor-prev-word diff -r 8cb39e235f39 -r fc8f98d1e81f finch/libgnt/gntentry.c --- a/finch/libgnt/gntentry.c Thu Jun 10 19:54:17 2010 +0000 +++ b/finch/libgnt/gntentry.c Thu Jun 10 20:35:08 2010 +0000 @@ -579,6 +579,28 @@ } static gboolean +suggest_next_page(GntBindable *bind, GList *null) +{ + GntEntry *entry = GNT_ENTRY(bind); + if (entry->ddown) { + gnt_bindable_perform_action_named(GNT_BINDABLE(entry->ddown), "page-down", NULL); + return TRUE; + } + return FALSE; +} + +static gboolean +suggest_prev_page(GntBindable *bind, GList *null) +{ + GntEntry *entry = GNT_ENTRY(bind); + if (entry->ddown) { + gnt_bindable_perform_action_named(GNT_BINDABLE(entry->ddown), "page-up", NULL); + return TRUE; + } + return FALSE; +} + +static gboolean del_to_home(GntBindable *bind, GList *null) { GntEntry *entry = GNT_ENTRY(bind); @@ -986,6 +1008,10 @@ GNT_KEY_DOWN, NULL); gnt_bindable_class_register_action(bindable, "suggest-prev", suggest_prev, GNT_KEY_UP, NULL); + gnt_bindable_class_register_action(bindable, "suggest-next-page", suggest_next_page, + GNT_KEY_PGDOWN, NULL); + gnt_bindable_class_register_action(bindable, "suggest-prev-page", suggest_prev_page, + GNT_KEY_PGUP, NULL); gnt_bindable_class_register_action(bindable, "history-next", history_next, GNT_KEY_CTRL_DOWN, NULL); gnt_bindable_class_register_action(bindable, "history-prev", history_prev, diff -r 8cb39e235f39 -r fc8f98d1e81f pidgin/gtkblist.c --- a/pidgin/gtkblist.c Thu Jun 10 19:54:17 2010 +0000 +++ b/pidgin/gtkblist.c Thu Jun 10 20:35:08 2010 +0000 @@ -4590,7 +4590,7 @@ } static void -plugin_changed_cb(PurplePlugin *p, gpointer *data) +plugin_changed_cb(PurplePlugin *p, gpointer data) { pidgin_blist_update_plugin_actions(); }