[gnome-shell] autorunManager: Mark the Removable Devices source as resident



commit 58e66b9e1b6257083e531b10ad27c3276cae10c0
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Wed Mar 20 17:24:23 2013 -0400

    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 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/js/ui/components/autorunManager.js b/js/ui/components/autorunManager.js
index d5526ef..88b08a2 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 = [];
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]