From 2bc7e82f84e98b184c57ce42c4dc6a6aaffea691 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Wed, 31 Oct 2007 15:11:20 +0200 Subject: [PATCH] Clear progress on GPS disconnect --- src/gps-conn.c | 4 ++++ 1 file changed, 4 insertions(+) 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) { -- 2.39.5