diff options
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r-- | src/ephy-lockdown.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c index 5e447f770..526caa5c7 100644 --- a/src/ephy-lockdown.c +++ b/src/ephy-lockdown.c @@ -166,9 +166,11 @@ update_window (EphyWindow *window, action = gtk_action_group_get_action (action_group, "GoHistory"); ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled); action = gtk_action_group_get_action (special_toolbar_action_group, "NavigationBack"); + gtk_action_set_visible (action, !disabled); ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled); action = gtk_action_group_get_action (special_toolbar_action_group, "NavigationForward"); ephy_action_change_sensitivity_flags (action, LOCKDOWN_FLAG, disabled); + gtk_action_set_visible (action, !disabled); disabled = eel_gconf_get_boolean (CONF_LOCKDOWN_DISABLE_BOOKMARK_EDITING); action = gtk_action_group_get_action (action_group, "GoBookmarks"); |