[brasero] Don't show the dialog to add the contents of a directory when there is an error



commit a06092c079aec8b6c46a5adaf8f54f9e9d1a0691
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date:   Mon Sep 28 14:45:44 2009 +0200

    Don't show the dialog to add the contents of a directory when there is an error
    Fix wrong test

 src/brasero-video-disc.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-video-disc.c b/src/brasero-video-disc.c
index 9676921..f1ef534 100644
--- a/src/brasero-video-disc.c
+++ b/src/brasero-video-disc.c
@@ -459,7 +459,7 @@ brasero_video_disc_session_changed (BraseroSessionCfg *session,
 			error = brasero_status_get_error (status);
 			if (!error)
 				brasero_video_disc_unreadable_uri_dialog (self, uri, error);
-			else if (error->code != BRASERO_BURN_ERROR_FILE_FOLDER) {
+			else if (error->code == BRASERO_BURN_ERROR_FILE_FOLDER) {
 				res = brasero_video_disc_directory_dialog (self);
 				if (res)
 					brasero_video_disc_add_directory_contents (self, uri, BRASERO_TRACK (track));



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