brasero r1235 - in trunk: . src



Author: philippr
Date: Mon Sep  1 18:10:34 2008
New Revision: 1235
URL: http://svn.gnome.org/viewvc/brasero?rev=1235&view=rev

Log:
	Improved toc type recognition

	* src/brasero-image-option-dialog.c
	(brasero_image_option_dialog_image_info_cb):


Modified:
   trunk/ChangeLog
   trunk/src/brasero-image-option-dialog.c

Modified: trunk/src/brasero-image-option-dialog.c
==============================================================================
--- trunk/src/brasero-image-option-dialog.c	(original)
+++ trunk/src/brasero-image-option-dialog.c	Mon Sep  1 18:10:34 2008
@@ -137,11 +137,16 @@
 							       format,
 							       NULL,
 							       uri);
-		else
+		else if (g_str_has_suffix (path, ".toc"))
 			brasero_image_option_dialog_set_track (dialog,
 							       BRASERO_IMAGE_FORMAT_CLONE,
 							       NULL,
 							       uri);
+		else
+			brasero_image_option_dialog_set_track (dialog,
+							       BRASERO_IMAGE_FORMAT_NONE,
+							       NULL,
+							       uri);
 	}
 	else if (!strcmp (g_file_info_get_content_type (info), "application/octet-stream")) {
 		/* that could be an image, so here is the deal:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]