[gedit] Show print progress when the operation starts, not with the dialog



commit 31f287101aab54eaae1cd34e5a5bf6dcb5d5f7a0
Author: Paolo Borelli <pborelli gnome org>
Date:   Thu Feb 20 15:35:54 2014 +0100

    Show print progress when the operation starts, not with the dialog

 gedit/gedit-tab.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/gedit/gedit-tab.c b/gedit/gedit-tab.c
index 90717a4..a439cee 100644
--- a/gedit/gedit-tab.c
+++ b/gedit/gedit-tab.c
@@ -2659,7 +2659,6 @@ gedit_tab_print_or_print_preview (GeditTab                *tab,
 
        view = gedit_tab_get_view (tab);
 
-
        tab->priv->print_job = gedit_print_job_new (view);
        g_object_add_weak_pointer (G_OBJECT (tab->priv->print_job),
                                   (gpointer *) &tab->priv->print_job);
@@ -2685,6 +2684,8 @@ gedit_tab_print_or_print_preview (GeditTab                *tab,
        }
        else
        {
+               /* hide until we start printing */
+               gtk_widget_hide (tab->priv->info_bar);
                gedit_tab_set_state (tab, GEDIT_TAB_STATE_PRINTING);
        }
 


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