comparison src/gtkstatusbox.c @ 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 f28e51bf9be8
children 0eed625872f7
comparison
equal deleted inserted replaced
12243:d3cb077caf3e 12244:65477e67a712
455 455
456 static void 456 static void
457 current_status_pref_changed_cb(const char *name, GaimPrefType type, 457 current_status_pref_changed_cb(const char *name, GaimPrefType type,
458 gpointer val, gpointer data) 458 gpointer val, gpointer data)
459 { 459 {
460 update_to_reflect_current_status(data); 460 GtkGaimStatusBox *box = data;
461 if (box->account)
462 update_to_reflect_account_status(box, box->account,
463 gaim_account_get_active_status(box->account));
464 else
465 update_to_reflect_current_status(box);
461 } 466 }
462 467
463 static void status_box_clicked_cb(GtkWidget *w, GdkEventButton *event, GtkGaimStatusBox *box) 468 static void status_box_clicked_cb(GtkWidget *w, GdkEventButton *event, GtkGaimStatusBox *box)
464 { 469 {
465 if (box->imhtml_visible) 470 if (box->imhtml_visible)