[gnome-shell/gbsneto/more-lock-screen-fixes: 1/3] loginDialog: Hide session menu button when showing the user list



commit 77890c6000de2bef2c7c43763cf94ce35831cc3e
Author: Georges Basile Stavracas Neto <georges stavracas gmail com>
Date:   Thu Feb 13 12:39:13 2020 -0300

    loginDialog: Hide session menu button when showing the user list
    
    In the past, the session menu button was part of the auth prompt widgetry,
    so we didn't have to manually hide it when showing the user list. However,
    now it is part of the login screen itself.
    
    Hide the session menu button when the user list is shown.
    
    https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/999

 js/gdm/loginDialog.js | 1 +
 1 file changed, 1 insertion(+)
---
diff --git a/js/gdm/loginDialog.js b/js/gdm/loginDialog.js
index cad09b5487..c7bb7b06e8 100644
--- a/js/gdm/loginDialog.js
+++ b/js/gdm/loginDialog.js
@@ -1139,6 +1139,7 @@ var LoginDialog = GObject.registerClass({
         this._authPrompt.hide();
         this._hideBannerView();
         this._sessionMenuButton.close();
+        this._sessionMenuButton.hide();
         this._setUserListExpanded(true);
         this._notListedButton.show();
         this._userList.grab_key_focus();


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]