[nautilus] list-view: display snippet next to filename



commit c0b903977f1df82a7087d0a3e9c4af50ef291116
Author: Alexandru Pandelea <alexandru pandelea gmail com>
Date:   Mon Aug 7 18:04:35 2017 +0100

    list-view: display snippet next to filename
    
    Instead of showing the snippet under the filename, show it next to
    the filename.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=785959

 src/nautilus-list-view.c |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)
---
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 2ba3d6e..431f4eb 100644
--- a/src/nautilus-list-view.c
+++ b/src/nautilus-list-view.c
@@ -1623,7 +1623,10 @@ filename_cell_data_func (GtkTreeViewColumn *column,
                                              NULL);
 
             escaped_text = g_markup_escape_text (replaced_text, -1);
-            g_string_append_printf (display_text, "\n<small><span color='grey'>%s</span></small>", 
escaped_text);
+
+            g_string_append_printf (display_text,
+                                    " <small><span color='grey'><b>%s</b></span></small>",
+                                    escaped_text);
         }
 
         nautilus_file_unref (file);


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