From 81d67d3c2e64c7249537f0683a2204523bdbbe2b Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Sun, 12 Apr 2009 14:09:06 +0200 Subject: [PATCH] Don't show the progressbar if the location shows progress --- midori/midori-browser.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 8508bd2a..ff1c6c46 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -287,7 +287,8 @@ _midori_browser_update_interface (MidoriBrowser* browser) g_object_set (action, "stock-id", GTK_STOCK_STOP, "tooltip", _("Stop loading the current page"), NULL); - gtk_widget_show (browser->progressbar); + if (!browser->progress_in_location || !GTK_WIDGET_VISIBLE (browser->navigationbar)) + gtk_widget_show (browser->progressbar); if (!GTK_WIDGET_VISIBLE (browser->statusbar) && !GTK_WIDGET_VISIBLE (browser->navigationbar) && browser->progress_in_location)