| 3387 |
3387 |
| 3388 box = gtk_gaim_status_box_new_with_account(account); |
3388 box = gtk_gaim_status_box_new_with_account(account); |
| 3389 gtkblist->statusboxes = g_list_append(gtkblist->statusboxes, box); |
3389 gtkblist->statusboxes = g_list_append(gtkblist->statusboxes, box); |
| 3390 gtk_box_pack_start(GTK_BOX(gtkblist->statusboxbox), box, FALSE, TRUE, 0); |
3390 gtk_box_pack_start(GTK_BOX(gtkblist->statusboxbox), box, FALSE, TRUE, 0); |
| 3391 gtk_widget_show(box); |
3391 gtk_widget_show(box); |
| |
3392 |
| |
3393 update_menu_bar(gtkblist); |
| 3392 } |
3394 } |
| 3393 |
3395 |
| 3394 static void account_disabled(GaimAccount *account, GaimGtkBuddyList *gtkblist) |
3396 static void account_disabled(GaimAccount *account, GaimGtkBuddyList *gtkblist) |
| 3395 { |
3397 { |
| 3396 GList *iter; |
3398 GList *iter; |
| 3409 gtkblist->statusboxes = g_list_remove_link(gtkblist->statusboxes, iter); |
3411 gtkblist->statusboxes = g_list_remove_link(gtkblist->statusboxes, iter); |
| 3410 gtk_widget_destroy(box); |
3412 gtk_widget_destroy(box); |
| 3411 break; |
3413 break; |
| 3412 } |
3414 } |
| 3413 } |
3415 } |
| |
3416 |
| |
3417 update_menu_bar(gtkblist); |
| 3414 } |
3418 } |
| 3415 |
3419 |
| 3416 static gboolean |
3420 static gboolean |
| 3417 pane_position_cb(GtkPaned *paned, GParamSpec *param_spec, gpointer data) |
3421 pane_position_cb(GtkPaned *paned, GParamSpec *param_spec, gpointer data) |
| 3418 { |
3422 { |