[gnome-shell] LockScreenMenu: double the space between icons
- From: Giovanni Campagna <gcampagna src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] LockScreenMenu: double the space between icons
- Date: Mon, 17 Dec 2012 16:29:51 +0000 (UTC)
commit 529d012865aaa967a23ab723e2eac32cd11325f3
Author: Giovanni Campagna <gcampagna src gnome org>
Date: Sun Dec 16 23:28:11 2012 +0100
LockScreenMenu: double the space between icons
Using the same spacing as secondary status icons causes the
three indicators to be too close to each other.
https://bugzilla.gnome.org/show_bug.cgi?id=687955
data/theme/gnome-shell.css | 4 ++++
js/ui/status/lockScreenMenu.js | 1 +
2 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css
index 4084a84..a0f45b2 100644
--- a/data/theme/gnome-shell.css
+++ b/data/theme/gnome-shell.css
@@ -558,6 +558,10 @@ StScrollBar StButton#vhandle:active {
spacing: 4px;
}
+.lock-screen-status-button-box {
+ spacing: 8px;
+}
+
/* User Menu */
#panelUserMenu {
diff --git a/js/ui/status/lockScreenMenu.js b/js/ui/status/lockScreenMenu.js
index d47a7c1..2e07874 100644
--- a/js/ui/status/lockScreenMenu.js
+++ b/js/ui/status/lockScreenMenu.js
@@ -16,6 +16,7 @@ const Indicator = new Lang.Class({
_init: function() {
this.parent(null, _("Volume, network, battery"));
+ this._box.style_class = 'lock-screen-status-button-box';
this._volume = Main.panel.statusArea.volume;
if (this._volume) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]