changeset 5883:f5b0c6073264

[gaim-migrate @ 6315] Removed the last bit of actual UI from connection.c. It still includes ui.h, but that's because of the stupid away stuff. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sun, 15 Jun 2003 06:14:47 +0000
parents ea6dfabdf60f
children d188b000e892
files src/connection.c src/gtkconn.c
diffstat 2 files changed, 12 insertions(+), 13 deletions(-) [+]
line wrap: on
line diff
--- a/src/connection.c	Sun Jun 15 06:03:13 2003 +0000
+++ b/src/connection.c	Sun Jun 15 06:14:47 2003 +0000
@@ -153,22 +153,9 @@
 
 		gaim_request_close_with_handle(gc);
 		gaim_notify_close_with_handle(gc);
-
-		/* XXX UI stuff! */
-		update_privacy_connections();
 	}
 
 	gaim_connection_destroy(gc);
-
-	/* XXX More UI stuff! */
-	if (connections != NULL)
-		return;
-
-	/* XXX destroy_all_dialogs(); */
-
-	gaim_blist_destroy();
-
-	/* XXX show_login(); */
 }
 
 /*
--- a/src/gtkconn.c	Sun Jun 15 06:03:13 2003 +0000
+++ b/src/gtkconn.c	Sun Jun 15 06:14:47 2003 +0000
@@ -225,8 +225,20 @@
 		const char *reason)
 {
 	struct signon_meter *meter = find_signon_meter(gc);
+
+	update_privacy_connections();
+
 	if(meter)
 		kill_meter(meter, _("Done."));
+
+	if (gaim_connections_get_all() != NULL)
+		return;
+
+	destroy_all_dialogs();
+
+	gaim_blist_destroy();
+
+	show_login();
 }
 
 static void gaim_gtk_connection_notice(GaimConnection *gc,