[brasero/gnome-2-28] Don't show the dialog to add the contents of a directory when there is an error
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero/gnome-2-28] Don't show the dialog to add the contents of a directory when there is an error
- Date: Mon, 28 Sep 2009 12:55:03 +0000 (UTC)
commit cc79080ca7c80a90b2609eab79e518ce373607d3
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]