changeset 3378:8c394e9f0dfb

[gaim-migrate @ 3397] I changed my mind on deryni's patch for now. committer: Tailor Script <tailor@pidgin.im>
author Sean Egan <seanegan@gmail.com>
date Mon, 05 Aug 2002 08:47:52 +0000
parents 783e982a56da
children b48b73ef172b
files src/multi.c
diffstat 1 files changed, 4 insertions(+), 10 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Mon Aug 05 08:04:39 2002 +0000
+++ b/src/multi.c	Mon Aug 05 08:47:52 2002 +0000
@@ -1075,7 +1075,6 @@
 
 struct signon_meter {
 	struct gaim_connection *gc;
-	GtkWidget *label;
 	GtkWidget *button;
 	GtkWidget *progress;
 	GtkWidget *status;
@@ -1112,12 +1111,6 @@
 	gtk_progress_bar_update(GTK_PROGRESS_BAR(meter->progress), 1);
 	gtk_statusbar_pop(GTK_STATUSBAR(meter->status), 1);
 	gtk_statusbar_push(GTK_STATUSBAR(meter->status), 1, "Done.");
-
-	gtk_widget_hide(meter->label);
-	gtk_widget_hide(meter->button);
-	gtk_widget_hide(meter->progress);
-	gtk_widget_hide(meter->status);
-
 	meter_win->active_count--;
 	if (meter_win->active_count == 0) {
 		gtk_widget_destroy(meter_win->window);
@@ -1241,6 +1234,7 @@
 static struct signon_meter *register_meter(struct gaim_connection *gc, GtkWidget *widget, GtkTable *table, gint *rows)
 {
 	GtkWidget *graphic;
+	GtkWidget *label;
 	GtkWidget *nest_vbox;
 	GString *name_to_print;
 	struct signon_meter *meter;
@@ -1257,8 +1251,8 @@
 	nest_vbox = gtk_vbox_new (FALSE, 0);
 	
 	name_to_print = g_string_prepend(name_to_print, "Signon: ");
-	meter->label = gtk_label_new (name_to_print->str);
-	gtk_misc_set_alignment (GTK_MISC (meter->label), 0, 0.5);
+	label = gtk_label_new (name_to_print->str);
+	gtk_misc_set_alignment (GTK_MISC (label), 0, 0.5);
 		
 	meter->status = gtk_statusbar_new();
 	gtk_widget_set_usize(meter->status, 250, 0);
@@ -1270,7 +1264,7 @@
 		
 	gtk_table_attach (GTK_TABLE (table), graphic, 0, 1, *rows, *rows+1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0);
 	gtk_table_attach (GTK_TABLE (table), nest_vbox, 1, 2, *rows, *rows+1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0);
-		gtk_box_pack_start (GTK_BOX (nest_vbox), GTK_WIDGET (meter->label), FALSE, FALSE, 0);
+		gtk_box_pack_start (GTK_BOX (nest_vbox), GTK_WIDGET (label), FALSE, FALSE, 0);
 		gtk_box_pack_start (GTK_BOX (nest_vbox), GTK_WIDGET (meter->status), FALSE, FALSE, 0);
 	gtk_table_attach (GTK_TABLE (table), meter->progress, 2, 3, *rows, *rows+1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0);
 	gtk_table_attach (GTK_TABLE (table), meter->button, 3, 4, *rows, *rows+1, (GtkAttachOptions) (GTK_FILL), (GtkAttachOptions) (0), 0, 0);