mirror of https://github.com/GNOME/gimp.git
Set the default aspect ratio of the toolbox wrap box to 5:6.
2003-10-10 Pedro Gimeno <pggimeno@wanadoo.es> * app/widgets/gimptoolbox.c (gimp_toolbox_init): Set the default aspect ratio of the toolbox wrap box to 5:6. (gimp_toolbox_set_geometry): Don't enforce min_height in the toolbox window. Fixes bug #116937 and works around bug #113228. * plug-ins/common/png.c (save_image): Round the values passed to png_set_pHYs so that they don't decrease on every save.
This commit is contained in:
parent
350f98824c
commit
b6a2c0767c
13
ChangeLog
13
ChangeLog
|
@ -1,3 +1,13 @@
|
|||
2003-10-10 Pedro Gimeno <pggimeno@wanadoo.es>
|
||||
|
||||
* app/widgets/gimptoolbox.c (gimp_toolbox_init): Set the default
|
||||
aspect ratio of the toolbox wrap box to 5:6.
|
||||
(gimp_toolbox_set_geometry): Don't enforce min_height in the
|
||||
toolbox window. Fixes bug #116937 and works around bug #113228.
|
||||
|
||||
* plug-ins/common/png.c (save_image): Round the values passed to
|
||||
png_set_pHYs so that they don't decrease on every save.
|
||||
|
||||
2003-10-12 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* app/config/Makefile.am: fixed dependencies for test-config.
|
||||
|
@ -768,7 +778,8 @@
|
|||
2003-10-05 Pedro Gimeno <pggimeno@wanadoo.es>
|
||||
|
||||
* app/paint-funcs/paint-funcs.c (shrink_line): Use gint instead
|
||||
of guint. Fixes Debian bug report #205889.
|
||||
of guint. Fixes Debian bug report #205889 (spotted by Falk
|
||||
Hueffner).
|
||||
|
||||
2003-10-05 Sven Neumann <sven@gimp.org>
|
||||
|
||||
|
|
|
@ -193,6 +193,7 @@ gimp_toolbox_init (GimpToolbox *toolbox)
|
|||
gtk_wrap_box_set_justify (GTK_WRAP_BOX (toolbox->wbox), GTK_JUSTIFY_TOP);
|
||||
gtk_wrap_box_set_line_justify (GTK_WRAP_BOX (toolbox->wbox),
|
||||
GTK_JUSTIFY_LEFT);
|
||||
gtk_wrap_box_set_aspect_ratio (GTK_WRAP_BOX (toolbox->wbox), 5.0 / 6.0);
|
||||
|
||||
gtk_box_pack_start (GTK_BOX (vbox), toolbox->wbox, FALSE, FALSE, 0);
|
||||
gtk_widget_show (toolbox->wbox);
|
||||
|
@ -407,13 +408,7 @@ gimp_toolbox_set_geometry (GimpToolbox *toolbox)
|
|||
|
||||
geometry.min_width = (2 * border_width +
|
||||
2 * button_requisition.width);
|
||||
geometry.min_height = (2 * border_width +
|
||||
spacing +
|
||||
separator_height +
|
||||
button_requisition.height +
|
||||
menubar_requisition.height +
|
||||
MAX (color_requisition.height,
|
||||
indicator_requisition.height));
|
||||
geometry.min_height = -1;
|
||||
geometry.width_inc = button_requisition.width;
|
||||
geometry.height_inc = (GIMP_DOCK (toolbox)->dockbooks ?
|
||||
1 : button_requisition.height);
|
||||
|
|
|
@ -1087,7 +1087,7 @@ save_image (const gchar *filename,
|
|||
if (pngvals.phys)
|
||||
{
|
||||
gimp_image_get_resolution (orig_image_ID, &xres, &yres);
|
||||
png_set_pHYs (pp, info, xres * 39.37, yres * 39.37,
|
||||
png_set_pHYs (pp, info, RINT (xres / 0.0254), RINT (yres / 0.0254),
|
||||
PNG_RESOLUTION_METER);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue