[Xfce4-commits] <midori:master> Toggle sensitivity of Add Speed Dial/ Bookmark button
Christian Dywan
noreply at xfce.org
Mon Mar 19 19:40:01 CET 2012
Updating branch refs/heads/master
to 70a894a9fc622dd7d641ad8b94698cc92cd5099f (commit)
from 0b16c9c95ce38d6f7c987f0ccde98bc7c3da5b6a (commit)
commit 70a894a9fc622dd7d641ad8b94698cc92cd5099f
Author: Christian Dywan <christian at twotoasts.de>
Date: Mon Mar 19 19:38:15 2012 +0100
Toggle sensitivity of Add Speed Dial/ Bookmark button
Rather than visibility.
Fixes: https://bugs.launchpad.net/midori/+bug/957382
midori/midori-browser.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/midori/midori-browser.c b/midori/midori-browser.c
index 69d30ae..9008f28 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));
More information about the Xfce4-commits
mailing list