From a65a0bdc94df13989ed6911cfe45cc998e9da914 Mon Sep 17 00:00:00 2001 From: Theo Linkspfeifer Date: Sat, 15 Feb 2020 16:41:33 +0100 Subject: [PATCH] Avoid unreadable names in detailed view (Bug #16391) --- thunar/thunar-details-view.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/thunar/thunar-details-view.c b/thunar/thunar-details-view.c index 5dabad6e..9409663a 100644 --- a/thunar/thunar-details-view.c +++ b/thunar/thunar-details-view.c @@ -269,7 +269,7 @@ G_GNUC_END_IGNORE_DEPRECATIONS /* add the name renderer */ g_object_set (G_OBJECT (THUNAR_STANDARD_VIEW (details_view)->name_renderer), - "xalign", 0.0, "ellipsize", PANGO_ELLIPSIZE_END, NULL); + "xalign", 0.0, "ellipsize", PANGO_ELLIPSIZE_END, "width-chars", 30, NULL); gtk_tree_view_column_pack_start (details_view->columns[column], THUNAR_STANDARD_VIEW (details_view)->name_renderer, TRUE); gtk_tree_view_column_set_attributes (details_view->columns[column], THUNAR_STANDARD_VIEW (details_view)->name_renderer, "text", THUNAR_COLUMN_NAME, -- 2.25.0