From 8afe1f3d8aa7dcda90785c7d3a6915d6459a6bb5cb0347fd5dd8672fd112b442 Mon Sep 17 00:00:00 2001 From: Yifan Jiang Date: Wed, 6 Dec 2023 06:53:38 +0000 Subject: [PATCH] Accepting request 1131252 from home:xiaoguang_wang:branches:GNOME:Factory MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Sync with SLE-15-SP5. old: GNOME:Factory/gnome-shell new: home:xiaoguang_wang:branches:GNOME:Factory/gnome-shell rev None Index: gnome-shell.changes =================================================================== --- gnome-shell.changes (revision 556) +++ gnome-shell.changes (revision 2) @@ -375,6 +375,12 @@ + Updated translations. ------------------------------------------------------------------- +Tue Feb 7 01:17:47 UTC 2023 - Xiaoguang Wang + +- 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 - Update to version 43.2: Index: gs-fate318433-prevent-same-account-multi-logins.patch =================================================================== --- gs-fate318433-prevent-same-account-multi-logins.patch (revision 556) +++ gs-fate318433-prevent-same-account-multi-logins.patch (revision 2) @@ -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 OBS-URL: https://build.opensuse.org/request/show/1131252 OBS-URL: https://build.opensuse.org/package/show/GNOME:Factory/gnome-shell?expand=0&rev=557 --- gnome-shell.changes | 6 ++++++ gs-fate318433-prevent-same-account-multi-logins.patch | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/gnome-shell.changes b/gnome-shell.changes index fb9b0fd..e25a192 100644 --- a/gnome-shell.changes +++ b/gnome-shell.changes @@ -374,6 +374,12 @@ Tue Feb 14 10:40:16 UTC 2023 - Bjørn Lie + Misc. bug fixes and cleanups + Updated translations. +------------------------------------------------------------------- +Tue Feb 7 01:17:47 UTC 2023 - Xiaoguang Wang + +- 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 diff --git a/gs-fate318433-prevent-same-account-multi-logins.patch b/gs-fate318433-prevent-same-account-multi-logins.patch index fc27a9b..7cf137c 100644 --- a/gs-fate318433-prevent-same-account-multi-logins.patch +++ b/gs-fate318433-prevent-same-account-multi-logins.patch @@ -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