[Goodies-commits] r4674 - xfburn/trunk/xfburn
David Mohr
squisher at xfce.org
Fri Apr 25 07:13:42 CEST 2008
Author: squisher
Date: 2008-04-25 05:13:42 +0000 (Fri, 25 Apr 2008)
New Revision: 4674
Modified:
xfburn/trunk/xfburn/xfburn-device-box.c
Log:
Adding default entry if no speed list is available
Modified: xfburn/trunk/xfburn/xfburn-device-box.c
===================================================================
--- xfburn/trunk/xfburn/xfburn-device-box.c 2008-04-25 05:04:29 UTC (rev 4673)
+++ xfburn/trunk/xfburn/xfburn-device-box.c 2008-04-25 05:13:42 UTC (rev 4674)
@@ -451,8 +451,14 @@
if (el == NULL) {
/* a valid disc is in the drive, but no speed list is present */
+ GtkTreeIter iter;
+ gchar *str;
+
empty_speed_list_dialog ();
- return;
+
+ str = _("default");
+ gtk_list_store_append (GTK_LIST_STORE (model), &iter);
+ gtk_list_store_set (GTK_LIST_STORE (model), &iter, SPEED_TEXT_COLUMN, str, SPEED_VALUE_COLUMN, -1, -1);
}
while (el) {
More information about the Goodies-commits
mailing list