diff options
author | Xan Lopez <xan@gnome.org> | 2010-10-24 19:11:21 +0800 |
---|---|---|
committer | Xan Lopez <xan@gnome.org> | 2010-10-24 19:12:27 +0800 |
commit | 107681ebb16674e0cbac5d28966825ff1b05d609 (patch) | |
tree | acec264883e966a4311fc301b7d9c9d2bb29f3cd /src | |
parent | c255df464cf44e9687f80c5845e5f31a500f7084 (diff) | |
download | gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar.gz gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar.bz2 gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar.lz gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar.xz gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar.zst gsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.zip |
Always enable Web Inspector
I don't think it makes any sense to make this optional, much less to
have a UI preference for it.
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 }, |