summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexandru Pandelea <alexandru.pandelea@gmail.com>2017-08-07 18:04:35 +0100
committerAlexandru Pandelea <alexandru.pandelea@gmail.com>2017-08-08 11:24:50 +0100
commitc0b903977f1df82a7087d0a3e9c4af50ef291116 (patch)
tree5d01513eb795bb85e6030606f3bd912785ee80ed
parent85c28fff02596f4a8335c479ef0ba2f72e158e36 (diff)
downloadnautilus-c0b903977f1df82a7087d0a3e9c4af50ef291116.tar.gz
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
-rw-r--r--src/nautilus-list-view.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/nautilus-list-view.c b/src/nautilus-list-view.c
index 2ba3d6ed4..431f4eb42 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);