pidgin: ff3034eb: Make double-clicking a saved status acti...

resiak at pidgin.im resiak at pidgin.im
Fri Nov 14 15:50:26 EST 2008


-----------------------------------------------------------------
Revision: ff3034eb9dead184c9e7360113708f18d5364815
Ancestor: 504516e5634efdaf3d6dc0eaabd0506a67e68dd4
Author: resiak at pidgin.im
Date: 2008-11-14T20:46:20
Branch: im.pidgin.pidgin
URL: http://d.pidgin.im/viewmtn/revision/info/ff3034eb9dead184c9e7360113708f18d5364815

Modified files:
        pidgin/gtksavedstatuses.c

ChangeLog: 

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.  :-)

-------------- next part --------------
============================================================
--- pidgin/gtksavedstatuses.c	82e52249a0d0a71b17ba0cc1947c3a3241dc2119
+++ pidgin/gtksavedstatuses.c	cb238e46e88a621480e4da34786fcc400ef65a57
@@ -475,7 +475,8 @@ savedstatus_activated_cb(GtkTreeView *vi
 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


More information about the Commits mailing list