Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell
diff options
context:
space:
mode:
authorNickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-19 10:38:38 (GMT)
committer Nickolay V. Shmyrev <nshmyrev@src.gnome.org>2005-06-19 10:38:38 (GMT)
commitc7c3efc21f970868c633bc87b03259b9a7178eff (patch)
tree7418c5c573c763b81858f31188d09f7cb4ad80e8 /shell
parent79eaebd470cd98a2185b7863e50571db2204534a (diff)
Fix update of zoom control. Bug 308268
Diffstat (limited to 'shell')
-rw-r--r--shell/ev-window.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/shell/ev-window.c b/shell/ev-window.c
index 509ac25..693e069 100644
--- a/shell/ev-window.c
+++ b/shell/ev-window.c
@@ -2390,10 +2390,13 @@ zoom_control_changed_cb (EphyZoomAction *action,
mode = EV_SIZING_FIT_WIDTH;
} else {
mode = EV_SIZING_FREE;
- ev_view_set_zoom (EV_VIEW (ev_window->priv->view), zoom, FALSE);
}
ev_view_set_sizing_mode (EV_VIEW (ev_window->priv->view), mode);
+
+ if (mode == EV_SIZING_FREE) {
+ ev_view_set_zoom (EV_VIEW (ev_window->priv->view), zoom, FALSE);
+ }
}
static void