projects
/
geeqie.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c5b3335
)
Start with "Fit to window" in "Leave Zoom at previous setting" mode
author
Vladimir Nadvornik
<nadvornik@suse.cz>
Fri, 6 Feb 2009 23:49:03 +0000
(23:49 +0000)
committer
Vladimir Nadvornik
<nadvornik@suse.cz>
Fri, 6 Feb 2009 23:49:03 +0000
(23:49 +0000)
src/layout.c
patch
|
blob
|
history
diff --git
a/src/layout.c
b/src/layout.c
index
510228a
..
7813eb5
100644
(file)
--- a/
src/layout.c
+++ b/
src/layout.c
@@
-2074,7
+2074,10
@@
LayoutWindow *layout_new_with_geometry(FileData *dir_fd, gint popped, gint hidde
GdkPixbuf *pixbuf;
pixbuf = pixbuf_inline(PIXBUF_INLINE_LOGO);
- image_change_pixbuf(lw->image, pixbuf, 1.0, FALSE);
+
+ /* FIXME: the zoom value set here is the value, which is then copied again and again
+ in "Leave Zoom at previous setting" mode. This is not ideal. */
+ image_change_pixbuf(lw->image, pixbuf, 0.0, FALSE);
g_object_unref(pixbuf);
}