autorunManager: Follow Files' notification policy

Builtin chat and network notifications already follow the notification
policy of appropriate applications, it makes sense to do the same for
autorun notifications to give users control over hotplug notifications
in Settings.
This commit is contained in:
Florian Müllner 2015-11-16 20:27:08 +01:00
parent f0496a2d3c
commit 8d7bb6496c

View File

@ -313,6 +313,10 @@ const AutorunSource = new Lang.Class({
getIcon: function() {
return this.mount.get_icon();
},
_createPolicy: function() {
return new MessageTray.NotificationApplicationPolicy('org.gnome.Nautilus');
}
});