[Xfce4-commits] [apps/xfce4-notifyd] 12/24: panel-plugin: Make sure summary and body wrap at the same width

noreply at xfce.org noreply at xfce.org
Fri Sep 8 23:27:43 CEST 2017


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 apps/xfce4-notifyd.

commit e2500d5f769dd38a234731e6363407737ab6d0d3
Author: Simon Steinbeiss <simon.steinbeiss at elfenbeinturm.at>
Date:   Thu Aug 24 00:36:13 2017 +0200

    panel-plugin: Make sure summary and body wrap at the same width
---
 panel-plugin/notification-plugin-log.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/panel-plugin/notification-plugin-log.c b/panel-plugin/notification-plugin-log.c
index e72354e..c25fe4f 100644
--- a/panel-plugin/notification-plugin-log.c
+++ b/panel-plugin/notification-plugin-log.c
@@ -138,6 +138,8 @@ G_GNUC_END_IGNORE_DEPRECATIONS
       summary = gtk_label_new (NULL);
       gtk_label_set_markup (GTK_LABEL (summary), markup);
       gtk_label_set_xalign (GTK_LABEL (summary), 0);
+      gtk_label_set_ellipsize (GTK_LABEL (summary), PANGO_ELLIPSIZE_END);
+      gtk_label_set_max_width_chars (GTK_LABEL (summary), 40);
       g_free (markup);
 
       tmp = g_key_file_get_string (notify_log, group, "body", NULL);

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


More information about the Xfce4-commits mailing list