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);