diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/ephy-window.c | 7 | ||||
-rw-r--r-- | src/prefs-dialog.c | 3 |
2 files changed, 0 insertions, 10 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c index 3f7efa02a..c64373378 100644 --- a/src/ephy-window.c +++ b/src/ephy-window.c @@ -1065,7 +1065,6 @@ update_popup_actions_visibility (EphyWindow *window, { GtkAction *action; GtkActionGroup *action_group; - gboolean inspector_enabled; action_group = window->priv->popups_action_group; @@ -1080,12 +1079,6 @@ update_popup_actions_visibility (EphyWindow *window, action = gtk_action_group_get_action (action_group, "OpenFrame"); gtk_action_set_visible (action, is_frame); - - inspector_enabled = g_settings_get_boolean - (EPHY_SETTINGS_MAIN, - EPHY_PREFS_ENABLE_WEB_INSPECTOR); - action = gtk_action_group_get_action (action_group, "InspectElement"); - gtk_action_set_visible (action, inspector_enabled); } static void diff --git a/src/prefs-dialog.c b/src/prefs-dialog.c index b1dcc7165..ce9466a08 100644 --- a/src/prefs-dialog.c +++ b/src/prefs-dialog.c @@ -1031,9 +1031,6 @@ static const PrefsDialogPreference preferences[] = { "automatic_downloads_checkbutton", "active", EPHY_PREFS_SCHEMA, EPHY_PREFS_AUTO_DOWNLOADS, G_SETTINGS_BIND_DEFAULT, NULL, NULL }, - { "web_inspector_checkbutton", "active", - EPHY_PREFS_SCHEMA, EPHY_PREFS_ENABLE_WEB_INSPECTOR, - G_SETTINGS_BIND_DEFAULT, NULL, NULL }, { "remember_passwords_checkbutton", "active", EPHY_PREFS_SCHEMA, EPHY_PREFS_REMEMBER_PASSWORDS, G_SETTINGS_BIND_DEFAULT, NULL, NULL }, |