[Goodies-commits] r5053 - in xfburn/trunk: . xfburn

David Mohr squisher at xfce.org
Fri Jul 11 17:57:09 CEST 2008


Author: squisher
Date: 2008-07-11 15:57:08 +0000 (Fri, 11 Jul 2008)
New Revision: 5053

Modified:
   xfburn/trunk/NEWS
   xfburn/trunk/xfburn/xfburn-device-box.c
Log:
Fix bug which caused a wrong complaint about a missing speed list

Modified: xfburn/trunk/NEWS
===================================================================
--- xfburn/trunk/NEWS	2008-07-11 15:41:53 UTC (rev 5052)
+++ xfburn/trunk/NEWS	2008-07-11 15:57:08 UTC (rev 5053)
@@ -1,6 +1,12 @@
-xfburn 0.3.1
-============
+xfburn 0.3.2
+============-------------
 
+- Fix bug which would complain about missing speed list when blanking
+  after the question from the burn composition dialog
+
+xfburn 0.3.1 (2008-07-10)
+============-------------
+
 - Implemented basic CLI options
 - Actually set speed in burn backend
 

Modified: xfburn/trunk/xfburn/xfburn-device-box.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-box.c	2008-07-11 15:41:53 UTC (rev 5052)
+++ xfburn/trunk/xfburn/xfburn-device-box.c	2008-07-11 15:57:08 UTC (rev 5053)
@@ -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 Goodies-commits mailing list