gnome-shell/gnome-shell-jscSLE9267-Remove-sessionList-of-endSessionDialog.patch

25 lines
1.0 KiB
Diff

Index: gnome-shell-44.beta/js/ui/endSessionDialog.js
===================================================================
--- gnome-shell-44.beta.orig/js/ui/endSessionDialog.js
+++ gnome-shell-44.beta/js/ui/endSessionDialog.js
@@ -296,7 +296,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);
@@ -758,8 +758,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;