3effc9cfc2
While we have some style inconsistencies - mostly regarding split lines, i.e. aligning to the first arguments vs. a four-space indent - there are a couple of places where the spacing is simply wrong. Fix those. Spotted by eslint. https://gitlab.gnome.org/GNOME/gnome-shell-extensions/merge_requests/49
15 lines
351 B
JavaScript
15 lines
351 B
JavaScript
const AppDisplay = imports.ui.appDisplay;
|
|
|
|
let _activateOriginal = null;
|
|
|
|
function enable() {
|
|
_activateOriginal = AppDisplay.AppIcon.prototype.activate;
|
|
AppDisplay.AppIcon.prototype.activate = function() {
|
|
_activateOriginal.call(this, 2);
|
|
};
|
|
}
|
|
|
|
function disable() {
|
|
AppDisplay.AppIcon.prototype.activate = _activateOriginal;
|
|
}
|