From d8d4a6fa9f650e86d35d7141406195d4fee54a6c Mon Sep 17 00:00:00 2001 From: Ritesh Khadgaray Date: Tue, 6 Aug 2013 14:33:21 +0530 Subject: lp# 1205273 - Session is not locked when switching to guest session For a single user system, the Lock should lock the screen rather than throwing the user back at DM. At the DM, user would have to key in their password twice, once at DM, second at screensaver. The appropriate fix would be for DM to unlock the screensaver, if session is active --- src/service.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/service.c b/src/service.c index 45de7d4..ae4eb75 100644 --- a/src/service.c +++ b/src/service.c @@ -450,7 +450,7 @@ create_switch_section (IndicatorSessionService * self) } else if (g_hash_table_size (p->users) == 1) { - const char * action = "indicator.switch-to-greeter"; + const char * action = "indicator.switch-to-screensaver"; item = g_menu_item_new (_("Lock"), action); } else -- cgit v1.2.3