From: Christian Dywan Date: Sun, 13 Mar 2011 21:15:14 +0000 (+0100) Subject: midori_browser_set_action_visible should change sensitivity X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a9872adf082756e9d5c744982ddc339f1bdda76b;p=midori midori_browser_set_action_visible should change sensitivity So in particular the panel is not only hidden from the menu but also inaccessible with the keyboard. --- diff --git a/midori/midori-browser.c b/midori/midori-browser.c index fc2f6ff2..10c12b12 100644 --- a/midori/midori-browser.c +++ b/midori/midori-browser.c @@ -6918,6 +6918,7 @@ midori_browser_set_action_visible (MidoriBrowser* browser, g_return_if_fail (name != NULL); _action_set_visible (browser, name, visible); + _action_set_sensitive (browser, name, visible); } /**