[totem] chapters: Fix warning when film location isn't mounted
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [totem] chapters: Fix warning when film location isn't mounted
- Date: Wed, 6 Mar 2013 22:29:37 +0000 (UTC)
commit 5a5717cd7b734bcf9140881083e142a57ed5492c
Author: Bastien Nocera <hadess hadess net>
Date: Wed Mar 6 22:55:58 2013 +0100
chapters: Fix warning when film location isn't mounted
src/plugins/chapters/totem-chapters.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/chapters/totem-chapters.c b/src/plugins/chapters/totem-chapters.c
index dec42c7..d7dfa21 100644
--- a/src/plugins/chapters/totem-chapters.c
+++ b/src/plugins/chapters/totem-chapters.c
@@ -319,7 +319,8 @@ totem_file_opened_result_cb (GObject *source_object,
if (list == NULL) {
/* Ignore errors if file is not present */
if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_FOUND) &&
- !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED)) {
+ !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_SUPPORTED) &&
+ !g_error_matches (error, G_IO_ERROR, G_IO_ERROR_NOT_MOUNTED)) {
totem_action_error (plugin->priv->totem, _("Error while reading file with chapters"),
error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]