[gnome-shell/wip/aggregate-menu: 40/69] network: Make the device section headers not bold
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell/wip/aggregate-menu: 40/69] network: Make the device section headers not bold
- Date: Fri, 26 Jul 2013 04:35:21 +0000 (UTC)
commit bb722db23c6d909a60c0e0b1a0d878ca0907a7f2
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jun 6 15:15:12 2013 -0400
network: Make the device section headers not bold
The new device section headers will be simple text strings
in the new designs.
This is a part of the new system status design, see
https://wiki.gnome.org/GnomeShell/Design/Guidelines/SystemStatus/
for design details.
https://bugzilla.gnome.org/show_bug.cgi?id=704670
data/theme/gnome-shell.css | 5 -----
js/ui/status/network.js | 5 ++---
2 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 749936d..fb453c0 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -234,11 +234,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 dd6feff..6154219 100644
--- a/js/ui/status/network.js
+++ b/js/ui/status/network.js
@@ -180,7 +180,7 @@ const NMDevice = new Lang.Class({
this._activeConnectionItem = null;
this._overflowItem = 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)
@@ -1240,8 +1240,7 @@ const NMVPNConnectionItem = new Lang.Class({
this._activeConnection = null;
this._activeConnectionChangedId = 0;
- this.menuItem = new PopupMenu.PopupSwitchMenuItem(connection.get_id(), false,
- { style_class: 'popup-subtitle-menu-item' });
+ this.menuItem = new PopupMenu.PopupSwitchMenuItem(connection.get_id(), false);
this.menuItem.connect('toggled', Lang.bind(this, this._toggle));
this._sync();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]