Web   ·   Wiki   ·   Activities   ·   Blog   ·   Lists   ·   Chat   ·   Meeting   ·   Bugs   ·   Git   ·   Translate   ·   Archive   ·   People   ·   Donate
summaryrefslogtreecommitdiffstats
path: root/shell/ev-view.c
diff options
context:
space:
mode:
authorJonathan Blandford <jrb@redhat.com>2005-02-18 20:53:49 (GMT)
committer Jonathan Blandford <jrb@src.gnome.org>2005-02-18 20:53:49 (GMT)
commit75eac88174e3a7843b702ffd38e06b0e4d3d62ac (patch)
tree6a67d3adcc38075656799a1319664fe6f5335af4 /shell/ev-view.c
parent6909f485a0f8d35f8637d1d0185379d4dbf2649d (diff)
Change the fullscreen toolbar to always be in the popup window. That
Fri Feb 18 15:32:57 2005 Jonathan Blandford <jrb@redhat.com> * shell/ev-window.c: Change the fullscreen toolbar to always be in the popup window. That prevents it resizing when in full screen mode. * shell/ev-view.c: Change Zoom epsilon as a bad hack to avoid multiple rerenders. This pretty much sucks. * data/evince-ui.xml: Change the fullscreen toolbar to include the rest of the toolbar.
Diffstat (limited to 'shell/ev-view.c')
-rw-r--r--shell/ev-view.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/shell/ev-view.c b/shell/ev-view.c
index 4550292..589311a 100644
--- a/shell/ev-view.c
+++ b/shell/ev-view.c
@@ -69,7 +69,11 @@ typedef enum {
#define MIN_SCALE 0.05409
#define MAX_SCALE 18.4884
-#define ZOOM_EPSILON 1e-10
+
+/* FIXME: temporarily setting the epsilon very high until we figure out how to
+ * constrain the size of the window to a pixel width, instead of to the zoom
+ * level */
+#define ZOOM_EPSILON 1e-2
struct _EvView {