Commit f3681854 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann
Browse files

set the gravity of the image window to CENTER. Gives much better behaviour

2005-06-20  Sven Neumann  <sven@gimp.org>

	* app/display/gimpdisplayshell.c (gimp_display_shell_new): set the
	gravity of the image window to CENTER. Gives much better behaviour
	for "resize-windows-on-zoom".
parent 5a7f136a
2005-06-20 Sven Neumann <sven@gimp.org>
* app/display/gimpdisplayshell.c (gimp_display_shell_new): set the
gravity of the image window to CENTER. Gives much better behaviour
for "resize-windows-on-zoom".
2005-06-18 Sven Neumann <sven@gimp.org>
* app/core/gimpimagefile.c (gimp_imagefile_get_new_pixbuf):
......
......@@ -591,8 +591,9 @@ gimp_display_shell_new (GimpDisplay *gdisp,
/* the toplevel shell */
shell = g_object_new (GIMP_TYPE_DISPLAY_SHELL,
"unit", unit,
"scale", scale,
"gravity", GDK_GRAVITY_CENTER,
"unit", unit,
"scale", scale,
NULL);
shell->gdisp = gdisp;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment