[Xfce4-commits] [xfce/thunar] 01/01: Introduce ellipsis to Detailed View filename

noreply at xfce.org noreply at xfce.org
Sat May 5 21:28:07 CEST 2018


This is an automated email from the git hooks/post-receive script.

a   n   d   r   e       p   u   s   h   e   d       a       c   o   m   m   i   t       t   o       b   r   a   n   c   h       m   a   s   t   e   r   
   in repository xfce/thunar.

commit 1fc91212395c8c14d6b60a4ca1f1cc10343f703e
Author: Andre Miranda <andreldm at xfce.org>
Date:   Sat May 5 16:18:54 2018 -0300

    Introduce ellipsis to Detailed View filename
---
 thunar/thunar-details-view.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/thunar/thunar-details-view.c b/thunar/thunar-details-view.c
index 5a69ebf..dd8f182 100644
--- a/thunar/thunar-details-view.c
+++ b/thunar/thunar-details-view.c
@@ -266,7 +266,8 @@ thunar_details_view_init (ThunarDetailsView *details_view)
                                                NULL);
 
           /* add the name renderer */
-          g_object_set (G_OBJECT (THUNAR_STANDARD_VIEW (details_view)->name_renderer), "xalign", 0.0, NULL);
+          g_object_set (G_OBJECT (THUNAR_STANDARD_VIEW (details_view)->name_renderer),
+                        "xalign", 0.0, "ellipsize", PANGO_ELLIPSIZE_END, 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,

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the Xfce4-commits mailing list