[rhythmbox: 1/2] Do silent notifications
- From: Jonathan Matthew <jmatthew src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rhythmbox: 1/2] Do silent notifications
- Date: Thu, 26 Sep 2019 10:31:08 +0000 (UTC)
commit c13401894805d13dd665f29260a46412561ed0bb
Author: Germán Franco <dev germanfr gmail com>
Date: Thu Sep 26 10:30:53 2019 +0000
Do silent notifications
plugins/notification/rb-notification-plugin.c | 2 ++
1 file changed, 2 insertions(+)
---
diff --git a/plugins/notification/rb-notification-plugin.c b/plugins/notification/rb-notification-plugin.c
index e42064b07..2d3d0cb50 100644
--- a/plugins/notification/rb-notification-plugin.c
+++ b/plugins/notification/rb-notification-plugin.c
@@ -254,6 +254,8 @@ do_notify (RBNotificationPlugin *plugin,
notify_notification_set_hint (notification, hint, g_variant_new_boolean (TRUE));
}
+ notify_notification_set_hint (notification, "suppress-sound", g_variant_new_boolean (TRUE));
+
if (notify_notification_show (notification, &error) == FALSE) {
g_warning ("Failed to send notification (%s): %s", primary, error->message);
g_error_free (error);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]