gnome-games r8038 - branches/gnome-2-24/gtali



Author: thomashpa
Date: Wed Oct 15 11:52:21 2008
New Revision: 8038
URL: http://svn.gnome.org/viewvc/gnome-games?rev=8038&view=rev

Log:
set page_size = 0 for spinbuttons. Fixes bug #556396

Modified:
   branches/gnome-2-24/gtali/setup.c

Modified: branches/gnome-2-24/gtali/setup.c
==============================================================================
--- branches/gnome-2-24/gtali/setup.c	(original)
+++ branches/gnome-2-24/gtali/setup.c	Wed Oct 15 11:52:21 2008
@@ -299,7 +299,7 @@
 
   gtk_box_pack_start (GTK_BOX (box2), label, FALSE, FALSE, 0);
   HumanAdj = gtk_adjustment_new ((gfloat) NumberOfHumans, 1.0,
-				 6.0, 1.0, 6.0, 1.0);
+				 6.0, 1.0, 6.0, 0.0);
   HumanSpinner = gtk_spin_button_new (GTK_ADJUSTMENT (HumanAdj), 10, 0);
   gtk_label_set_mnemonic_widget (GTK_LABEL (label), HumanSpinner);
 
@@ -331,7 +331,7 @@
   gtk_box_pack_start (GTK_BOX (box2), label, FALSE, FALSE, 0);
 
   ComputerAdj = gtk_adjustment_new ((gfloat) NumberOfComputers,
-				    0.0, 5.0, 1.0, 5.0, 1.0);
+				    0.0, 5.0, 1.0, 5.0, 0.0);
   ComputerSpinner = gtk_spin_button_new (GTK_ADJUSTMENT (ComputerAdj), 10, 0);
   gtk_label_set_mnemonic_widget (GTK_LABEL (label), ComputerSpinner);
 



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