diff options
author | charles kerr <charlesk@canonical.com> | 2015-12-21 17:26:21 -0600 |
---|---|---|
committer | charles kerr <charlesk@canonical.com> | 2015-12-21 17:26:21 -0600 |
commit | b6aa1e4df3ee75981444e16c418a2aa5828ccb97 (patch) | |
tree | 039176a08a6f575025df5aa66fdd6240d79c4d4d /src/warn-notification.vala | |
parent | ccb78ba3fe467462eaa182625f965483ce331299 (diff) | |
download | ayatana-indicator-sound-b6aa1e4df3ee75981444e16c418a2aa5828ccb97.tar.gz ayatana-indicator-sound-b6aa1e4df3ee75981444e16c418a2aa5828ccb97.tar.bz2 ayatana-indicator-sound-b6aa1e4df3ee75981444e16c418a2aa5828ccb97.zip |
make notification calls async
Diffstat (limited to 'src/warn-notification.vala')
-rw-r--r-- | src/warn-notification.vala | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/warn-notification.vala b/src/warn-notification.vala index fb5b613..53f5140 100644 --- a/src/warn-notification.vala +++ b/src/warn-notification.vala @@ -38,7 +38,6 @@ public class IndicatorSound.WarnNotification: Notification } public bool show() { - close(); if (!notify_server_supports("actions")) return false; @@ -51,7 +50,7 @@ public class IndicatorSound.WarnNotification: Notification user_responded(Response.CANCEL); }); GLib.message("showing warning dialog"); - show_(); + show_.begin(); return true; } |