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