aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-window.c
diff options
context:
space:
mode:
authorChristian Persch <chpe@cvs.gnome.org>2006-01-18 22:21:11 +0800
committerChristian Persch <chpe@src.gnome.org>2006-01-18 22:21:11 +0800
commit539426a9bd327676ad71b263e497ce19da1adde9 (patch)
tree0292a84438d6b7db5a7edc2f979bc52507fd1285 /src/ephy-window.c
parentd52eb5001589d5480dfa2f661c37a7b8a3576fcd (diff)
downloadgsoc2013-epiphany-539426a9bd327676ad71b263e497ce19da1adde9.tar.gz
gsoc2013-epiphany-539426a9bd327676ad71b263e497ce19da1adde9.tar.zst
gsoc2013-epiphany-539426a9bd327676ad71b263e497ce19da1adde9.zip
Add caret mode indicator UI. Bug #145581.
2006-01-18 Christian Persch <chpe@cvs.gnome.org> * src/ephy-statusbar.c: (create_caret_indicator), (ephy_statusbar_init), (ephy_statusbar_new), (ephy_statusbar_set_caret_mode): * src/ephy-statusbar.h: * src/ephy-window.c: (browse_with_caret_notifier): Add caret mode indicator UI. Bug #145581.
Diffstat (limited to 'src/ephy-window.c')
-rw-r--r--src/ephy-window.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/ephy-window.c b/src/ephy-window.c
index 7e9c965c2..d891c078e 100644
--- a/src/ephy-window.c
+++ b/src/ephy-window.c
@@ -2884,12 +2884,16 @@ browse_with_caret_notifier (GConfClient *client,
GConfEntry *entry,
EphyWindow *window)
{
+ EphyWindowPrivate *priv = window->priv;
GtkAction *action;
+ gboolean enabled;
+ enabled = eel_gconf_get_boolean (CONF_BROWSE_WITH_CARET);
action = gtk_action_group_get_action (window->priv->action_group,
"BrowseWithCaret");
- gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action),
- eel_gconf_get_boolean (CONF_BROWSE_WITH_CARET));
+ gtk_toggle_action_set_active (GTK_TOGGLE_ACTION (action), enabled);
+
+ ephy_statusbar_set_caret_mode (EPHY_STATUSBAR (priv->statusbar), enabled);
}
static void