aboutsummaryrefslogtreecommitdiff
path: root/src/session-service.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-18 12:45:50 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-18 12:45:50 +0100
commitdce6ee5caccdf9f9683bad26d062671a889792ee (patch)
tree3ec6f8862d88f3f87ede4e6837e93698e42286e9 /src/session-service.c
parentfbc3c1069a1472d0c5229eb6bcd583e784fcc963 (diff)
downloadayatana-indicator-session-dce6ee5caccdf9f9683bad26d062671a889792ee.tar.gz
ayatana-indicator-session-dce6ee5caccdf9f9683bad26d062671a889792ee.tar.bz2
ayatana-indicator-session-dce6ee5caccdf9f9683bad26d062671a889792ee.zip
greeter mode uses to flag whether we are showing the user menu or not
Diffstat (limited to 'src/session-service.c')
-rw-r--r--src/session-service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/session-service.c b/src/session-service.c
index fa212fd..753e304 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -118,7 +118,7 @@ main (int argc, char ** argv)
if (!greeter_mode) {
// Users
- UserMenuMgr* user_mgr = user_menu_mgr_new (session_dbus);
+ UserMenuMgr* user_mgr = user_menu_mgr_new (session_dbus, greeter_mode);
DbusmenuServer* users_server = dbusmenu_server_new (INDICATOR_USERS_DBUS_OBJECT);
dbusmenu_server_set_root (users_server, user_mgr_get_root_item (user_mgr));
}