changeset 24434:8bde168ddfa9

Make double-clicking a saved status activate it and close the window. This reduces the number of actions needed to activate a non-recent status from five (statusbox, saved, choose, use, close) to three (statusbox, saved, choose) at the cost of raising the number of actions needed to edit a status from three to four. Even if you edit statuses as often as you activate them, that's still a net reduction in actions. :-)
author Will Thompson <will.thompson@collabora.co.uk>
date Fri, 14 Nov 2008 20:46:20 +0000
parents 40141d227b27
children 53e7a4b34028
files pidgin/gtksavedstatuses.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/pidgin/gtksavedstatuses.c	Fri Nov 14 20:13:22 2008 +0000
+++ b/pidgin/gtksavedstatuses.c	Fri Nov 14 20:46:20 2008 +0000
@@ -475,7 +475,8 @@
 static void
 savedstatus_activated_cb(GtkTreeView *view, GtkTreePath *path, GtkTreeViewColumn *column, StatusWindow *dialog)
 {
-	status_window_modify_cb(NULL, dialog);
+	status_window_use_cb(NULL, dialog);
+	status_window_close_cb(NULL, dialog);
 }
 
 static void