[gnome-shell/wip/aggregate-menu: 20/36] network: Remove separators between device sections



commit ece11e4c7620a343f9c7d321dba7887107bec2fb
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 90b9a7e..1cb79ff 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -1444,7 +1444,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 = [ ];
@@ -1464,19 +1463,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(),
@@ -1484,7 +1479,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(),
@@ -1492,7 +1486,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._vpnSection.connect('activation-failed', Lang.bind(this, this._onActivationFailed));


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]