# HG changeset patch # User Tim Ringenbach # Date 1133151365 0 # Node ID 65477e67a7121ce916167aa5c6209a15bfe6efea # Parent d3cb077caf3e1183781a95a7ed904c5180627ea3 [gaim-migrate @ 14546] sadrual writes: This makes sure the pa-statusboxes starts in "Offline" when "-n" flag is used to start gaim. committer: Tailor Script diff -r d3cb077caf3e -r 65477e67a712 src/gtkstatusbox.c --- 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)