diff options
author | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-07-09 10:03:18 +0200 |
---|---|---|
committer | Mike Gabriel <mike.gabriel@das-netzwerkteam.de> | 2024-07-09 10:11:43 +0200 |
commit | 1aeb61ffaf15a37183d672b02e9f917401877ab5 (patch) | |
tree | 3a6dc2d3ec03d9396aa89b96cb70b1388285cfa7 /src | |
parent | fc7211c8abed21ee85d5cab0a05d1a86f4b0abe9 (diff) | |
download | arctica-greeter-1aeb61ffaf15a37183d672b02e9f917401877ab5.tar.gz arctica-greeter-1aeb61ffaf15a37183d672b02e9f917401877ab5.tar.bz2 arctica-greeter-1aeb61ffaf15a37183d672b02e9f917401877ab5.zip |
src/session-list.vala: Skip session key 'default' when detecting the session's icon name.
Diffstat (limited to 'src')
-rw-r--r-- | src/session-list.vala | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/session-list.vala b/src/session-list.vala index eb2892e..8354f00 100644 --- a/src/session-list.vala +++ b/src/session-list.vala @@ -239,6 +239,12 @@ public class SessionList : GreeterList { foreach (var real_session in sessions) { + // Skip the default session + if (real_session.key == "default") { + continue; + } + + // If we find the real session, use its key value for badge icon loading... if (real_session.name == find_session.name) { session = real_session.key; |