[gnome-color-manager] Allow RAW files to be dragged onto the UI with spaces in the name



commit 495d0c4d622233f32eb8b189a2d4104eb7a46655
Author: Richard Hughes <richard hughsie com>
Date:   Wed May 26 16:48:33 2010 +0100

    Allow RAW files to be dragged onto the UI with spaces in the name

 src/gcm-exif.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/gcm-exif.c b/src/gcm-exif.c
index 532084f..8383c8e 100644
--- a/src/gcm-exif.c
+++ b/src/gcm-exif.c
@@ -213,7 +213,7 @@ gcm_exif_parse_exiv (GcmExif *exif, const gchar *filename, GError **error)
 	gchar **split = NULL;
 	GcmExifPrivate *priv = exif->priv;
 
-	command_line = g_strdup_printf (LIBEXECDIR "/gcm-helper-exiv %s", filename);
+	command_line = g_strdup_printf (LIBEXECDIR "/gcm-helper-exiv \"%s\"", filename);
 	ret = g_spawn_command_line_sync (command_line, &standard_output, NULL, &exit_status, error);
 	if (!ret)
 		goto out;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]