Mercurial > pidgin
changeset 12244:65477e67a712
[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 <tailor@pidgin.im>
author | Tim Ringenbach <marv@pidgin.im> |
---|---|
date | Mon, 28 Nov 2005 04:16:05 +0000 |
parents | d3cb077caf3e |
children | 465ddcb3e9e8 |
files | src/gtkstatusbox.c |
diffstat | 1 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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)