From: Christian Persch Date: Wed, 15 Jun 2005 16:20:57 +0000 (+0000) Subject: Hide the progress label when finished; bug #307697. X-Git-Tag: EVINCE_0_3_3~248 X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=commitdiff_plain;h=bd5740c79b6f56d26d6b8f105e8bd63b3961bd3c;p=evince.git Hide the progress label when finished; bug #307697. 2005-06-15 Christian Persch * shell/ev-properties.c: (update_progress_label): Hide the progress label when finished; bug #307697. --- diff --git a/ChangeLog b/ChangeLog index dde3ccc7..b88960cd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2005-06-15 Christian Persch + + * shell/ev-properties.c: (update_progress_label): + + Hide the progress label when finished; bug #307697. + 2005-06-15 Marco Pesenti Gritti * pdf/ev-poppler.cc: diff --git a/shell/ev-properties.c b/shell/ev-properties.c index 15e5ab1f..daf90b1e 100644 --- a/shell/ev-properties.c +++ b/shell/ev-properties.c @@ -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); } }