aboutsummaryrefslogtreecommitdiff
path: root/src/users-service-dbus.h
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-03-18 14:19:39 -0500
committerTed Gould <ted@gould.cx>2010-03-18 14:19:39 -0500
commit2b2e31f1ea346dd43cc2e4838695984e3f8ca67e (patch)
treeb58ce0b44fca14ed5e35ef08799fbc0d8e128ef6 /src/users-service-dbus.h
parent631d34aad2f454fb334330f3b041e8e0c4495434 (diff)
parentf1095e5616806c67db70f3875eea38abf6ce9e19 (diff)
downloadayatana-indicator-session-2b2e31f1ea346dd43cc2e4838695984e3f8ca67e.tar.gz
ayatana-indicator-session-2b2e31f1ea346dd43cc2e4838695984e3f8ca67e.tar.bz2
ayatana-indicator-session-2b2e31f1ea346dd43cc2e4838695984e3f8ca67e.zip
Upstream release 0.2.6
∘ Updating sessions to make guest account marked when being used (LP: #436030) ∘ String "Switch From" is miscapitalized (LP: #540265) ∘ Follow user switching lockdown key (LP: #504360) ∘ Use user avatar images in session menu (LP: #436028) ∘ Don't show suspend/hibernate if disabled in Policy Kit (LP: #432598) ∘ Lock screen when switching users (LP: #536801) ∘ Fix callback prototype (LP: #536990) ∘ Revert back to "Shut Down" instead of "Switch Off" (LP: #540056) ∘ Fix leaked GConf notifications ∘ Add GConf key for showing the "Log Out" item ∘ Adding the ability to specify a desktop file to have at the end of the menu. ∘ Setting up restart required notification by changing panel icon and icon in menus. ∘ Use the libindicator image helpers ∘ Set proper translation domain for loadable indicator ∘ Translation update
Diffstat (limited to 'src/users-service-dbus.h')
-rw-r--r--src/users-service-dbus.h7
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