diff options
author | mwileczka <mikewileczka@gmail.com> | 2019-07-01 04:06:40 -0400 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2023-02-06 12:08:33 +0100 |
commit | 828cae88632e0cf3534063fd199c7796dd1e99dd (patch) | |
tree | 8bd7ba95f1c3a9a3d2be5b1c9ce8861167a0a0da /src | |
parent | e79bf3a819a0c972eeabd3018d412baf0531965b (diff) | |
download | arctica-greeter-828cae88632e0cf3534063fd199c7796dd1e99dd.tar.gz arctica-greeter-828cae88632e0cf3534063fd199c7796dd1e99dd.tar.bz2 arctica-greeter-828cae88632e0cf3534063fd199c7796dd1e99dd.zip |
Fixed default session for manual user entry.
Ported from Slick Greeter by Mike Gabriel.
https://github.com/linuxmint/slick-greeter/commit/d85d872a84233b125278825e5d64162079b84fc7
Diffstat (limited to 'src')
-rw-r--r-- | src/user-list.vala | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/user-list.vala b/src/user-list.vala index 9f4b265..b4cab22 100644 --- a/src/user-list.vala +++ b/src/user-list.vala @@ -874,6 +874,10 @@ public class UserList : GreeterList } e.background = background; e.is_active = is_active; + if ( session == null) + { + session = default_session; + } e.session = ArcticaGreeter.validate_session(session); e.label = label; e.set_show_message_icon (has_messages); |