[Pkg-xfce-commits] r2178 - in goodies/xfburn/debian: . patches

corsac at alioth.debian.org corsac at alioth.debian.org
Thu Jul 10 20:26:19 UTC 2008


Author: corsac
Date: 2008-07-10 20:26:18 +0000 (Thu, 10 Jul 2008)
New Revision: 2178

Added:
   goodies/xfburn/debian/patches/
   goodies/xfburn/debian/patches/01_blank-speed-selection.diff
Modified:
   goodies/xfburn/debian/changelog
Log:
* debian/patches:
  - 01_blank-speed-selection added, fix warning about not being able to find
    drive speed.

Modified: goodies/xfburn/debian/changelog
===================================================================
--- goodies/xfburn/debian/changelog	2008-07-10 18:01:06 UTC (rev 2177)
+++ goodies/xfburn/debian/changelog	2008-07-10 20:26:18 UTC (rev 2178)
@@ -6,8 +6,11 @@
   * debian/control:
     - update standards version.
     - update versioned build-dep on debhelper for dh_icons support.
+  * debian/patches:
+    - 01_blank-speed-selection added, fix warning about not being able to find
+      drive speed.
 
- -- Yves-Alexis Perez <corsac at debian.org>  Thu, 10 Jul 2008 15:22:41 +0200
+ -- Yves-Alexis Perez <corsac at debian.org>  Thu, 10 Jul 2008 22:22:26 +0200
 
 xfburn (0.3.0-2) unstable; urgency=low
 

Added: goodies/xfburn/debian/patches/01_blank-speed-selection.diff
===================================================================
--- goodies/xfburn/debian/patches/01_blank-speed-selection.diff	                        (rev 0)
+++ goodies/xfburn/debian/patches/01_blank-speed-selection.diff	2008-07-10 20:26:18 UTC (rev 2178)
@@ -0,0 +1,26 @@
+Index: xfburn/xfburn-device-box.c
+===================================================================
+--- xfburn/xfburn-device-box.c	(revision 5045)
++++ xfburn/xfburn-device-box.c	(working copy)
+@@ -779,6 +779,7 @@
+ static void
+ cb_combo_device_changed (GtkComboBox *combo, XfburnDeviceBox *box)
+ {
++  XfburnDeviceBoxPrivate *priv = XFBURN_DEVICE_BOX_GET_PRIVATE (box);
+   XfburnDevice *device;
+   
+   if (GTK_WIDGET_REALIZED (box))
+@@ -789,8 +790,11 @@
+     //DBG ("Device changed to %s", device->name);
+     xfburn_device_refresh_supported_speeds (device);
+ 
+-    fill_combo_speed (box, device);
+-    fill_combo_mode (box,device);
++    if (priv->show_speed_selection)
++      fill_combo_speed (box, device);
++
++    if (priv->show_mode_selection)
++      fill_combo_mode (box,device);
+   }
+ 
+   if (GTK_WIDGET_REALIZED (box))




More information about the Pkg-xfce-commits mailing list