brasero r945 - in trunk: . src
- From: philippr svn gnome org
- To: svn-commits-list gnome org
- Subject: brasero r945 - in trunk: . src
- Date: Wed, 2 Jul 2008 13:56:58 +0000 (UTC)
Author: philippr
Date: Wed Jul 2 13:56:57 2008
New Revision: 945
URL: http://svn.gnome.org/viewvc/brasero?rev=945&view=rev
Log:
some small fixes
* src/burn-mkisofs-base.c (brasero_mkisofs_base_write_excluded):
Modified:
trunk/ChangeLog
trunk/src/burn-mkisofs-base.c
Modified: trunk/src/burn-mkisofs-base.c
==============================================================================
--- trunk/src/burn-mkisofs-base.c (original)
+++ trunk/src/burn-mkisofs-base.c Wed Jul 2 13:56:57 2008
@@ -119,6 +119,7 @@
gint forbidden;
gchar *character;
gchar *localpath;
+ gchar *unescaped_uri;
BraseroBurnResult result = BRASERO_BURN_OK;
/* make sure uri is local: otherwise error out */
@@ -130,15 +131,9 @@
return BRASERO_BURN_ERR;
}
- localpath = g_filename_from_uri (uri, NULL, NULL);
- if (localpath) {
- /* FIXME! change this */
- g_set_error (error,
- BRASERO_BURN_ERROR,
- BRASERO_BURN_ERROR_GENERAL,
- _("the file is not stored locally"));
- return BRASERO_BURN_ERR;
- }
+ unescaped_uri = g_uri_unescape_string (uri, NULL);
+ localpath = g_filename_from_uri (unescaped_uri, NULL, NULL);
+ g_free (unescaped_uri);
/* we need to escape some characters like []\? since in this file we
* can use glob like expressions. */
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]