changeset 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 7d072354544a
children c905f5824422
files ChangeLog finch/gntblist.c
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Sep 21 16:09:12 2007 +0000
+++ b/ChangeLog	Sun Sep 23 01:25:56 2007 +0000
@@ -36,6 +36,10 @@
 	* You should no longer lose proxy settings when Pidgin is restarted.
 	* ICQ Birthday notifications are shown as buddy list emblems
 
+	Finch:
+	* Pressing 'Insert' in the buddylist will bring up the 'Add Buddy'
+	  dialog.
+
 Version 2.2.0 (09/13/2007):
 	http://developer.pidgin.im/query?status=closed&milestone=2.2.0
 
--- 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)));