[gthumb/ext] display the destination folder using g_file_get_parse_name



commit 9cc61e5769315b2d2c03f4a2c3126bdd347e2d66
Author: Paolo Bacchilega <paobac src gnome org>
Date:   Tue Sep 8 16:49:51 2009 +0200

    display the destination folder using g_file_get_parse_name

 extensions/photo_importer/dlg-photo-importer.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/extensions/photo_importer/dlg-photo-importer.c b/extensions/photo_importer/dlg-photo-importer.c
index ce73bcd..8910f91 100644
--- a/extensions/photo_importer/dlg-photo-importer.c
+++ b/extensions/photo_importer/dlg-photo-importer.c
@@ -548,7 +548,7 @@ update_destination (DialogData *data)
 	example_data = create_example_file_data ();
 	destination_example = gth_import_task_get_file_destination (example_data, destination, subfolder_type, subfolder_format, single_subfolder);
 
-	uri = g_file_get_uri (destination_example);
+	uri = g_file_get_parse_name (destination_example);
 	example = g_strdup_printf (_("example: %s"), uri);
 	gtk_label_set_text (GTK_LABEL (GET_WIDGET ("example_label")), example);
 



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