Commit 3cc3ee06 authored by Samuel Gyger's avatar Samuel Gyger Committed by Andrés G. Aragoneses

NotificationArea: play notification on Gnome Lockscreen (bgo#733517)

Signed-off-by: default avatarAndrés G. Aragoneses <knocte@gmail.com>
parent 0b147484
......@@ -13,3 +13,4 @@ X-GNOME-Bugzilla-Bugzilla=GNOME
X-GNOME-Bugzilla-Product=banshee
X-GNOME-Bugzilla-Component=General
X-GNOME-Bugzilla-Version=@VERSION@
X-GNOME-UsesNotifications=true
......@@ -500,6 +500,10 @@ namespace Banshee.NotificationArea
current_nf.AddHint ("image-path", image);
}
if (ServiceManager.PlayerEngine.IsPlaying ()) {
current_nf.Category = "x-gnome.music";
}
if (PersistenceSupported) {
current_nf.AddHint ("resident", true);
}
......
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