]> spindle.queued.net Git - midori/commitdiff
midori_browser_set_action_visible should change sensitivity
authorChristian Dywan <christian@twotoasts.de>
Sun, 13 Mar 2011 21:15:14 +0000 (22:15 +0100)
committerChristian Dywan <christian@twotoasts.de>
Sun, 13 Mar 2011 21:15:14 +0000 (22:15 +0100)
So in particular the panel is not only hidden from the menu
but also inaccessible with the keyboard.

midori/midori-browser.c

index fc2f6ff246ebe29edecf061ef1e789a77fe7d8a4..10c12b12ae8ac12a90c91d47650c5d5ed3b3107f 100644 (file)
@@ -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);
 }
 
 /**