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 b59320b7c37ce44399b6d2fcc0672805b27e9a24 Author: Simon Steinbeiss <simon.steinbe...@elfenbeinturm.at> Date: Sat Sep 17 05:48:02 2016 +0200 Don't show notification buttons without text (Bug #12834) --- xfce4-notifyd/xfce-notify-window.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/xfce4-notifyd/xfce-notify-window.c b/xfce4-notifyd/xfce-notify-window.c index eb2cccf..7f81a29 100644 --- a/xfce4-notifyd/xfce-notify-window.c +++ b/xfce4-notifyd/xfce-notify-window.c @@ -927,6 +927,13 @@ xfce_notify_window_set_actions(XfceNotifyWindow *window, if(!cur_button_text || !cur_action_id || !*cur_action_id) break; + /* Gnome applications seem to send a "default" action which often has no + label or text, because it is intended to be executed when clicking + the notification window. + See https://developer.gnome.org/notification-spec/ + As we do not support this for the moment we hide buttons without labels. */ + if (g_strcmp0 (cur_button_text, "") == 0) + continue; btn = gtk_button_new(); g_object_set_data_full(G_OBJECT(btn), "--action-id", -- To stop receiving notification emails like this one, please contact the administrator of this repository. _______________________________________________ Xfce4-commits mailing list Xfce4-commits@xfce.org https://mail.xfce.org/mailman/listinfo/xfce4-commits