aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-16 21:47:45 -0500
committerTed Gould <ted@gould.cx>2010-03-16 21:47:45 -0500
commit6b1354f942d4482e85c1f15b3d3649cb7c20ea63 (patch)
tree2fd779bede9477f3cb130498c87363e15b517ee6 /src
parent41fb4503ec3443835be5176733158cf5bcf372d9 (diff)
downloadayatana-indicator-session-6b1354f942d4482e85c1f15b3d3649cb7c20ea63.tar.gz
ayatana-indicator-session-6b1354f942d4482e85c1f15b3d3649cb7c20ea63.tar.bz2
ayatana-indicator-session-6b1354f942d4482e85c1f15b3d3649cb7c20ea63.zip
Setting the menuitem for the user.
Diffstat (limited to 'src')
-rw-r--r--src/session-service.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/session-service.c b/src/session-service.c
index cb36e9c..bc88473 100644
--- a/src/session-service.c
+++ b/src/session-service.c
@@ -599,6 +599,7 @@ rebuild_items (DbusmenuMenuitem *root,
dbusmenu_menuitem_property_set_bool (mi, USER_ITEM_PROP_LOGGED_IN, user->sessions != NULL);
dbusmenu_menuitem_child_append (root, mi);
g_signal_connect (G_OBJECT (mi), DBUSMENU_MENUITEM_SIGNAL_ITEM_ACTIVATED, G_CALLBACK (activate_user_session), user);
+ user->menuitem = mi;
}
}