aboutsummaryrefslogtreecommitdiff
path: root/src/user-menu-mgr.c
diff options
context:
space:
mode:
authorConor Curran <conor.curran@canonical.com>2011-08-22 19:33:19 +0100
committerConor Curran <conor.curran@canonical.com>2011-08-22 19:33:19 +0100
commitd6b49642e37a60736767c356a5a0eac6ca394a4a (patch)
tree1f58ab49168f934b003f41bac8a701a51298c3b7 /src/user-menu-mgr.c
parentc8b7d9a2d30fbcd6e0d072a60318b6466653ebb1 (diff)
parent2d97d089958309db8115a5c9cfd9ffa4cb5ff39d (diff)
downloadayatana-indicator-session-d6b49642e37a60736767c356a5a0eac6ca394a4a.tar.gz
ayatana-indicator-session-d6b49642e37a60736767c356a5a0eac6ca394a4a.tar.bz2
ayatana-indicator-session-d6b49642e37a60736767c356a5a0eac6ca394a4a.zip
merged the dynamic users work
Diffstat (limited to 'src/user-menu-mgr.c')
-rw-r--r--src/user-menu-mgr.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/user-menu-mgr.c b/src/user-menu-mgr.c
index 1bd7468..bf00a34 100644
--- a/src/user-menu-mgr.c
+++ b/src/user-menu-mgr.c
@@ -76,7 +76,7 @@ user_menu_mgr_init (UserMenuMgr *self)
G_CALLBACK (user_change),
self);
g_signal_connect (G_OBJECT (self->users_dbus_interface),
- "user-removed",
+ "user-deleted",
G_CALLBACK (user_change),
self);
}
@@ -361,9 +361,9 @@ user_change (UsersServiceDbus *service,
const gchar *user_id,
gpointer user_data)
{
- //DbusmenuMenuitem *root = (DbusmenuMenuitem *)user_data;
- // TODO sort this out.
- //rebuild_user_items (root, service);
+ g_return_if_fail (USER_IS_MENU_MGR (user_data));
+ UserMenuMgr* user_mgr = USER_MENU_MGR(user_data);
+ user_menu_mgr_rebuild_items (user_mgr, FALSE);
return;
}