aboutsummaryrefslogtreecommitdiff
path: root/src/session-list.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/session-list.vala')
-rw-r--r--src/session-list.vala6
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;