+2005-06-19 Nickolay V. Shmyrev <nshmyrev@yandex.ru>
+
+ * shell/ev-window.c: (zoom_control_changed_cb):
+
+ Fix update of zoom control (bug 308268).
+
Sat Jun 18 22:46:42 2005 Jonathan Blandford <jrb@redhat.com>
* shell/ev-properties.c (set_property): escape the text correctly.
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