[PATCH 4/4] applet: make sure notification actions are clearer when the notification is updated.



---
 src/applet.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/applet.c b/src/applet.c
index bcbc76d..dfde2d7 100644
--- a/src/applet.c
+++ b/src/applet.c
@@ -952,6 +952,7 @@ applet_do_notify (NMApplet *applet,
        notify_notification_set_timeout (notify, NOTIFY_EXPIRES_DEFAULT);
 
        if (applet_notify_server_has_actions () && action1) {
+               notify_notification_clear_actions (notify);
                notify_notification_add_action (notify, action1, action1_label,
                                                action1_cb, action1_user_data, NULL);
        }
-- 
1.8.1.2



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]