From 0c586f7b416dafbaeaed8c1b1038c27dd2373eff Mon Sep 17 00:00:00 2001 From: Michael Natterer Date: Mon, 6 Oct 2008 20:46:21 +0000 Subject: [PATCH] plug-ins/common/file-gih.c setting a spin button's page_increment to 1 is 2008-10-06 Michael Natterer * plug-ins/common/file-gih.c * plug-ins/common/file-xbm.c: setting a spin button's page_increment to 1 is of no use, set it to 10 instead. svn path=/trunk/; revision=27148 --- ChangeLog | 6 ++++++ devel-docs/libgimpwidgets/tmpl/gimpruler.sgml | 5 +++++ plug-ins/common/file-gih.c | 4 ++-- plug-ins/common/file-xbm.c | 4 ++-- 4 files changed, 15 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 8a6d1218da..29de37e4ae 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2008-10-06 Michael Natterer + + * plug-ins/common/file-gih.c + * plug-ins/common/file-xbm.c: setting a spin button's + page_increment to 1 is of no use, set it to 10 instead. + 2008-10-06 Michael Natterer * app/plug-in/plug-in-menu-path.c (menu_path_mappings): add a diff --git a/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml b/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml index 14f2a42ac0..26fcee7603 100644 --- a/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml +++ b/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml @@ -53,6 +53,11 @@ GimpRuler + + + + + diff --git a/plug-ins/common/file-gih.c b/plug-ins/common/file-gih.c index c2b3b0d48c..6c14620c22 100644 --- a/plug-ins/common/file-gih.c +++ b/plug-ins/common/file-gih.c @@ -936,7 +936,7 @@ gih_save_dialog (gint32 image_ID) spinbutton = gimp_spin_button_new (&adjustment, gihparams.cellwidth, - 2, gimp_image_width (image_ID), 1, 1, 0, + 2, gimp_image_width (image_ID), 1, 10, 0, 1, 0); gtk_box_pack_start (GTK_BOX (box), spinbutton, FALSE, FALSE, 0); gtk_widget_show (spinbutton); @@ -959,7 +959,7 @@ gih_save_dialog (gint32 image_ID) spinbutton = gimp_spin_button_new (&adjustment, gihparams.cellheight, - 2, gimp_image_height (image_ID), 1, 1, 0, + 2, gimp_image_height (image_ID), 1, 10, 0, 1, 0); gtk_box_pack_start (GTK_BOX (box), spinbutton, FALSE, FALSE, 0); gtk_widget_show (spinbutton); diff --git a/plug-ins/common/file-xbm.c b/plug-ins/common/file-xbm.c index 037ff32109..10362f9ab6 100644 --- a/plug-ins/common/file-xbm.c +++ b/plug-ins/common/file-xbm.c @@ -1271,7 +1271,7 @@ save_dialog (gint32 drawable_ID) spinbutton = gimp_spin_button_new (&adj, xsvals.x_hot, 0, gimp_drawable_width (drawable_ID) - 1, - 1, 1, 0, 0, 0); + 1, 10, 0, 0, 0); gimp_table_attach_aligned (GTK_TABLE (table), 0, 0, _("Hot spot _X:"), 0.0, 0.5, spinbutton, 1, TRUE); @@ -1281,7 +1281,7 @@ save_dialog (gint32 drawable_ID) spinbutton = gimp_spin_button_new (&adj, xsvals.y_hot, 0, gimp_drawable_height (drawable_ID) - 1, - 1, 1, 0, 0, 0); + 1, 10, 0, 0, 0); gimp_table_attach_aligned (GTK_TABLE (table), 0, 1, _("Hot spot _Y:"), 0.0, 0.5, spinbutton, 1, TRUE);