r9734 - in packages/trunk/dopewars/debian: . patches

Barry deFreese bdefreese at alioth.debian.org
Fri May 15 17:39:59 UTC 2009


Author: bdefreese
Date: 2009-05-15 17:39:59 +0000 (Fri, 15 May 2009)
New Revision: 9734

Added:
   packages/trunk/dopewars/debian/patches/080_gtk_client_c.diff
Modified:
   packages/trunk/dopewars/debian/changelog
   packages/trunk/dopewars/debian/patches/series
Log:
  * 080_gtk_client_c.diff - Fix buy and sell qty. (Closes: #526235).
    + Patch take from upstreeam sourceforge page.


Modified: packages/trunk/dopewars/debian/changelog
===================================================================
--- packages/trunk/dopewars/debian/changelog	2009-05-15 17:22:19 UTC (rev 9733)
+++ packages/trunk/dopewars/debian/changelog	2009-05-15 17:39:59 UTC (rev 9734)
@@ -4,6 +4,8 @@
   * Add myself to uploaders.
   * Move existing source changes to quilt.
     + NEEDS WORK, REALLY SHOULD BE AUTORECONF'd.
+  * 080_gtk_client_c.diff - Fix buy and sell qty. (Closes: #526235).
+    + Patch take from upstreeam sourceforge page.
 
  -- Barry deFreese <bdefreese at debian.org>  Fri, 15 May 2009 12:24:43 -0400
 

Added: packages/trunk/dopewars/debian/patches/080_gtk_client_c.diff
===================================================================
--- packages/trunk/dopewars/debian/patches/080_gtk_client_c.diff	                        (rev 0)
+++ packages/trunk/dopewars/debian/patches/080_gtk_client_c.diff	2009-05-15 17:39:59 UTC (rev 9734)
@@ -0,0 +1,26 @@
+Index: dopewars-1.5.12/src/gui_client/gtk_client.c
+===================================================================
+--- dopewars-1.5.12.orig/src/gui_client/gtk_client.c	2009-05-15 13:36:53.000000000 -0400
++++ dopewars-1.5.12/src/gui_client/gtk_client.c	2009-05-15 13:38:05.000000000 -0400
+@@ -1570,8 +1570,8 @@
+     MaxDrug = CanDrop;
+   }
+ 
+-  spin_adj = (GtkAdjustment *)gtk_adjustment_new(MaxDrug, 1.0, MaxDrug,
+-                                                 1.0, 10.0, 10.0);
++  spin_adj = (GtkAdjustment *)gtk_adjustment_new(MaxDrug, 0.0, MaxDrug,
++                                                 1.0, 10.0, 0.0);
+   gtk_spin_button_set_adjustment(GTK_SPIN_BUTTON(DealDialog.amount),
+                                  spin_adj);
+   gtk_spin_button_set_value(GTK_SPIN_BUTTON(DealDialog.amount), MaxDrug);
+@@ -1745,8 +1745,8 @@
+   }
+   label = gtk_label_new(text->str);
+   gtk_box_pack_start(GTK_BOX(hbox), label, FALSE, FALSE, 0);
+-  spin_adj = (GtkAdjustment *)gtk_adjustment_new(1.0, 1.0, 2.0,
+-                                                 1.0, 10.0, 10.0);
++  spin_adj = (GtkAdjustment *)gtk_adjustment_new(1.0, 0.0, 2.0,
++                                                 1.0, 10.0, 0.0);
+   spinner = DealDialog.amount = gtk_spin_button_new(spin_adj, 1.0, 0);
+   gtk_signal_connect(GTK_OBJECT(spinner), "activate",
+                      GTK_SIGNAL_FUNC(DealOKCallback), data);

Modified: packages/trunk/dopewars/debian/patches/series
===================================================================
--- packages/trunk/dopewars/debian/patches/series	2009-05-15 17:22:19 UTC (rev 9733)
+++ packages/trunk/dopewars/debian/patches/series	2009-05-15 17:39:59 UTC (rev 9734)
@@ -5,3 +5,4 @@
 050_dopewars_c.diff
 060_po_fr_CA.diff
 070_po_de.diff
+080_gtk_client_c.diff




More information about the Pkg-games-commits mailing list