gimp r27148 - in trunk: . devel-docs/libgimpwidgets/tmpl plug-ins/common



Author: mitch
Date: Mon Oct  6 20:46:21 2008
New Revision: 27148
URL: http://svn.gnome.org/viewvc/gimp?rev=27148&view=rev

Log:
2008-10-06  Michael Natterer  <mitch gimp org>

	* 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.



Modified:
   trunk/ChangeLog
   trunk/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml
   trunk/plug-ins/common/file-gih.c
   trunk/plug-ins/common/file-xbm.c

Modified: trunk/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml
==============================================================================
--- trunk/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml	(original)
+++ trunk/devel-docs/libgimpwidgets/tmpl/gimpruler.sgml	Mon Oct  6 20:46:21 2008
@@ -53,6 +53,11 @@
 
 </para>
 
+<!-- ##### ARG GimpRuler:font-scale ##### -->
+<para>
+
+</para>
+
 <!-- ##### FUNCTION gimp_ruler_new ##### -->
 <para>
 

Modified: trunk/plug-ins/common/file-gih.c
==============================================================================
--- trunk/plug-ins/common/file-gih.c	(original)
+++ trunk/plug-ins/common/file-gih.c	Mon Oct  6 20:46:21 2008
@@ -936,7 +936,7 @@
 
   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 @@
 
   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);

Modified: trunk/plug-ins/common/file-xbm.c
==============================================================================
--- trunk/plug-ins/common/file-xbm.c	(original)
+++ trunk/plug-ins/common/file-xbm.c	Mon Oct  6 20:46:21 2008
@@ -1271,7 +1271,7 @@
 
   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 @@
 
   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);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]