diff options
author | Ted Gould <ted@gould.cx> | 2011-07-07 11:17:08 -0500 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-07-07 11:17:08 -0500 |
commit | 4a1f15a5654e4b07e02722a047b9a3c8d17ef36f (patch) | |
tree | 8c7308b206d76a0ed5f9b57de9ee90999e73bafa /src/users-service-dbus.h | |
parent | 1bfebb7910321dbbd16778d58c553e3f47e46220 (diff) | |
parent | b72bf40900ba80ea1dbfc5fc751e3fd63ae0c5dd (diff) | |
download | ayatana-indicator-session-4a1f15a5654e4b07e02722a047b9a3c8d17ef36f.tar.gz ayatana-indicator-session-4a1f15a5654e4b07e02722a047b9a3c8d17ef36f.tar.bz2 ayatana-indicator-session-4a1f15a5654e4b07e02722a047b9a3c8d17ef36f.zip |
* New upstream release.
* Integrates with LightDM now
* Moved to libindicator 0.4
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r-- | src/users-service-dbus.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/users-service-dbus.h b/src/users-service-dbus.h index 4798d64..c3f0171 100644 --- a/src/users-service-dbus.h +++ b/src/users-service-dbus.h @@ -42,9 +42,7 @@ struct _UserData gint64 uid; gchar *user_name; gchar *real_name; - gchar *shell; - gint login_count; - gchar *icon_url; + gchar *icon_file; GList *sessions; @@ -70,17 +68,16 @@ struct _UsersServiceDbusClass { GObjectClass parent_class; /* Signals */ - void (* users_loaded) (UsersServiceDbus *self, gpointer user_data); - - void (* user_added) (UsersServiceDbus *self, gint64 uid, gpointer user_data); - void (* user_removed) (UsersServiceDbus *self, gint64 uid, gpointer user_data); - void (* user_updated) (UsersServiceDbus *self, gint64 uid, gpointer user_data); + void (* user_added) (UsersServiceDbus *self, const gchar *user_id, gpointer user_data); + void (* user_deleted) (UsersServiceDbus *self, const gchar *user_id, gpointer user_data); }; GType users_service_dbus_get_type (void) G_GNUC_CONST; -gint users_service_dbus_get_user_count (UsersServiceDbus *self); +UserData *users_service_dbus_get_user_by_username (UsersServiceDbus *self, + const gchar *username); GList *users_service_dbus_get_user_list (UsersServiceDbus *self); +gboolean users_service_dbus_show_greeter (UsersServiceDbus *self); gboolean users_service_dbus_can_activate_session (UsersServiceDbus *self); gboolean users_service_dbus_activate_user_session (UsersServiceDbus *self, UserData *user); |