[gnome-shell] Revert "network: being able to use keyboard to connect to a Wireless"
- From: Florian Müllner <fmuellner src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] Revert "network: being able to use keyboard to connect to a Wireless"
- Date: Thu, 17 Oct 2013 17:47:57 +0000 (UTC)
commit 2f39f3d146c91a4f7003d148af495137ccfba844
Author: Florian Müllner <fmuellner gnome org>
Date: Thu Oct 17 18:51:00 2013 +0200
Revert "network: being able to use keyboard to connect to a Wireless"
This reverts commit d175a588f7949272e6a69bb956b6497a0b6897b0.
https://bugzilla.gnome.org/show_bug.cgi?id=710144
js/ui/status/network.js | 15 ---------------
1 files changed, 0 insertions(+), 15 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 0ff2037..fdd95a7 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -559,8 +559,6 @@ const NMWirelessDialogItem = new Lang.Class({
this.actor.grab_key_focus();
}));
- this.actor.connect('key-press-event', Lang.bind(this, this._onKeyPressEvent));
-
this._content = new St.BoxLayout({ style_class: 'nm-dialog-item-box' });
this.actor.set_child(this._content);
@@ -606,16 +604,6 @@ const NMWirelessDialogItem = new Lang.Class({
return 'network-workgroup-symbolic';
else
return 'network-wireless-signal-' + signalToIcon(this._ap.strength) + '-symbolic';
- },
-
- _onKeyPressEvent: function(actor, event) {
- let symbol = event.get_key_symbol();
- if (symbol == Clutter.KEY_space || symbol == Clutter.KEY_Return
- || symbol == Clutter.KEY_KP_Enter) {
- this.emit('connect');
- return true;
- }
- return false;
}
});
Signals.addSignalMethods(NMWirelessDialogItem.prototype);
@@ -984,9 +972,6 @@ const NMWirelessDialog = new Lang.Class({
Util.ensureActorVisibleInScrollView(this._scrollView, network.item.actor);
this._selectNetwork(network);
}));
- network.item.connect('connect', Lang.bind(this, function() {
- this._connect();
- }));
},
});
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]