aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorXan Lopez <xan@gnome.org>2010-10-24 19:11:21 +0800
committerXan Lopez <xan@gnome.org>2010-10-24 19:12:27 +0800
commit107681ebb16674e0cbac5d28966825ff1b05d609 (patch)
treeacec264883e966a4311fc301b7d9c9d2bb29f3cd /src/ephy-window.c
parentc255df464cf44e9687f80c5845e5f31a500f7084 (diff)
downloadgsoc2013-epiphany-107681ebb16674e0cbac5d28966825ff1b05d609.tar.gz
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/ephy-window.c')
-rw-r--r--src/ephy-window.c7
1 files changed, 0 insertions, 7 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