aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-lockdown.c
diff options
context:
space:
mode:
authorCosimo Cecchi <cosimoc@gnome.org>2012-01-19 03:08:09 +0800
committerCosimo Cecchi <cosimoc@gnome.org>2012-01-20 02:07:23 +0800
commite62275191c520024b3b48dd2bdecbfb407e105e1 (patch)
tree4d2edd491ef3c4290802e5e60b4f0a633616f0bd /src/ephy-lockdown.c
parent2082e3a96b3aed97adc615e7739cec6afea5d76e (diff)
downloadgsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.tar
gsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.tar.gz
gsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.tar.bz2
gsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.tar.lz
gsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.tar.xz
gsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.tar.zst
gsoc2013-epiphany-e62275191c520024b3b48dd2bdecbfb407e105e1.zip
Rename EphyLocationAction -> EphyLocationController
Since it's not a GtkAction anymore. https://bugzilla.gnome.org/show_bug.cgi?id=668206
Diffstat (limited to 'src/ephy-lockdown.c')
-rw-r--r--src/ephy-lockdown.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/ephy-lockdown.c b/src/ephy-lockdown.c
index 4ffa81534..5a2dc982f 100644
--- a/src/ephy-lockdown.c
+++ b/src/ephy-lockdown.c
@@ -189,11 +189,11 @@ bind_settings_and_actions (GSettings *settings,
}
static void
-bind_location_action (GSettings *settings,
- EphyLocationAction *action)
+bind_location_controller (GSettings *settings,
+ EphyLocationController *controller)
{
g_settings_bind (settings, EPHY_PREFS_LOCKDOWN_ARBITRARY_URL,
- action, "editable",
+ controller, "editable",
G_SETTINGS_BIND_GET |
G_SETTINGS_BIND_INVERT_BOOLEAN);
}
@@ -206,7 +206,7 @@ impl_attach_window (EphyExtension *extension,
GtkActionGroup *action_group;
GtkAction *action;
GSettings *settings;
- EphyLocationAction *location_action;
+ EphyLocationController *location_controller;
g_signal_connect (EPHY_SETTINGS_LOCKDOWN,
"changed::" EPHY_PREFS_LOCKDOWN_FULLSCREEN,
@@ -244,8 +244,8 @@ impl_attach_window (EphyExtension *extension,
action_group, special_toolbar_actions,
G_N_ELEMENTS (special_toolbar_actions));
- location_action = ephy_window_get_location_action (window);
- bind_location_action (EPHY_SETTINGS_LOCKDOWN, location_action);
+ location_controller = ephy_window_get_location_controller (window);
+ bind_location_controller (EPHY_SETTINGS_LOCKDOWN, location_controller);
}
static void