[gnome-shell/wip/message-tray-menu: 109/109] network: Remove the bold headings
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/message-tray-menu: 109/109] network: Remove the bold headings
- Date: Thu, 9 May 2013 15:45:30 +0000 (UTC)
commit b7b1775e3f428a8f8bca6ba92c657d9e313f68a8
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 273fd4f..0452987 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -243,11 +243,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 8d88fb7..13994cb 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)
@@ -1054,7 +1054,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' });
@@ -1277,8 +1277,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]