# HG changeset patch # User Sadrul Habib Chowdhury # Date 1204908962 0 # Node ID d0675c9e0eaaaea78b58a83cf140daf4e0ac508c # Parent 7b4d39ffd563ec44c9deef34d866c18e4bc2b72f# Parent 77737a3526f1ebeb9c91b565c949b32b092374f8 merge of '1aa8a701c81527c4f91549a4546a54262fccce6d' and '91af0bfbaeb9c7439d242dc7783d2c5e10cf7572' diff -r 7b4d39ffd563 -r d0675c9e0eaa finch/libgnt/gntentry.c --- a/finch/libgnt/gntentry.c Fri Mar 07 04:01:20 2008 +0000 +++ b/finch/libgnt/gntentry.c Fri Mar 07 16:56:02 2008 +0000 @@ -419,7 +419,7 @@ } static gboolean -history_prev(GntBindable *bind, GList *null) +history_next(GntBindable *bind, GList *null) { GntEntry *entry = GNT_ENTRY(bind); if (entry->histlength && entry->history->prev) @@ -436,7 +436,7 @@ } static gboolean -history_next(GntBindable *bind, GList *null) +history_prev(GntBindable *bind, GList *null) { GntEntry *entry = GNT_ENTRY(bind); if (entry->histlength && entry->history->next) @@ -904,10 +904,12 @@ GNT_KEY_DOWN, NULL); gnt_bindable_class_register_action(bindable, "suggest-prev", suggest_prev, GNT_KEY_UP, NULL); - gnt_bindable_class_register_action(bindable, "history-prev", history_prev, + gnt_bindable_class_register_action(bindable, "history-next", history_next, GNT_KEY_CTRL_DOWN, NULL); - gnt_bindable_class_register_action(bindable, "history-next", history_next, + gnt_bindable_class_register_action(bindable, "history-prev", history_prev, GNT_KEY_CTRL_UP, NULL); + gnt_bindable_register_binding(bindable, "history-prev", GNT_KEY_CTRL_P, NULL); + gnt_bindable_register_binding(bindable, "history-next", GNT_KEY_CTRL_N, NULL); gnt_bindable_class_register_action(bindable, "clipboard-paste", clipboard_paste, GNT_KEY_CTRL_V, NULL);