Don't show the progressbar if the location shows progress
This commit is contained in:
parent
89698772bb
commit
81d67d3c2e
1 changed files with 2 additions and 1 deletions
|
@ -287,7 +287,8 @@ _midori_browser_update_interface (MidoriBrowser* browser)
|
||||||
g_object_set (action,
|
g_object_set (action,
|
||||||
"stock-id", GTK_STOCK_STOP,
|
"stock-id", GTK_STOCK_STOP,
|
||||||
"tooltip", _("Stop loading the current page"), NULL);
|
"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) &&
|
if (!GTK_WIDGET_VISIBLE (browser->statusbar) &&
|
||||||
!GTK_WIDGET_VISIBLE (browser->navigationbar) &&
|
!GTK_WIDGET_VISIBLE (browser->navigationbar) &&
|
||||||
browser->progress_in_location)
|
browser->progress_in_location)
|
||||||
|
|
Loading…
Reference in a new issue