aboutsummaryrefslogtreecommitdiffstats
path: root/src/ephy-toolbar.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ephy-toolbar.c')
-rwxr-xr-xsrc/ephy-toolbar.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/ephy-toolbar.c b/src/ephy-toolbar.c
index 0137a477e..237ea5db9 100755
--- a/src/ephy-toolbar.c
+++ b/src/ephy-toolbar.c
@@ -515,10 +515,8 @@ ephy_toolbar_set_zoom (EphyToolbar *toolbar,
{
EphyToolbarPrivate *priv = toolbar->priv;
- g_object_set (priv->actions[ZOOM_ACTION],
- "zoom", can_zoom ? zoom : 1.0,
- "sensitive", can_zoom,
- NULL);
+ gtk_action_set_sensitive (priv->actions[ZOOM_ACTION], can_zoom);
+ g_object_set (priv->actions[ZOOM_ACTION], "zoom", can_zoom ? zoom : 1.0, NULL);
}
/* Class implementation */