[Goodies-commits] r4933 - xfburn/trunk/xfburn
David Mohr
squisher at xfce.org
Fri Jun 13 05:13:29 CEST 2008
Author: squisher
Date: 2008-06-13 03:13:29 +0000 (Fri, 13 Jun 2008)
New Revision: 4933
Modified:
xfburn/trunk/xfburn/xfburn-device-box.c
Log:
Bugfix: only show busy cursor when the dialog is already realized
Modified: xfburn/trunk/xfburn/xfburn-device-box.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-box.c 2008-06-12 21:09:00 UTC (rev 4932)
+++ xfburn/trunk/xfburn/xfburn-device-box.c 2008-06-13 03:13:29 UTC (rev 4933)
@@ -725,17 +725,20 @@
{
XfburnDevice *device;
- xfburn_busy_cursor (combo);
+ if (GTK_WIDGET_REALIZED (box))
+ xfburn_busy_cursor (GTK_WIDGET (box));
device = xfburn_device_box_get_selected_device (box);
if (device != NULL) {
+ //DBG ("Device changed to %s", device->name);
xfburn_device_refresh_supported_speeds (device);
fill_combo_speed (box, device);
fill_combo_mode (box,device);
}
- xfburn_default_cursor (combo);
+ if (GTK_WIDGET_REALIZED (box))
+ xfburn_default_cursor (GTK_WIDGET (box));
g_signal_emit (G_OBJECT (box), signals[DEVICE_CHANGED], 0, device);
}
More information about the Goodies-commits
mailing list