Mercurial > pidgin.yaz
diff finch/gntblist.c @ 20625:54ff514fdd04
Pressing INSERT in the buddy list brings up the 'Add Buddy' dialog.
author | Sadrul Habib Chowdhury <imadil@gmail.com> |
---|---|
date | Sun, 23 Sep 2007 01:25:56 +0000 |
parents | c7b2c6ae3bea |
children | 3f9520e09805 |
line wrap: on
line diff
--- a/finch/gntblist.c Fri Sep 21 16:09:12 2007 +0000 +++ b/finch/gntblist.c Sun Sep 23 01:25:56 2007 +0000 @@ -1510,6 +1510,8 @@ } else if (strcmp(text, GNT_KEY_CTRL_O) == 0) { purple_prefs_set_bool(PREF_ROOT "/showoffline", !purple_prefs_get_bool(PREF_ROOT "/showoffline")); + } else if (strcmp(text, GNT_KEY_INS) == 0) { + purple_blist_request_add_buddy(NULL, NULL, NULL, NULL); } else if (!gnt_tree_is_searching(GNT_TREE(ggblist->tree))) { if (strcmp(text, "t") == 0) { finch_blist_toggle_tag_buddy(gnt_tree_get_selection_data(GNT_TREE(ggblist->tree)));