autorunManager: Mark the Removable Devices source as resident

This ensures that it can't be removed when we clear the message
tray.

https://bugzilla.gnome.org/show_bug.cgi?id=696199
This commit is contained in:
Jasper St. Pierre 2013-03-20 17:24:23 -04:00
parent ac7efcb43a
commit 58e66b9e1b

View File

@ -292,6 +292,7 @@ const AutorunResidentSource = new Lang.Class({
_init: function(manager) { _init: function(manager) {
this.parent(_("Removable Devices"), 'media-removable'); this.parent(_("Removable Devices"), 'media-removable');
this.resident = true;
this._mounts = []; this._mounts = [];