[Xfce4-commits] [xfce/xfce4-panel] 01/02: tasklist: Fix overlapping vertical window titles (Bug #14901)

noreply at xfce.org noreply at xfce.org
Mon Jul 22 00:15:09 CEST 2019


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

o   c   h   o   s   i       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/xfce4-panel.

commit 0c80148ae547d9311e9645e276d6d3604b10c535
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Mon Jul 22 00:09:21 2019 +0200

    tasklist: Fix overlapping vertical window titles (Bug #14901)
    
    It seems unclear why ellipsizing was disabled in Gtk+2, but possibly the
    behaviour of vertical lables has changed in this respect.
---
 plugins/tasklist/tasklist-widget.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/plugins/tasklist/tasklist-widget.c b/plugins/tasklist/tasklist-widget.c
index fc919b5..cc5a7c1 100644
--- a/plugins/tasklist/tasklist-widget.c
+++ b/plugins/tasklist/tasklist-widget.c
@@ -2662,6 +2662,7 @@ xfce_tasklist_button_name_changed (WnckWindow        *window,
     }
 
   gtk_label_set_text (GTK_LABEL (child->label), name);
+  gtk_label_set_ellipsize (GTK_LABEL (child->label), child->tasklist->ellipsize_mode);
 
   g_free (label);
 
@@ -4328,8 +4329,6 @@ xfce_tasklist_update_orientation (XfceTasklist *tasklist)
           gtk_label_set_xalign (GTK_LABEL (child->label), 0.0);
           gtk_label_set_yalign (GTK_LABEL (child->label), 0.5);
           gtk_label_set_angle (GTK_LABEL (child->label), 0);
-          gtk_label_set_ellipsize (GTK_LABEL (child->label),
-                                   child->tasklist->ellipsize_mode);
         }
       else
         {
@@ -4337,7 +4336,6 @@ xfce_tasklist_update_orientation (XfceTasklist *tasklist)
           gtk_label_set_yalign (GTK_LABEL (child->label), 0.0);
           gtk_label_set_xalign (GTK_LABEL (child->label), 0.5);
           gtk_label_set_angle (GTK_LABEL (child->label), 270);
-          gtk_label_set_ellipsize (GTK_LABEL (child->label), PANGO_ELLIPSIZE_NONE);
         }
     }
 

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


More information about the Xfce4-commits mailing list