[frogr] Ensure the progress dialog is shown when needed



commit 7e00b6ce57f3764c21ace2933dc25c3c69e2bf63
Author: Mario Sanchez Prada <msanchez igalia com>
Date:   Thu Jan 20 18:22:18 2011 +0100

    Ensure the progress dialog is shown when needed

 src/frogr-main-view.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/src/frogr-main-view.c b/src/frogr-main-view.c
index 396c507..a09f1a5 100644
--- a/src/frogr-main-view.c
+++ b/src/frogr-main-view.c
@@ -1576,6 +1576,8 @@ frogr_main_view_set_progress_status_text (FrogrMainView *self, const gchar *text
   /* Set superimposed text, if specified */
   if (text != NULL)
     gtk_progress_bar_set_text (GTK_PROGRESS_BAR (priv->progress_bar), text);
+
+  gtk_widget_show_all (GTK_WIDGET (priv->progress_dialog));
 }
 
 void
@@ -1592,6 +1594,8 @@ frogr_main_view_set_progress_status_fraction (FrogrMainView *self, double fracti
     fraction = 1.0;
 
   gtk_progress_bar_set_fraction (GTK_PROGRESS_BAR (priv->progress_bar), fraction);
+
+  gtk_widget_show_all (GTK_WIDGET (priv->progress_dialog));
 }
 
 void



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]