diff src/prpl.c @ 2204:5014b802eb41

[gaim-migrate @ 2214] if you load a protocol for an unknown account or unload one, update the account editor. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 31 Aug 2001 18:09:27 +0000
parents 657dbe515608
children 14e8978f86bb
line wrap: on
line diff
--- a/src/prpl.c	Fri Aug 31 17:09:24 2001 +0000
+++ b/src/prpl.c	Fri Aug 31 18:09:27 2001 +0000
@@ -84,6 +84,7 @@
 	protocols = g_slist_insert_sorted(protocols, p, (GCompareFunc)proto_compare);
 	if (regdialog)
 		gtk_widget_destroy(regdialog);
+	regenerate_user_list();
 }
 
 void unload_protocol(struct prpl *p)
@@ -105,6 +106,7 @@
 	}
 	protocols = g_slist_remove(protocols, p);
 	g_free(p);
+	regenerate_user_list();
 }
 
 STATIC_PROTO_INIT