aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-30 16:46:28 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-30 16:46:28 +0100
commit267bef38a08ff9d7d401cf5027d1dc2876430ca4 (patch)
tree319d6e5d48e891ca3686e859db55e7851961ba5a
parent6ce3738b7e6c27f22cb949e2668e9ee47b4ced3f (diff)
downloadayatana-indicator-session-267bef38a08ff9d7d401cf5027d1dc2876430ca4.tar.gz
ayatana-indicator-session-267bef38a08ff9d7d401cf5027d1dc2876430ca4.tar.bz2
ayatana-indicator-session-267bef38a08ff9d7d401cf5027d1dc2876430ca4.zip
remove broken logic concerned with displaying the user menu
-rw-r--r--src/user-menu-mgr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/user-menu-mgr.c b/src/user-menu-mgr.c
index 1747a8a..c11e0b9 100644
--- a/src/user-menu-mgr.c
+++ b/src/user-menu-mgr.c
@@ -179,9 +179,8 @@ user_menu_mgr_rebuild_items (UserMenuMgr *self, gboolean greeter_mode)
gboolean user_menu_is_visible = FALSE;
- // question for Ted, how to detect guest session is enabled.
if (!greeter_mode){
- user_menu_is_visible = TRUE;//self->user_count > 1 || check_guest_session();
+ user_menu_is_visible = TRUE;
}
session_dbus_set_user_menu_visibility (self->session_dbus_interface,