aboutsummaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorRitesh Khadgaray <ritesh@canonical.com>2013-08-06 14:33:21 +0530
committerRitesh Khadgaray <ritesh@canonical.com>2013-08-06 14:33:21 +0530
commitd8d4a6fa9f650e86d35d7141406195d4fee54a6c (patch)
treebec1404c2abf1ed8abf0b0d93c60b849a1bcd097 /src/service.c
parent5cc9ae3dd2d78b205400779b969f528f3b602f15 (diff)
downloadayatana-indicator-session-d8d4a6fa9f650e86d35d7141406195d4fee54a6c.tar.gz
ayatana-indicator-session-d8d4a6fa9f650e86d35d7141406195d4fee54a6c.tar.bz2
ayatana-indicator-session-d8d4a6fa9f650e86d35d7141406195d4fee54a6c.zip
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
Diffstat (limited to 'src/service.c')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
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