Accepting request 1131256 from GNOME:Factory
Sync the changelog and patch with SLE/Leap. OBS-URL: https://build.opensuse.org/request/show/1131256 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/gnome-shell?expand=0&rev=246
This commit is contained in:
commit
d47b237d81
@ -374,6 +374,12 @@ Tue Feb 14 10:40:16 UTC 2023 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
+ Misc. bug fixes and cleanups
|
||||
+ Updated translations.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Tue Feb 7 01:17:47 UTC 2023 - Xiaoguang Wang <xiaoguang.wang@suse.com>
|
||||
|
||||
- Update gs-fate318433-prevent-same-account-multi-logins.patch:
|
||||
Fix no warning messages (bsc#1207323).
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sat Dec 10 09:03:48 UTC 2022 - Bjørn Lie <bjorn.lie@gmail.com>
|
||||
|
||||
|
@ -1,13 +1,13 @@
|
||||
Index: gnome-shell-41.3/js/gdm/loginDialog.js
|
||||
Index: gnome-shell-41.9/js/gdm/loginDialog.js
|
||||
===================================================================
|
||||
--- gnome-shell-41.3.orig/js/gdm/loginDialog.js
|
||||
+++ gnome-shell-41.3/js/gdm/loginDialog.js
|
||||
@@ -1043,6 +1043,29 @@ var LoginDialog = GObject.registerClass(
|
||||
--- gnome-shell-41.9.orig/js/gdm/loginDialog.js
|
||||
+++ gnome-shell-41.9/js/gdm/loginDialog.js
|
||||
@@ -1044,6 +1044,29 @@ var LoginDialog = GObject.registerClass(
|
||||
}
|
||||
|
||||
_onSessionOpened(client, serviceName) {
|
||||
+ if (this._user.get_num_sessions_anywhere() > 1) {
|
||||
+ this._authPrompt.setMessage(null,
|
||||
+ this._authPrompt.setMessage(
|
||||
+ _('Sorry, you have to log out a previous session first. Multiple logins are not supported.'),
|
||||
+ GdmUtil.MessageType.ERROR);
|
||||
+ // TODO: The following logic relies on the unverified fact that
|
||||
|
Loading…
Reference in New Issue
Block a user