aboutsummaryrefslogtreecommitdiff
path: root/src/user-list.vala
diff options
context:
space:
mode:
authorClement Lefebvre <clement.lefebvre@linuxmint.com>2017-06-20 15:20:08 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2017-06-20 15:20:08 +0200
commitba46af16e693fa86f9270d5e9135a2381a8a62f9 (patch)
tree1f54e0d3844d2b5c998b525e7d50b86b25facfc1 /src/user-list.vala
parent2fa9791d9802d5c34323d9bd99ad9fa608abdda6 (diff)
downloadarctica-greeter-ba46af16e693fa86f9270d5e9135a2381a8a62f9.tar.gz
arctica-greeter-ba46af16e693fa86f9270d5e9135a2381a8a62f9.tar.bz2
arctica-greeter-ba46af16e693fa86f9270d5e9135a2381a8a62f9.zip
Add support for validating session names (and proper fallback for uninstalled sessions). Ported from slick-greeter.
Diffstat (limited to 'src/user-list.vala')
-rw-r--r--src/user-list.vala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/user-list.vala b/src/user-list.vala
index ad68a17..319e833 100644
--- a/src/user-list.vala
+++ b/src/user-list.vala
@@ -859,7 +859,7 @@ public class UserList : GreeterList
}
e.background = background;
e.is_active = is_active;
- e.session = session;
+ e.session = ArcticaGreeter.validate_session(session);
e.label = label;
e.set_show_message_icon (has_messages);
e.set_is_active (is_active);