diff options
author | Ted Gould <ted@gould.cx> | 2010-03-18 13:50:42 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-03-18 13:50:42 -0500 |
commit | efedfa60d052a58f678575052e0ac98bc324612a (patch) | |
tree | 23368eb32b9f150b841da96ccf1c3c29a544181c /src/users-service-dbus.h | |
parent | c4a714f3964fdea272f766f6e040eef664d6d97d (diff) | |
parent | 5704cdb0447a2297003da2128f7fb11b2d5bd8db (diff) | |
download | ayatana-indicator-session-efedfa60d052a58f678575052e0ac98bc324612a.tar.gz ayatana-indicator-session-efedfa60d052a58f678575052e0ac98bc324612a.tar.bz2 ayatana-indicator-session-efedfa60d052a58f678575052e0ac98bc324612a.zip |
Handle updating of sessions and mark the guest account when it has an open session.
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r-- | src/users-service-dbus.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/users-service-dbus.h b/src/users-service-dbus.h index bba88a7..4798d64 100644 --- a/src/users-service-dbus.h +++ b/src/users-service-dbus.h @@ -22,6 +22,7 @@ #include <glib.h> #include <glib-object.h> +#include <libdbusmenu-glib/menuitem.h> G_BEGIN_DECLS @@ -47,7 +48,10 @@ struct _UserData GList *sessions; + /* Whether the real name here conflicts with another in the system */ gboolean real_name_conflict; + /* The menuitem representing this user if there is one. */ + DbusmenuMenuitem * menuitem; UsersServiceDbus *service; }; @@ -80,6 +84,9 @@ GList *users_service_dbus_get_user_list (UsersServiceDbus *self); gboolean users_service_dbus_can_activate_session (UsersServiceDbus *self); gboolean users_service_dbus_activate_user_session (UsersServiceDbus *self, UserData *user); +gboolean users_service_dbus_activate_guest_session (UsersServiceDbus *self); +void users_service_dbus_set_guest_item (UsersServiceDbus * self, + DbusmenuMenuitem * mi); G_END_DECLS |