[nautilus] query-editor: don't quote the current location name



commit 828dad03720576932349749bc3c1708efa81dc05
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Nov 7 16:49:08 2012 -0500

    query-editor: don't quote the current location name
    
    We don't do it anywhere else in the UI for buttons that only display the
    location name, and it looks strange.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=687869

 src/nautilus-query-editor.c |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)
---
diff --git a/src/nautilus-query-editor.c b/src/nautilus-query-editor.c
index 0bf669e..1181c02 100644
--- a/src/nautilus-query-editor.c
+++ b/src/nautilus-query-editor.c
@@ -1167,10 +1167,7 @@ update_location (NautilusQueryEditor *editor)
 		if (nautilus_file_is_home (file)) {
 			name = g_strdup (_("Home"));
 		} else {
-			char *filename;
-			filename = nautilus_file_get_display_name (file);
-			name = g_strdup_printf ("\342\200\234%s\342\200\235", filename);
-			g_free (filename);
+			name = nautilus_file_get_display_name (file);
 		}
 		gtk_button_set_label (GTK_BUTTON (editor->details->search_current_button),
 				      name);



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