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

ochosi pushed a 
commit to branch 
master
in repository apps/xfce4-notifyd.

commit f8d6aaf1c1498334749a1a45734f960cac59951a
Author: Simon Steinbeiss <[email protected]>
Date:   Sun Oct 29 23:47:34 2017 +0100

    Ensure body and summary of notifications are correctly ellipsized (Bug 
#12674)
    
    Not sure how the maximum width for notification bubbles could before really
    have worked.
---
 xfce4-notifyd/xfce-notify-window.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/xfce4-notifyd/xfce-notify-window.c 
b/xfce4-notifyd/xfce-notify-window.c
index 50a5f05..e5e7be2 100644
--- a/xfce4-notifyd/xfce-notify-window.c
+++ b/xfce4-notifyd/xfce-notify-window.c
@@ -257,6 +257,7 @@ xfce_notify_window_init(XfceNotifyWindow *window)
     window->summary = gtk_label_new(NULL);
     gtk_widget_set_name (window->summary, "summary");
     gtk_label_set_max_width_chars (GTK_LABEL(window->summary), screen_width);
+    gtk_label_set_ellipsize (GTK_LABEL (window->summary), PANGO_ELLIPSIZE_END);
     gtk_label_set_line_wrap(GTK_LABEL(window->summary), TRUE);
 #if GTK_CHECK_VERSION (3, 16, 0)
     gtk_label_set_xalign (GTK_LABEL(window->summary), 0);
@@ -269,6 +270,7 @@ xfce_notify_window_init(XfceNotifyWindow *window)
     window->body = gtk_label_new(NULL);
     gtk_widget_set_name (window->body, "body");
     gtk_label_set_max_width_chars (GTK_LABEL(window->body), screen_width);
+    gtk_label_set_ellipsize (GTK_LABEL (window->body), PANGO_ELLIPSIZE_END);
     gtk_label_set_line_wrap(GTK_LABEL(window->body), TRUE);
 #if GTK_CHECK_VERSION (3, 16, 0)
     gtk_label_set_xalign (GTK_LABEL(window->body), 0);

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
Xfce4-commits mailing list
[email protected]
https://mail.xfce.org/mailman/listinfo/xfce4-commits

Reply via email to