Commit a22c343e authored by Giovanni Campagna's avatar Giovanni Campagna Committed by Jonathan Matthew
Browse files

Support Notification Filtering GNOME feature

Report that we emit notifications in the desktop files, add desktop-entry
for filtering and, most important, add music category so that our notifications
are shown with actions in the lock screen.
parent f383854a
......@@ -17,3 +17,4 @@ X-GNOME-Bugzilla-Product=rhythmbox
\ No newline at end of file
......@@ -199,6 +199,11 @@ do_notify (RBNotificationPlugin *plugin,
g_variant_new_string (image_uri));
if (playback)
notify_notification_set_category (notification, "");
notify_notification_set_hint (notification, "desktop-entry",
g_variant_new_string ("rhythmbox"));
notify_notification_clear_actions (notification);
if (playback && plugin->notify_supports_actions) {
if (plugin->notify_supports_icon_buttons) {
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment