allow setting compression level 0 from the UI.

2002-11-09  Manish Singh  <yosh@gimp.org>

        * plug-ins/common/png.c: allow setting compression level 0 from
        the UI.
This commit is contained in:
Manish Singh 2002-11-10 00:27:49 +00:00 committed by Manish Singh
parent 2fd6f782a0
commit af3cde410e
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2002-11-09 Manish Singh <yosh@gimp.org>
* plug-ins/common/png.c: allow setting compression level 0 from
the UI.
2002-11-10 Michael Natterer <mitch@gimp.org>
* app/core/gimpdrawable-transform.c (gimp_drawable_transform_paste):

View File

@ -1270,7 +1270,7 @@ save_dialog (void)
G_CALLBACK (gimp_toggle_button_update), &pngvals.time);
scale_data = gtk_adjustment_new (pngvals.compression_level,
1.0, 9.0, 1.0, 1.0, 0.0);
0.0, 9.0, 1.0, 1.0, 0.0);
scale = gtk_hscale_new (GTK_ADJUSTMENT (scale_data));
gtk_widget_set_size_request (scale, SCALE_WIDTH, -1);
gtk_scale_set_value_pos (GTK_SCALE (scale), GTK_POS_TOP);