Gimp/app/gui
Michael Natterer 2621b4d250 factored out this function which calculates the zoom factor for new
2008-03-19  Michael Natterer  <mitch@gimp.org>

	* app/display/gimpdisplayshell.[ch]
	(gimp_display_shell_set_initial_scale): factored out this function
	which calculates the zoom factor for new images. Also returns the
	size of the canvas for that zoom factor.

	* app/gui/gui-vtable.c (gui_display_create): use it to set the
	initial scale of images loaded into the empty display, but don't
	set the display's size yet.


svn path=/trunk/; revision=25118
2008-03-19 09:48:07 +00:00
..
color-history.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
color-history.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gui-message.c app/actions/data-commands.c app/actions/debug-commands.c 2008-03-12 16:58:28 +00:00
gui-message.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gui-types.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gui-vtable.c factored out this function which calculates the zoom factor for new 2008-03-19 09:48:07 +00:00
gui-vtable.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
gui.c app/actions/data-commands.c app/actions/debug-commands.c 2008-03-12 16:58:28 +00:00
gui.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
ige-mac-menu.c synced copies from upstream. 2008-02-29 16:35:34 +00:00
ige-mac-menu.h synced copies from upstream. 2008-02-29 16:35:34 +00:00
Makefile.am removed... 2007-09-18 17:43:23 +00:00
makefile.msc updated and removed -GD to let msvc9 complain less 2007-12-09 14:11:09 +00:00
session.c In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
session.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
splash.c tweaked label positons. 2007-08-09 11:17:08 +00:00
splash.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00
themes.c app/config/gimprc.c app/plug-in/gimppluginmanager.c 2007-04-17 14:25:09 +00:00
themes.h In all files, changed the standard copyright notice to say "GIMP - The GNU 2006-12-09 21:33:38 +00:00