autorunManager: Don't show a right-click menu

Activating the source shouldn't be possible, and neither should
removing it.

https://bugzilla.gnome.org/show_bug.cgi?id=683438
This commit is contained in:
Jasper St. Pierre
2012-09-05 12:34:01 -03:00
parent 6f5b700833
commit e71129aa68
2 changed files with 7 additions and 1 deletions

View File

@ -284,6 +284,10 @@ const AutorunResidentSource = new Lang.Class({
this._notification = new AutorunResidentNotification(this._manager, this);
},
buildRightClickMenu: function() {
return null;
},
addMount: function(mount, apps) {
if (!shouldAutorunMount(mount, false))
return;