Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gnome-shell for openSUSE:Factory 
checked in at 2021-12-30 15:55:19
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gnome-shell (Old)
 and      /work/SRC/openSUSE:Factory/.gnome-shell.new.1896 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gnome-shell"

Thu Dec 30 15:55:19 2021 rev:214 rq:942957 version:41.2

Changes:
--------
--- /work/SRC/openSUSE:Factory/gnome-shell/gnome-shell.changes  2021-12-21 
18:40:42.729878178 +0100
+++ /work/SRC/openSUSE:Factory/.gnome-shell.new.1896/gnome-shell.changes        
2021-12-30 15:55:26.856655795 +0100
@@ -13,0 +14,7 @@
+Wed Dec 15 01:22:29 UTC 2021 - Xiaoguang Wang <xiaoguang.w...@suse.com>
+
+- Update gs-fate318433-prevent-same-account-multi-logins.patch:
+  Show message "Multiple logins are not supported" when mixed
+  locally/remotely login(bsc#1190745).
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gs-fate318433-prevent-same-account-multi-logins.patch ++++++
--- /var/tmp/diff_new_pack.N1R2BG/_old  2021-12-30 15:55:27.628656390 +0100
+++ /var/tmp/diff_new_pack.N1R2BG/_new  2021-12-30 15:55:27.632656393 +0100
@@ -1,7 +1,7 @@
-diff --git a/js/gdm/authPrompt.js b/js/gdm/authPrompt.js
-index 7a4a0d3..e5749d6 100644
---- a/js/gdm/authPrompt.js
-+++ b/js/gdm/authPrompt.js
+Index: gnome-shell-41.2/js/gdm/authPrompt.js
+===================================================================
+--- gnome-shell-41.2.orig/js/gdm/authPrompt.js
++++ gnome-shell-41.2/js/gdm/authPrompt.js
 @@ -31,6 +31,8 @@ var AuthPromptStatus = {
      VERIFICATION_SUCCEEDED: 3,
      VERIFICATION_CANCELLED: 4,
@@ -11,7 +11,7 @@
  };
  
  var BeginRequestType = {
-@@ -292,7 +294,12 @@ var AuthPrompt = GObject.registerClass({
+@@ -338,7 +340,13 @@ var AuthPrompt = GObject.registerClass({
      }
  
      _onVerificationComplete() {
@@ -19,16 +19,17 @@
          this.setActorInDefaultButtonWell(null);
 +
 +        if (this.verificationStatus === 
AuthPromptStatus.VERIFIED_BUT_FORBIDDEN) {
++            this.cancelButton.reactive = true;
 +            return;
 +        }
          this.verificationStatus = AuthPromptStatus.VERIFICATION_SUCCEEDED;
          this.cancelButton.reactive = false;
          this.cancelButton.can_focus = false;
-diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
-index 3f01ca0..0f5e64c 100644
---- a/js/gdm/loginDialog.js
-+++ b/js/gdm/loginDialog.js
-@@ -949,6 +949,8 @@ var LoginDialog = GObject.registerClass({
+Index: gnome-shell-41.2/js/gdm/loginDialog.js
+===================================================================
+--- gnome-shell-41.2.orig/js/gdm/loginDialog.js
++++ gnome-shell-41.2/js/gdm/loginDialog.js
+@@ -952,6 +952,8 @@ var LoginDialog = GObject.registerClass(
                  this._authPrompt.updateSensitivity(false);
                  let answer = this._authPrompt.getAnswer();
                  this._user = this._userManager.get_user(answer);
@@ -37,7 +38,7 @@
                  this._authPrompt.clear();
                  this._authPrompt.begin({ userName: answer });
                  this._updateCancelButton();
-@@ -1014,6 +1016,8 @@ var LoginDialog = GObject.registerClass({
+@@ -1017,6 +1019,8 @@ var LoginDialog = GObject.registerClass(
                                                          let answer = 
this._authPrompt.getAnswer();
                              let domain_answer = 
this._domainMenuButton.getDomainUser(answer);
                                                          this._user = 
this._userManager.get_user(domain_answer);
@@ -46,11 +47,11 @@
                                                          
this._authPrompt.clear();
                                                          
this._authPrompt.startSpinning();
                                                          
this._authPrompt.begin({ userName: domain_answer});
-@@ -1040,6 +1044,28 @@ var LoginDialog = GObject.registerClass({
+@@ -1043,6 +1047,28 @@ var LoginDialog = GObject.registerClass(
      }
  
      _onSessionOpened(client, serviceName) {
-+        if ( this._userLoginForbidden ) {
++        if (this._user.is_x_logged_in_remotely()) {
 +            this._authPrompt.setMessage(
 +                _('Sorry, you have to log out a previous session first. 
Multiple logins are not supported.'),
 +                GdmUtil.MessageType.ERROR);
@@ -75,7 +76,7 @@
          this._authPrompt.finish(() => this._startSession(serviceName));
      }
  
-@@ -1217,6 +1243,7 @@ var LoginDialog = GObject.registerClass({
+@@ -1238,6 +1264,7 @@ var LoginDialog = GObject.registerClass(
  
      _onUserListActivated(activatedItem) {
          this._user = activatedItem.user;

Reply via email to