diff options
author | William Jon McCann <jmccann@redhat.com> | 2008-10-24 01:42:04 +0000 |
---|---|---|
committer | William Jon McCann <mccann@src.gnome.org> | 2008-10-24 01:42:04 +0000 |
commit | 4979786d6430fe8cf50969a83d1e28c4353f4659 (patch) | |
tree | 2bf1df3eb143855d277e28271ece7149f345d808 /daemon/gdm-display.h | |
parent | a467db480b4a95667413fb5a11b027dda66e5e42 (diff) | |
download | gdm-4979786d6430fe8cf50969a83d1e28c4353f4659.tar.gz |
Add support for a real automatic login. Make automatic and timed login
2008-10-23 William Jon McCann <jmccann@redhat.com>
* daemon/gdm-display.c (gdm_display_real_get_timed_login_details),
(gdm_display_get_timed_login_details), (gdm_display_real_unmanage),
(gdm_display_class_init):
* daemon/gdm-display.h:
* daemon/gdm-display.xml:
* daemon/gdm-simple-slave.c (greeter_reset_timeout),
(on_session_setup_failed), (on_session_authentication_failed),
(on_session_authorized), (on_session_authorization_failed),
(stop_greeter), (start_session_timeout), (on_session_accredited),
(on_session_accreditation_failed), (on_session_info),
(on_session_opened), (on_session_selected_user_changed),
(on_default_language_name_changed),
(on_default_layout_name_changed),
(on_default_session_name_changed), (start_greeter),
(idle_connect_to_display), (gdm_simple_slave_stop):
* daemon/gdm-slave.c (gdm_slave_get_timed_login_details):
* daemon/gdm-slave.h:
* daemon/gdm-static-display.c (gdm_static_display_unmanage),
(gdm_static_display_get_timed_login_details),
(gdm_static_display_class_init), (gdm_static_display_init):
* daemon/gdm-transient-display.c
(gdm_transient_display_get_timed_login_details),
(gdm_transient_display_class_init):
* daemon/gdm-xdmcp-display.c
(gdm_xdmcp_display_get_timed_login_details),
(gdm_xdmcp_display_class_init):
Add support for a real automatic login. Make
automatic and timed login only work the first time a display
is managed. Also prevent automatic and timed login
from working on transient and xdmcp displays.
svn path=/trunk/; revision=6582
Diffstat (limited to 'daemon/gdm-display.h')
-rw-r--r-- | daemon/gdm-display.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/daemon/gdm-display.h b/daemon/gdm-display.h index cfdb6564..7e640123 100644 --- a/daemon/gdm-display.h +++ b/daemon/gdm-display.h @@ -68,6 +68,10 @@ typedef struct gboolean (*manage) (GdmDisplay *display); gboolean (*finish) (GdmDisplay *display); gboolean (*unmanage) (GdmDisplay *display); + void (*get_timed_login_details) (GdmDisplay *display, + gboolean *enabled, + char **username, + int *delay); } GdmDisplayClass; typedef enum @@ -110,6 +114,11 @@ gboolean gdm_display_get_seat_id (GdmDisplay *disp gboolean gdm_display_is_local (GdmDisplay *display, gboolean *local, GError **error); +gboolean gdm_display_get_timed_login_details (GdmDisplay *display, + gboolean *enabled, + char **username, + int *delay, + GError **error); /* exported but protected */ gboolean gdm_display_get_x11_cookie (GdmDisplay *display, |