diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2013-05-17 13:55:51 +0200 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2013-05-30 15:05:56 +0200 |
commit | f7dc44fa05157fa07f97192e21b5d4a7e0b55514 (patch) | |
tree | 4ae2e74961f6d72d55989f1374fbb1919a04e7c3 /sendto | |
parent | 3649b96822164d92f1b7029a046676ffb61051bb (diff) | |
download | gnome-bluetooth-f7dc44fa05157fa07f97192e21b5d4a7e0b55514.tar.gz |
sendto: clear the progress bar text when there's an error
https://bugzilla.gnome.org/show_bug.cgi?id=685717
Diffstat (limited to 'sendto')
-rw-r--r-- | sendto/main.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sendto/main.c b/sendto/main.c index b079fad2..1dd34344 100644 --- a/sendto/main.c +++ b/sendto/main.c @@ -120,6 +120,10 @@ handle_error (GError *error) gtk_label_set_markup (GTK_LABEL (label_status), message); g_free (message); + /* Clear the progress bar as it may be saying 'Connecting' or + * 'Sending file 1 of 1' which is not true. */ + gtk_progress_bar_set_text (GTK_PROGRESS_BAR (progress), ""); + gtk_dialog_set_response_sensitive (GTK_DIALOG (dialog), RESPONSE_RETRY, TRUE); } |