]> spindle.queued.net Git - midori/commitdiff
Speed Dial shouldn't be bookmarkable
authorChristian Dywan <christian@twotoasts.de>
Tue, 13 Mar 2012 21:33:47 +0000 (22:33 +0100)
committerChristian Dywan <christian@twotoasts.de>
Tue, 13 Mar 2012 21:33:47 +0000 (22:33 +0100)
Fixes: https://bugs.launchpad.net/midori/+bug/954298
midori/midori-browser.c

index 27f4c3398f92c5a3e303808aa8227121a4588442..fa9add58e44bab40f87e7b432cbfb7ddca2015a1 100644 (file)
@@ -294,6 +294,7 @@ _midori_browser_update_interface (MidoriBrowser* browser)
         midori_view_get_next_page (view) != NULL);
 
     _action_set_visible (browser, "AddSpeedDial", !midori_view_is_blank (view));
+    _action_set_visible (browser, "BookmarkAdd", !midori_view_is_blank (view));
     _action_set_sensitive (browser, "SaveAs", midori_view_can_save (view));
     _action_set_sensitive (browser, "Print", midori_view_can_print (view));
     _action_set_sensitive (browser, "ZoomIn", midori_view_can_zoom_in (view));