[gnome-shell/wip/message-tray-menu: 96/109] network: Remove separators between device sections
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/message-tray-menu: 96/109] network: Remove separators between device sections
- Date: Thu, 9 May 2013 15:44:25 +0000 (UTC)
commit b8e66acf0fb34277cdf923f5fc106f2f14bc1b60
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Fri Apr 26 01:37:19 2013 -0400
network: Remove separators between device sections
js/ui/status/network.js | 7 -------
1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index c1d9f3e..d5035ee 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1417,7 +1417,6 @@ const NMApplet = new Lang.Class({
}));
this._statusSection.actor.hide();
this.menu.addMenuItem(this._statusSection);
- this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._activeConnections = [ ];
this._connections = [ ];
@@ -1437,19 +1436,15 @@ const NMApplet = new Lang.Class({
section: new PopupMenu.PopupMenuSection(),
devices: [ ],
};
-
this._devices.wired.section.actor.hide();
this.menu.addMenuItem(this._devices.wired.section);
- this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._devices.virtual = {
section: new PopupMenu.PopupMenuSection(),
devices: [ ],
};
-
this._devices.virtual.section.actor.hide();
this.menu.addMenuItem(this._devices.virtual.section);
- this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._devices.wireless = {
section: new PopupMenu.PopupMenuSection(),
@@ -1457,7 +1452,6 @@ const NMApplet = new Lang.Class({
};
this._devices.wireless.section.actor.hide();
this.menu.addMenuItem(this._devices.wireless.section);
- this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._devices.wwan = {
section: new PopupMenu.PopupMenuSection(),
@@ -1465,7 +1459,6 @@ const NMApplet = new Lang.Class({
};
this._devices.wwan.section.actor.hide();
this.menu.addMenuItem(this._devices.wwan.section);
- this.menu.addMenuItem(new PopupMenu.PopupSeparatorMenuItem());
this._vpnSection = new NMVPNSection(this._client, this._connections);
this.menu.addMenuItem(this._vpnSection.section);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]