Moving extensions to subdirectory.
Signed-off-by: Daniel Baumann <daniel@debian.org>
This commit is contained in:
parent
85c775d27a
commit
8bea733956
58 changed files with 0 additions and 0 deletions
|
@ -0,0 +1,21 @@
|
|||
'use strict'
|
||||
|
||||
const WorkspaceSwitcherPopup = imports.ui.workspaceSwitcherPopup.WorkspaceSwitcherPopup;
|
||||
|
||||
class Extension {
|
||||
constructor() {
|
||||
this.originalWorkspaceSwitcherPopup_display = WorkspaceSwitcherPopup.prototype.display;
|
||||
}
|
||||
|
||||
enable() {
|
||||
WorkspaceSwitcherPopup.prototype.display = () => {};
|
||||
}
|
||||
|
||||
disable() {
|
||||
WorkspaceSwitcherPopup.prototype.display = this.originalWorkspaceSwitcherPopup_display;
|
||||
}
|
||||
}
|
||||
|
||||
function init() {
|
||||
return new Extension();
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue