Toggle sensitivity of Add Speed Dial/ Bookmark button
Rather than visibility. Fixes: https://bugs.launchpad.net/midori/+bug/957382
This commit is contained in:
parent
0b16c9c95c
commit
70a894a9fc
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue