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.vala3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/session-list.vala b/src/session-list.vala
index 820b4c6..290a7af 100644
--- a/src/session-list.vala
+++ b/src/session-list.vala
@@ -44,7 +44,8 @@ public class SessionPrompt : PromptBox
box = new ToggleBox (default_session, session);
- if (ArcticaGreeter.singleton.test_mode)
+ var greeter = new ArcticaGreeter ();
+ if (greeter.test_mode)
{
box.add_item ("gnome", "GNOME", SessionList.get_badge ("gnome"));
box.add_item ("kde", "KDE", SessionList.get_badge ("kde"));