Mercurial > pidgin
changeset 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 | 03a689c3b3b7 |
children | 5f86d21b6232 |
files | src/gtkconn.c |
diffstat | 1 files changed, 4 insertions(+), 0 deletions(-) [+] |
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);