[gnome-shell-extensions] launch-new-instances: Drop obsolete signals and callbacks
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell-extensions] launch-new-instances: Drop obsolete signals and callbacks
- Date: Mon, 28 Apr 2014 23:10:06 +0000 (UTC)
commit 512ff51d13bac33c090a5956f1764bcae5b14dcb
Author: Debarshi Ray <debarshir gnome org>
Date: Thu Jan 9 14:46:41 2014 +0100
launch-new-instances: Drop obsolete signals and callbacks
The 'launching' signal and this._onActivateOverride callback were
removed from gnome-shell in 7ecb5af587af7ed892c6cfc5af0858a2acb04905
and 7ecb5af587af7ed892c6cfc5af0858a2acb04905 respectively.
https://bugzilla.gnome.org/show_bug.cgi?id=721864
extensions/launch-new-instance/extension.js | 9 +--------
1 files changed, 1 insertions(+), 8 deletions(-)
---
diff --git a/extensions/launch-new-instance/extension.js b/extensions/launch-new-instance/extension.js
index 4a801d8..5fb45d0 100644
--- a/extensions/launch-new-instance/extension.js
+++ b/extensions/launch-new-instance/extension.js
@@ -5,14 +5,7 @@ var _onActivateOriginal = null;
var _activateResultOriginal = null;
function _onActivate(event) {
-
- this.emit('launching');
-
- if (this._onActivateOverride) {
- this._onActivateOverride(event);
- } else {
- this.app.open_new_window(-1);
- }
+ this.app.open_new_window(-1);
Main.overview.hide();
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]