[gnome-shell/wip/aggregate-menu: 34/36] network: Remove the bold headings



commit 19a973bdb5fc75c915099c2f4277aa8a68ad8f73
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Mon Apr 29 16:28:18 2013 -0400

    network: Remove the bold headings

 data/theme/gnome-shell.css |    5 -----
 js/ui/status/network.js    |    7 +++----
 2 files changed, 3 insertions(+), 9 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index af54700..df1cfec 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -238,11 +238,6 @@ StScrollBar StButton#vhandle:active {
     color: white;
 }
 
-.popup-subtitle-menu-item, .popup-subtitle-menu-item:insensitive {
-    font-weight: bold;
-    color: white;
-}
-
 .popup-menu-icon {
     icon-size: 1.09em;
 }
diff --git a/js/ui/status/network.js b/js/ui/status/network.js
index 428e423..8db7b42 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -86,7 +86,7 @@ const NMDevice = new Lang.Class({
         this._activeConnection = null;
         this._activeConnectionItem = null;
 
-        this.statusItem = new PopupMenu.PopupSwitchMenuItem('', this.connected, { style_class: 
'popup-subtitle-menu-item' });
+        this.statusItem = new PopupMenu.PopupSwitchMenuItem('', this.connected);
         this._statusChanged = this.statusItem.connect('toggled', Lang.bind(this, function(item, state) {
             let ok;
             if (state)
@@ -1050,7 +1050,7 @@ const NMDeviceWireless = new Lang.Class({
         this._dialog = null;
         this._item = new PopupMenu.PopupBaseMenuItem({ reactive: true });
         this._item.connect('activate', Lang.bind(this, this._showDialog));
-        this._nameLabel = new St.Label({ style_class: 'popup-subtitle-menu-item' });
+        this._nameLabel = new St.Label();
         this._item.addActor(this._nameLabel);
 
         this._statusLabel = new St.Label({ style_class: 'popup-status-menu-item' });
@@ -1273,8 +1273,7 @@ const NMVPNSection = new Lang.Class({
     },
 
     _createConnectionItem: function(connection) {
-        connection.item = new PopupMenu.PopupSwitchMenuItem(connection.get_id(), false,
-                                                            { style_class: 'popup-subtitle-menu-item' });
+        connection.item = new PopupMenu.PopupSwitchMenuItem(connection.get_id(), false);
         connection.item.connect('toggled', Lang.bind(this, function(menuItem) {
             if (menuItem.state) {
                 this._client.activate_connection(connection, null, null);


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