[Goodies-commits] r4893 - xfburn/trunk/xfburn
David Mohr
squisher at xfce.org
Fri Jun 6 00:47:33 CEST 2008
Author: squisher
Date: 2008-06-05 22:47:33 +0000 (Thu, 05 Jun 2008)
New Revision: 4893
Modified:
xfburn/trunk/xfburn/xfburn-device-box.c
Log:
Busy cursor during device box refreshes
Modified: xfburn/trunk/xfburn/xfburn-device-box.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-box.c 2008-06-05 22:43:37 UTC (rev 4892)
+++ xfburn/trunk/xfburn/xfburn-device-box.c 2008-06-05 22:47:33 UTC (rev 4893)
@@ -705,13 +705,17 @@
static void
cb_speed_refresh_clicked (GtkButton *button, XfburnDeviceBox *box)
{
- //XfburnDeviceBoxPrivate *priv = XFBURN_DEVICE_BOX_GET_PRIVATE (box);
+ XfburnDeviceBoxPrivate *priv = XFBURN_DEVICE_BOX_GET_PRIVATE (box);
XfburnDevice *device = NULL;
+ xfburn_busy_cursor (priv->combo_device);
+
device = xfburn_device_box_get_selected_device (box);
if (xfburn_device_refresh_supported_speeds (device))
fill_combo_speed (box, device);
+ xfburn_default_cursor (priv->combo_device);
+
g_signal_emit (G_OBJECT (box), signals[DISC_REFRESHED], 0, device);
}
@@ -720,6 +724,8 @@
{
XfburnDevice *device;
+ xfburn_busy_cursor (combo);
+
device = xfburn_device_box_get_selected_device (box);
if (device != NULL) {
xfburn_device_refresh_supported_speeds (device);
@@ -728,6 +734,8 @@
fill_combo_mode (box,device);
}
+ xfburn_default_cursor (combo);
+
g_signal_emit (G_OBJECT (box), signals[DEVICE_CHANGED], 0, device);
}
More information about the Goodies-commits
mailing list