From bd5740c79b6f56d26d6b8f105e8bd63b3961bd3c Mon Sep 17 00:00:00 2001 From: Christian Persch Date: Wed, 15 Jun 2005 16:20:57 +0000 Subject: [PATCH] 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. --- ChangeLog | 6 ++++++ shell/ev-properties.c | 3 ++- 2 files changed, 8 insertions(+), 1 deletion(-) 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); } } -- 2.43.5