Fix patch to apply to 2.28

This commit is contained in:
Bastien Nocera 2009-10-07 08:52:53 +00:00
parent 0e81b4b722
commit 6a77ca27b8

View File

@ -1,4 +1,4 @@
From 82a2336030c885bb5a74639d401ab3f2ec511af5 Mon Sep 17 00:00:00 2001
From 387a91e4b0e25914bf8e879296264c74b0aa2424 Mon Sep 17 00:00:00 2001
From: Bastien Nocera <hadess@hadess.net>
Date: Wed, 7 Oct 2009 09:16:50 +0100
Subject: [PATCH] Fix parsing of file paths on the command-line
@ -66,7 +66,7 @@ index 95c438d..ffacf46 100644
return (result == TOTEM_PL_PARSER_RESULT_SUCCESS);
diff --git a/src/main.c b/src/main.c
index 7de917c..e717ef5 100644
index abd31b5..e95e027 100644
--- a/src/main.c
+++ b/src/main.c
@@ -70,13 +70,13 @@ gint open_ncb;
@ -100,7 +100,7 @@ index 7de917c..e717ef5 100644
- { "image", 'i', 0, G_OPTION_ARG_STRING, &iso_uri,
+ { "image", 'i', 0, G_OPTION_ARG_FILENAME, &iso_uri,
N_("URI of an image file to burn (autodetected)"),
N_("Uri of an image file to be burnt (autodetected)"),
N_("PATH TO PLAYLIST") },
@@ -122,7 +122,7 @@ static const GOptionEntry options [] = {
@ -109,7 +109,7 @@ index 7de917c..e717ef5 100644
- { "burn-and-remove-project", 'r', 0, G_OPTION_ARG_STRING, &burn_project_uri,
+ { "burn-and-remove-project", 'r', 0, G_OPTION_ARG_FILENAME, &burn_project_uri,
N_("Burn the specified project and remove it.\nThis option is mainly useful for integration with other applications."),
N_("Burn the specified project and REMOVE it.\nThis option is mainly useful for integration use with other applications."),
N_("PATH") },
--