Skip to content

Commit

Permalink
Fix for #26: Set notification priority to URGENT, to bypass Do-Not-Di…
Browse files Browse the repository at this point in the history
…sturb. This requires the new io.elementary.notification server which is not released yet.
  • Loading branch information
marbetschar committed Feb 28, 2020
1 parent c7e70ef commit 04fa5be
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/Widgets/Clock.vala
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,7 @@ public class Timer.Widgets.Clock : Gtk.Overlay {
var main_window = (Timer.MainWindow) parent;
var notification = new Notification (_("It's time!"));
notification.set_body (_("Your time limit is over."));
notification.set_priority (NotificationPriority.URGENT);
main_window.send_notification (notification);
}
}
Expand Down

0 comments on commit 04fa5be

Please sign in to comment.