]> spindle.queued.net Git - midori/commitdiff
Don't enforce visibility of navigationbar while loading
authorPeter Hatina <phatina@redhat.com>
Wed, 9 Nov 2011 22:55:17 +0000 (23:55 +0100)
committerChristian Dywan <christian@twotoasts.de>
Wed, 9 Nov 2011 22:58:00 +0000 (23:58 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/810838
midori/midori-browser.c

index d70753953d43854e158bd50fc12d1105fc9f4137..e8633142cf35ecb94b137b20572d0898e0cc0e9f 100644 (file)
@@ -327,9 +327,6 @@ _midori_browser_update_interface (MidoriBrowser* browser)
                       "stock-id", GTK_STOCK_REFRESH,
                       "tooltip", _("Reload the current page"),
                       "sensitive", can_reload, NULL);
-        if (!browser->show_navigationbar)
-            gtk_widget_hide (browser->navigationbar);
-
         katze_item_set_meta_integer (midori_view_get_proxy_item (view), "dont-write-history", 0);
     }
     else
@@ -337,8 +334,6 @@ _midori_browser_update_interface (MidoriBrowser* browser)
         g_object_set (action,
                       "stock-id", GTK_STOCK_STOP,
                       "tooltip", _("Stop loading the current page"), NULL);
-        if (!gtk_widget_get_visible (browser->navigationbar))
-            gtk_widget_show (browser->navigationbar);
     }
 
     #if HAVE_HILDON