]> err.no Git - mapper/commitdiff
Clear progress on GPS disconnect
authorKaj-Michael Lang <milang@onion.tal.org>
Wed, 31 Oct 2007 13:11:20 +0000 (15:11 +0200)
committerKaj-Michael Lang <milang@onion.tal.org>
Wed, 31 Oct 2007 13:11:20 +0000 (15:11 +0200)
src/gps-conn.c

index 34865ae31a1071448b267a3bd28d96d0aee872b4..b197eee0fa64fd21c64b2cb011e5427353b10a99 100644 (file)
@@ -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) {