Mercurial > pidgin.yaz
diff src/gtkconn.c @ 8014:c052eccc10ee
[gaim-migrate @ 8694]
another connection cancelling patch from blino
committer: Tailor Script <tailor@pidgin.im>
author | Nathan Walp <nwalp@pidgin.im> |
---|---|
date | Mon, 05 Jan 2004 20:51:37 +0000 |
parents | 4d4438f6ddce |
children | fa6395637e2c |
line wrap: on
line diff
--- a/src/gtkconn.c Mon Jan 05 19:58:54 2004 +0000 +++ b/src/gtkconn.c Mon Jan 05 20:51:37 2004 +0000 @@ -52,10 +52,14 @@ static void kill_meter(struct signon_meter *meter, const char *text) { + if(!meter->progress) + return; + gtk_widget_set_sensitive(meter->button, FALSE); gtk_progress_bar_set_fraction(GTK_PROGRESS_BAR(meter->progress), 1); gtk_label_set_text(GTK_LABEL(meter->status), text); meter_win->active_count--; + meter->progress = NULL; if (meter_win->active_count == 0) { gtk_widget_destroy(meter_win->window);