components: Remove the built-in recorder keybinding and component

The keybinding is now part of gnome-settings-daemon
This commit is contained in:
Jasper St. Pierre
2013-07-17 21:22:54 -04:00
parent 310dc03e2a
commit 81bb7009ea
4 changed files with 3 additions and 113 deletions

View File

@ -21,6 +21,7 @@ const _modes = {
showCalendarEvents: false,
allowSettings: false,
allowExtensions: false,
allowScreencast: false,
enabledExtensions: [],
hasRunDialog: false,
hasWorkspaces: false,
@ -83,6 +84,7 @@ const _modes = {
showCalendarEvents: true,
allowSettings: true,
allowExtensions: true,
allowScreencast: true,
hasRunDialog: true,
hasWorkspaces: true,
hasWindows: true,
@ -91,7 +93,7 @@ const _modes = {
isPrimary: true,
unlockDialog: imports.ui.unlockDialog.UnlockDialog,
components: ['networkAgent', 'polkitAgent', 'telepathyClient',
'keyring', 'recorder', 'autorunManager', 'automountManager'],
'keyring', 'autorunManager', 'automountManager'],
panel: {
left: ['activities', 'appMenu'],
center: ['dateMenu'],
@ -183,10 +185,6 @@ const SessionMode = new Lang.Class({
return this._modeStack[this._modeStack.length - 1];
},
get allowScreencast() {
return this.components.indexOf('recorder') != -1;
},
_sync: function() {
let params = this._modes[this.currentMode];
let defaults;