From 58e66b9e1b6257083e531b10ad27c3276cae10c0 Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Wed, 20 Mar 2013 17:24:23 -0400 Subject: [PATCH] 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 --- js/ui/components/autorunManager.js | 1 + 1 file changed, 1 insertion(+) diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js index d5526ef86..88b08a2af 100644 --- a/js/ui/components/autorunManager.js +++ b/js/ui/components/autorunManager.js @@ -292,6 +292,7 @@ const AutorunResidentSource = new Lang.Class({ _init: function(manager) { this.parent(_("Removable Devices"), 'media-removable'); + this.resident = true; this._mounts = [];