[brasero] Improve error reporting when the mimetype of a URI (passed on the command line) can't be properly de
- From: Philippe Rouquier <philippr src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [brasero] Improve error reporting when the mimetype of a URI (passed on the command line) can't be properly de
- Date: Mon, 3 Aug 2009 12:34:09 +0000 (UTC)
commit 86e4d0b582ab1eebeeed3b8a7c6031f326825128
Author: Philippe Rouquier <bonfire-app wanadoo fr>
Date: Mon Aug 3 14:30:49 2009 +0200
Improve error reporting when the mimetype of a URI (passed on the command line) can't be properly detected
src/brasero-project-manager.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/brasero-project-manager.c b/src/brasero-project-manager.c
index 17fabb4..b7d753f 100644
--- a/src/brasero-project-manager.c
+++ b/src/brasero-project-manager.c
@@ -890,7 +890,8 @@ brasero_project_manager_open_uri (BraseroProjectManager *manager,
}
uri = g_file_get_uri (file);
- if (g_file_query_exists (file, NULL)) {
+ if (g_file_query_exists (file, NULL)
+ && g_file_info_get_content_type (info)) {
const gchar *mime;
mime = g_file_info_get_content_type (info);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]