[gnome-shell/wip/message-tray-menu: 107/109] network: Remove the enable networking item
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/message-tray-menu: 107/109] network: Remove the enable networking item
- Date: Thu, 9 May 2013 15:45:20 +0000 (UTC)
commit 6ce79a513724bd18acc8e89b7fdaa9849617d20c
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Mon Apr 29 15:35:14 2013 -0400
network: Remove the enable networking item
js/ui/status/network.js | 9 ---------
1 files changed, 0 insertions(+), 9 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 68d36d7..eb924e7 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1373,15 +1373,6 @@ const NMApplet = new Lang.Class({
if (!this._client || !this._settings)
return;
- this._statusSection = new PopupMenu.PopupMenuSection();
- this._statusItem = new PopupMenu.PopupMenuItem('', { reactive: false });
- this._statusSection.addMenuItem(this._statusItem);
- this._statusSection.addAction(_("Enable networking"), Lang.bind(this, function() {
- this._client.networking_enabled = true;
- }));
- this._statusSection.actor.hide();
- this.menu.addMenuItem(this._statusSection);
-
this._activeConnections = [ ];
this._connections = [ ];
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]