File gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch of Package gnome-shell
Index: gnome-shell-42.rc/js/ui/endSessionDialog.js
===================================================================
--- gnome-shell-42.rc.orig/js/ui/endSessionDialog.js
+++ gnome-shell-42.rc/js/ui/endSessionDialog.js
@@ -298,7 +298,7 @@ class EndSessionDialog extends ModalDial
this.contentLayout.add_child(this._applicationSection);
this._sessionSection = new Dialog.ListSection({
- title: _('Other users are logged in'),
+ title: _('Other users are logged in. You can list these users with the "who" command.'),
});
this.contentLayout.add_child(this._sessionSection);
@@ -773,8 +773,8 @@ class EndSessionDialog extends ModalDial
this._applications.push(inhibitor);
}
- if (dialogContent.showOtherSessions)
- this._loadSessions();
+ // if (dialogContent.showOtherSessions) // Hide _sessionList for jsc#SLE-9267
+ // this._loadSessions();
let updatesAllowed = this._updatesPermission && this._updatesPermission.allowed;