Mon, 28 Nov 2005 04:16:05 +0000
[gaim-migrate @ 14546]
sadrual writes:
This makes sure the pa-statusboxes starts in "Offline"
when "-n" flag is used to start gaim.
| src/gtkstatusbox.c | file | annotate | diff | comparison | revisions |
--- a/src/gtkstatusbox.c Mon Nov 28 01:59:29 2005 +0000 +++ b/src/gtkstatusbox.c Mon Nov 28 04:16:05 2005 +0000 @@ -457,7 +457,12 @@ current_status_pref_changed_cb(const char *name, GaimPrefType type, gpointer val, gpointer data) { - update_to_reflect_current_status(data); + GtkGaimStatusBox *box = data; + if (box->account) + update_to_reflect_account_status(box, box->account, + gaim_account_get_active_status(box->account)); + else + update_to_reflect_current_status(box); } static void status_box_clicked_cb(GtkWidget *w, GdkEventButton *event, GtkGaimStatusBox *box)