<URL: http://bugs.freeciv.org/Ticket/Display.html?id=39456 >

>From Gilles Seguin:
When you click on the right or the left on the cursor on a hscale in the
Governor page, the value decrease or increase by 1. This is not the case
of celebrate hscale, is this a bug or a forgotten stuff?

--- cma_fe.c.yy 2007-07-09 08:27:31.000000000 -0400
+++ cma_fe.c    2007-07-07 19:46:23.000000000 -0400
@@ -365,7 +365,7 @@
                   G_CALLBACK(hscale_changed), pdialog);

   pdialog->factor[NUM_STATS] =
-      GTK_ADJUSTMENT(gtk_adjustment_new(0, 0, 50, 1, 0, 0));
+      GTK_ADJUSTMENT(gtk_adjustment_new(0, 0, 50, 1, 1, 0));

   hscale = gtk_hscale_new(GTK_ADJUSTMENT(pdialog->factor[NUM_STATS]));
   gtk_table_attach_defaults(GTK_TABLE(table), hscale, 2, 3, 

Please, change it for 1.14, 2.0, 2.1 and trunk branches.
Thank you

--- cma_fe.c.yy 2007-07-09 08:27:31.000000000 -0400
+++ cma_fe.c    2007-07-07 19:46:23.000000000 -0400
@@ -365,7 +365,7 @@
                   G_CALLBACK(hscale_changed), pdialog);

   pdialog->factor[NUM_STATS] =
-      GTK_ADJUSTMENT(gtk_adjustment_new(0, 0, 50, 1, 0, 0));
+      GTK_ADJUSTMENT(gtk_adjustment_new(0, 0, 50, 1, 1, 0));

   hscale = gtk_hscale_new(GTK_ADJUSTMENT(pdialog->factor[NUM_STATS]));
   gtk_table_attach_defaults(GTK_TABLE(table), hscale, 2, 3, 
_______________________________________________
Freeciv-dev mailing list
Freeciv-dev@gna.org
https://mail.gna.org/listinfo/freeciv-dev

Reply via email to