]> www.fi.muni.cz Git - evince.git/commitdiff
Hide the progress label when finished; bug #307697.
authorChristian Persch <chpe@cvs.gnome.org>
Wed, 15 Jun 2005 16:20:57 +0000 (16:20 +0000)
committerChristian Persch <chpe@src.gnome.org>
Wed, 15 Jun 2005 16:20:57 +0000 (16:20 +0000)
2005-06-15  Christian Persch  <chpe@cvs.gnome.org>

* shell/ev-properties.c: (update_progress_label):

Hide the progress label when finished; bug #307697.

ChangeLog
shell/ev-properties.c

index dde3ccc795dfef15b46de790ff4c0c2d7efdb2b4..b88960cdd7d60ca586f5257655cfb8fa1828981e 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2005-06-15  Christian Persch  <chpe@cvs.gnome.org>
+
+       * shell/ev-properties.c: (update_progress_label):
+
+       Hide the progress label when finished; bug #307697.
+
 2005-06-15  Marco Pesenti Gritti <mpg@redhat.com>
 
        * pdf/ev-poppler.cc:
index 15e5ab1f250c0f7e0a92a90ffebbd56506beb8de..daf90b1e1140202f9d0d224acb91d15800aaed8e 100644 (file)
@@ -191,8 +191,9 @@ update_progress_label (GtkWidget *label, double progress)
                                                 (int) (progress * 100));
                gtk_label_set_text (GTK_LABEL (label), progress_text);
                g_free (progress_text);
+               gtk_widget_show (label);
        } else {
-               gtk_label_set_text (GTK_LABEL (label), "");
+               gtk_widget_hide (label);
        }
 }