changeset 12368:a4bb82fac67c

[gaim-migrate @ 14672] sf patch #1373876, from Sadrul Habib Chowdhury "If you disable an offline account, then it doesn't go away from the 'Accounts' menu. This happens because the menu is updated only on sign-on/off events. It should also update on account-disabled/enabled events." committer: Tailor Script <tailor@pidgin.im>
author Mark Doliner <mark@kingant.net>
date Tue, 06 Dec 2005 00:48:45 +0000
parents bfc0a52f0cf4
children a1c4d7daabe7
files src/gtkblist.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/gtkblist.c	Tue Dec 06 00:09:03 2005 +0000
+++ b/src/gtkblist.c	Tue Dec 06 00:48:45 2005 +0000
@@ -3389,6 +3389,8 @@
 	gtkblist->statusboxes = g_list_append(gtkblist->statusboxes, box);
 	gtk_box_pack_start(GTK_BOX(gtkblist->statusboxbox), box, FALSE, TRUE, 0);
 	gtk_widget_show(box);
+
+	update_menu_bar(gtkblist);
 }
 
 static void account_disabled(GaimAccount *account, GaimGtkBuddyList *gtkblist)
@@ -3411,6 +3413,8 @@
 			break;
 		}
 	}
+
+	update_menu_bar(gtkblist);
 }
 
 static gboolean