diff src/buddy.c @ 1124:a70d5200edde

[gaim-migrate @ 1134] starting to put the permit/deny stuff back. i think this is a suitable beginning for the UI. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Wed, 22 Nov 2000 12:58:27 +0000
parents f3e0f41beddb
children 5b5d03dfa48a
line wrap: on
line diff
--- a/src/buddy.c	Wed Nov 22 10:39:53 2000 +0000
+++ b/src/buddy.c	Wed Nov 22 12:58:27 2000 +0000
@@ -286,6 +286,7 @@
 	if (connections)
 		set_user_state(online);
 #endif
+	update_connection_dependent_prefs();
 
 	if (connections) return;
 
@@ -1979,7 +1980,9 @@
 		gtk_menu_append(GTK_MENU(menu), menuitem);
 
 	if (sf)
-		gtk_signal_connect(GTK_OBJECT(menuitem), "activate", sf, NULL);
+		/* passing 1 is necessary so if we sign off closing the account editor doesn't
+		 * exit */
+		gtk_signal_connect(GTK_OBJECT(menuitem), "activate", sf, (void *)1);
 	return menuitem;
 }