[gnome-break-timer] Add a default notification action



commit faee091332589d9c2c8ad1699abfad8113b69b1c
Author: Dylan McCall <dylan dylanmccall ca>
Date:   Thu Nov 19 18:27:01 2020 -0800

    Add a default notification action

 src/daemon/break/BreakView.vala | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/src/daemon/break/BreakView.vala b/src/daemon/break/BreakView.vala
index d040466..a6b56a2 100644
--- a/src/daemon/break/BreakView.vala
+++ b/src/daemon/break/BreakView.vala
@@ -74,6 +74,7 @@ public abstract class BreakView : UIFragment {
         if (this.notifications_can_do ("actions")) {
             /* Label for a notification action that shows information about the current break */
             notification.add_action ("info", _("What should I do?"), this.notification_action_info_cb);
+            notification.add_action ("default", notification.summary, this.notification_action_info_cb);
         }
         this.show_notification (notification);
         this.last_break_notification_time = TimeUnit.get_real_time_seconds ();


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