From: Christian Dywan Date: Mon, 19 Mar 2012 18:38:15 +0000 (+0100) Subject: Toggle sensitivity of Add Speed Dial/ Bookmark button X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=70a894a9fc622dd7d641ad8b94698cc92cd5099f;p=midori Toggle sensitivity of Add Speed Dial/ Bookmark button Rather than visibility. Fixes: https://bugs.launchpad.net/midori/+bug/957382 --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index 69d30ae9..9008f28e 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -302,8 +302,8 @@ _midori_browser_update_interface (MidoriBrowser* browser) _action_set_sensitive (browser, "Next", 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, "AddSpeedDial", !midori_view_is_blank (view)); + _action_set_sensitive (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));