From: Kaj-Michael Lang Date: Wed, 31 Oct 2007 13:11:20 +0000 (+0200) Subject: Clear progress on GPS disconnect X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2bc7e82f84e98b184c57ce42c4dc6a6aaffea691;p=mapper Clear progress on GPS disconnect --- diff --git a/src/gps-conn.c b/src/gps-conn.c index 34865ae..b197eee 100644 --- a/src/gps-conn.c +++ b/src/gps-conn.c @@ -44,6 +44,10 @@ switch (_conn_state = new_conn_state) { gtk_widget_destroy(fix_banner); fix_banner=NULL; } +#ifndef WITH_HILDON + gtk_progress_bar_set_text(_progress_item, ""); + gtk_progress_bar_set_fraction(_progress_item, 0.0); +#endif break; case RCVR_DOWN: if (fix_banner) {