From d47ecf19f56ba04c6c21f03ec7b2170b392b6892 Mon Sep 17 00:00:00 2001 From: Sebastien Lafargue Date: Sun, 20 Oct 2013 15:03:18 +0200 Subject: [PATCH] need space between item in endsession dialog session-list and app-list https://bugzilla.gnome.org/show_bug.cgi?id=710543 --- data/theme/gnome-shell.css | 5 +++++ js/ui/endSessionDialog.js | 6 ++++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/data/theme/gnome-shell.css b/data/theme/gnome-shell.css index 68f865d8b..b3371d3d4 100644 --- a/data/theme/gnome-shell.css +++ b/data/theme/gnome-shell.css @@ -1967,6 +1967,11 @@ StScrollBar StButton#vhandle:active { padding-left: 50px; } +.end-session-dialog-session-list, +.end-session-dialog-app-list { + spacing: 1em; +} + .end-session-dialog-list-header { font-weight: bold; } diff --git a/js/ui/endSessionDialog.js b/js/ui/endSessionDialog.js index 457b319bf..11f619ae1 100644 --- a/js/ui/endSessionDialog.js +++ b/js/ui/endSessionDialog.js @@ -273,13 +273,15 @@ const EndSessionDialog = new Lang.Class({ this._applicationHeader = new St.Label({ style_class: 'end-session-dialog-list-header', text: _("Some applications are busy or have unsaved work.") }); - this._applicationList = new St.BoxLayout({ vertical: true }); + this._applicationList = new St.BoxLayout({ style_class: 'end-session-dialog-app-list', + vertical: true }); this._inhibitorSection.add_actor(this._applicationHeader); this._inhibitorSection.add_actor(this._applicationList); this._sessionHeader = new St.Label({ style_class: 'end-session-dialog-list-header', text: _("Other users are logged in.") }); - this._sessionList = new St.BoxLayout({ vertical: true }); + this._sessionList = new St.BoxLayout({ style_class: 'end-session-dialog-session-list', + vertical: true }); this._inhibitorSection.add_actor(this._sessionHeader); this._inhibitorSection.add_actor(this._sessionList);