summaryrefslogtreecommitdiff
path: root/gui/simple-greeter/gdm-user-manager.c
Commit message (Collapse)AuthorAgeFilesLines
* Get users from account service, fallback to old wayRay Strode2010-04-271-54/+256
|
* drop dirty userRay Strode2010-04-271-4/+0
|
* rename update to update_from_pwentRay Strode2010-04-271-4/+4
| | | | it's less ambiguous
* Drop unused definesRay Strode2010-04-271-3/+0
|
* Rename on_proxy_destroy to on_seat_proxy_destroyRay Strode2010-04-271-3/+3
|
* Get dbus connection outside of get_seat_proxyRay Strode2010-04-271-12/+16
| | | | | | While having a connection is a prerequisite for get_seat_proxy, it could potentially be useful for other purposes, so move it out.
* move local user monitoring code to its own functionRay Strode2010-04-271-42/+50
| | | | It was open coded in _init before.
* Rename users hashtable to user_by_nameRay Strode2010-04-271-17/+17
| | | | | This will lend us the flexibility to index users by other criteria later.
* include settings-client.h to silence warningRay Strode2010-04-271-0/+1
|
* Drop "user-login-frequency-changed" signal in favor of "changed"Ray Strode2010-04-271-6/+34
| | | | | It's less specific and will let us handle the other properties changes at the same time.
* drop loading-users signalRay Strode2010-04-271-10/+0
| | | | No one listens for it, so there's no point in having it.
* Don't track manager from user objectRay Strode2010-04-271-1/+1
| | | | We don't need it, and it's a bit backward anyway.
* Move get_primary_session_id to gdm-user.hRay Strode2010-04-271-51/+10
| | | | | It makes more sense there, and this will allow us to drop get_sessions eventually.
* Don't match users as dupes of themselvesRay Strode2010-04-271-3/+3
|
* Remove icon monitor since it isn't functional and causes bug #609321.Brian Cameron2010-04-211-11/+0
| | | | | If there is a desire to update the icons when the icon files change it should be implemented in a way that deals with bug #609321.
* Switch User item should be hidden when VT switching is disabledHalton Huo2010-01-271-40/+37
| | | | http://bugzilla.gnome.org/show_bug.cgi?id=607051
* Add Include/Exclude/IncludeAll configuration options to GDM. Fixes bugBrian Cameron2009-11-161-115/+207
|
* Improve strings for translation. Partially fix bug #582891.Brian Cameron2009-10-301-3/+3
|
* When I backed out the last patch, I also accidently reverted a previous fixBrian Cameron2009-09-111-4/+12
| | | | | to ensure that the error->message is only referenced when error is not NULL. Putting this change back.
* Backout fix for bug #557553. This patch broke string freeze and IBrian Cameron2009-09-111-195/+109
| | | | | | think there needs to be more discussion about the right way to fix this. Perhaps the approach in bug #593996 is better. Need more time for discussion.
* Add support for include, exclude, and include_all configuration options inBrian Cameron2009-09-091-116/+194
| | | | the login GUI. Fixes bug #557553.
* Check to make sure error is not NULL before referencing it. Fixes crashingBrian Cameron2009-09-031-36/+105
| | | | issue on Solaris.
* Add users "nobody4" and "noaccess" to the list of users to filter from theBrian Cameron2009-08-211-0/+2
| | | | | Face Browser. These are default system users on Solaris with UID > 100 which should never appear.
* Update duplicate real names to be uniqueDan Nicholson2009-07-171-7/+45
| | | | | | When the user manager encounters users who have duplicated real names, it updates the display name to be "Real Name (username)" so that it is unique.
* Fix a few leaks. Fixes #552578 Patch from: Matthias ClasenWilliam Jon McCann2008-09-231-0/+3
| | | | | | | | | | | | | 2008-09-23 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c (add_sessions_for_user), (process_ck_history_line): * gui/simple-greeter/gdm-user.c (frame_pixbuf): Fix a few leaks. Fixes #552578 Patch from: Matthias Clasen <mclasen@redhat.com> svn path=/trunk/; revision=6545
* Allow the gdm greeter username to be configured at build time. Patch fromWilliam Jon McCann2008-08-201-1/+1
| | | | | | | | | | | | | | | | | | | | | 2008-08-19 William Jon McCann <jmccann@redhat.com> * configure.ac: * daemon/gdm-chooser-server.c (gdm_chooser_server_class_init): * daemon/gdm-display.c (gdm_display_real_create_authority): * daemon/gdm-factory-slave.c (run_greeter): * daemon/gdm-greeter-server.c (gdm_greeter_server_class_init): * daemon/gdm-simple-slave.c (on_session_accredited), (run_greeter): * daemon/gdm-welcome-session.c (gdm_welcome_session_class_init): * daemon/gdm-xdmcp-chooser-slave.c (run_chooser): * data/Makefile.am: * gui/simple-greeter/gdm-user-manager.c: Allow the gdm greeter username to be configured at build time. Patch from Patryk Zawadzki <patrys@pld-linux.org> Fixes #504565 svn path=/trunk/; revision=6395
* Use uint for GetUnixUserWilliam Jon McCann2008-07-221-2/+2
| | | | | | | | | | 2008-07-22 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c (get_uid_from_session_id): Use uint for GetUnixUser svn path=/trunk/; revision=6328
* Set the initial user selection correctly. Also avoid some flicker whileWilliam Jon McCann2008-07-201-1/+2
| | | | | | | | | | | | | | | | 2008-07-20 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-chooser-widget.c (add_user), (on_users_loaded), (on_user_added), (on_user_removed), (gdm_user_chooser_widget_init): * gui/simple-greeter/gdm-user-manager.c (ck_history_watch), (reload_users_timeout): * gui/simple-greeter/test-user-manager.c (on_users_loaded), (main): Set the initial user selection correctly. Also avoid some flicker while reordering. svn path=/trunk/; revision=6305
* Fix some build warnings GCC 4.3.0 Patch from Cosimo CecchiWilliam Jon McCann2008-07-121-1/+1
| | | | | | | | | | | | | | | | | | | | 2008-07-12 William Jon McCann <jmccann@redhat.com> * common/gdm-common.c (_read_bytes): * daemon/gdm-display-access-file.c (_create_xauth_file_for_user): * daemon/gdm-welcome-session.c (parse_dbus_launch_output): * gui/simple-chooser/gdm-chooser-client.c (gdm_chooser_client_start): * gui/simple-greeter/gdm-greeter-client.c (gdm_greeter_client_start): * gui/simple-greeter/gdm-languages.c (gdm_parse_language_name): * gui/simple-greeter/gdm-layout-chooser-widget.c: * gui/simple-greeter/gdm-user-manager.c (parse_ck_history_line): Fix some build warnings GCC 4.3.0 Patch from Cosimo Cecchi <cosimoc@gnome.org> svn path=/trunk/; revision=6297
* Correct SessionAdded to be DBUS_TYPE_G_OBJECT_PATH. Requires ConsoleKitWilliam Jon McCann2008-06-111-2/+2
| | | | | | | | | | | 2008-06-11 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c (get_seat_proxy): Correct SessionAdded to be DBUS_TYPE_G_OBJECT_PATH. Requires ConsoleKit from git. svn path=/trunk/; revision=6265
* Add two new signals "users-loaded" and "loading-users" to signify when theRay Strode2008-04-211-0/+21
| | | | | | | | | | | | | | | | | | | | | | 2008-04-21 Ray Strode <rstrode@redhat.com> * gui/simple-greeter/gdm-user-manager.[hc]: (reload_users_timeout), (queue_reload_users), (gdm_user_manager_class_init): Add two new signals "users-loaded" and "loading-users" to signify when the user manager is doing its initial run through of available users * gui/simple-greeter/gdm-user-chooser-widget.c: (on_users_loaded), (gdm_user_chooser_widget_init) * gui/simple-greeter/gdm-chooser-widget.c: (get_first_item), (activate_if_one_item), (gdm_chooser_widget_add_item), (gdm_chooser_widget_remove_item), (gdm_chooser_widget_get_number_of_items), (gdm_chooser_widget_activate_on_one_item): Activate the "Other..." user automatically if it's the only available user svn path=/trunk/; revision=6165
* Explicitly exclude users with shells that are well known as invalidWilliam Jon McCann2008-04-011-3/+12
| | | | | | | | | | | | 2008-03-31 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c: (reload_passwd), (reload_shells), (gdm_user_manager_init): Explicitly exclude users with shells that are well known as invalid shells: /sbin/nologin, /bin/false. svn path=/trunk/; revision=6085
* Add missing include.William Jon McCann2008-03-181-0/+1
| | | | | | | | | | 2008-03-18 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c: Add missing include. svn path=/trunk/; revision=6042
* Load local users and monitor passwd for changes.William Jon McCann2008-03-181-3/+224
| | | | | | | | | | | | | | 2008-03-18 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c: (get_seat_id_for_session), (get_x11_display_for_session), (reload_ck_history), (reload_passwd), (reload_users), (reload_shells), (on_shells_monitor_changed), (on_passwd_monitor_changed), (gdm_user_manager_init), (gdm_user_manager_finalize): Load local users and monitor passwd for changes. svn path=/trunk/; revision=6040
* Fix a few leaks and make sure we don't unref null replies.William Jon McCann2008-03-121-0/+8
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-03-12 William Jon McCann <jmccann@redhat.com> * daemon/gdm-chooser-server.c: (handle_select_hostname), (handle_disconnect), (do_introspect): * daemon/gdm-product-slave.c: (send_dbus_string_method), (send_dbus_void_method): * daemon/gdm-session-worker.c: (send_dbus_string_method), (send_dbus_int_method), (send_dbus_void_method): * daemon/gdm-slave.c: (activate_session_id), (session_unlock): * gui/simple-chooser/gdm-chooser-client.c: (send_dbus_string_method), (send_dbus_void_method): * gui/simple-greeter/gdm-greeter-client.c: (send_dbus_string_method), (send_dbus_bool_method), (send_dbus_void_method): * gui/simple-greeter/gdm-greeter-session.c: (send_dbus_string_method): * gui/simple-greeter/gdm-user-manager.c: (activate_session_id): * utils/gdmflexiserver.c: (create_transient_display), (get_current_session_id), (get_seat_id_for_session), (activate_session_id), (session_is_login_window), (seat_can_activate_sessions): Fix a few leaks and make sure we don't unref null replies. svn path=/trunk/; revision=6011
* Handle case where we can't lookup a GdmUser (for whatever reason). CouldWilliam Jon McCann2008-03-111-0/+5
| | | | | | | | | | | | 2008-03-10 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c: (process_ck_history_line): * gui/user-switch-applet/applet.c: (fill_applet): Handle case where we can't lookup a GdmUser (for whatever reason). Could be gone, excluded, etc... svn path=/trunk/; revision=5995
* Don't bother running ck-history if seat id isn't set.William Jon McCann2008-02-201-0/+1
| | | | | | | | | | 2008-02-20 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c (reload_users): Don't bother running ck-history if seat id isn't set. svn path=/trunk/; revision=5816
* Handle ck-history spawn errors.William Jon McCann2008-02-201-1/+2
| | | | | | | | | | 2008-02-20 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c (reload_users): Handle ck-history spawn errors. svn path=/trunk/; revision=5815
* Fix a bunch of compiler warnings and remove unused code. Patch from:William Jon McCann2008-02-191-4/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-19 William Jon McCann <jmccann@redhat.com> * common/gdm-settings-client.c: (gdm_settings_client_get_locale_string), (gdm_settings_client_init): * common/gdm-settings-desktop-backend.c: (save_settings): * common/gdm-settings-direct.c: (gdm_settings_direct_init): * common/test-log.c: (test_log): * common/test-settings-client.c: (test_settings_client): * daemon/gdm-chooser-server.c: (gdm_chooser_server_constructor): * daemon/gdm-chooser-session.c: (gdm_chooser_session_set_property), (gdm_chooser_session_get_property), (gdm_chooser_session_constructor): * daemon/gdm-display-access-file.c: * daemon/gdm-display.c: (_create_access_file_for_user), (gdm_display_constructor): * daemon/gdm-factory-slave.c: (gdm_factory_slave_start), (gdm_factory_slave_stop), (gdm_factory_slave_set_property), (gdm_factory_slave_get_property), (gdm_factory_slave_constructor): * daemon/gdm-greeter-server.c: (gdm_greeter_server_constructor): * daemon/gdm-greeter-session.c: (gdm_greeter_session_set_property), (gdm_greeter_session_get_property): * daemon/gdm-local-display-factory.c: (gdm_local_display_factory_set_property), (gdm_local_display_factory_get_property), (gdm_local_display_factory_constructor): * daemon/gdm-manager.c: (gdm_manager_constructor): * daemon/gdm-product-display.c: (gdm_product_display_constructor): * daemon/gdm-product-slave.c: (gdm_product_slave_start), (gdm_product_slave_stop), (gdm_product_slave_set_property), (gdm_product_slave_get_property), (gdm_product_slave_constructor): * daemon/gdm-server.c: (gdm_server_constructor): * daemon/gdm-session-auditor.c: * daemon/gdm-session-direct.c: (gdm_session_direct_open): * daemon/gdm-session-linux-auditor.c: * daemon/gdm-session-relay.c: (gdm_session_relay_set_property), (gdm_session_relay_get_property), (gdm_session_relay_constructor): * daemon/gdm-session-settings.c: * daemon/gdm-session-worker-job.c: (gdm_session_worker_job_constructor): * daemon/gdm-session-worker.c: (gdm_session_worker_constructor): * daemon/gdm-simple-slave.c: (gdm_simple_slave_start), (gdm_simple_slave_stop), (gdm_simple_slave_set_property), (gdm_simple_slave_get_property), (gdm_simple_slave_constructor): * daemon/gdm-slave.c: (gdm_slave_run_script), (_get_primary_user_session_id), (gdm_slave_constructor): * daemon/gdm-static-display.c: (gdm_static_display_set_property), (gdm_static_display_get_property): * daemon/gdm-static-factory-display.c: (gdm_static_factory_display_set_property), (gdm_static_factory_display_get_property), (gdm_static_factory_display_constructor): * daemon/gdm-transient-display.c: (gdm_transient_display_set_property), (gdm_transient_display_get_property): * daemon/gdm-welcome-session.c: (parse_dbus_launch_output), (gdm_welcome_session_constructor): * daemon/gdm-xdmcp-chooser-slave.c: (gdm_xdmcp_chooser_slave_start), (gdm_xdmcp_chooser_slave_stop), (gdm_xdmcp_chooser_slave_set_property), (gdm_xdmcp_chooser_slave_get_property), (gdm_xdmcp_chooser_slave_constructor): * daemon/gdm-xdmcp-display-factory.c: (do_bind), (indirect_client_create), (gdm_xdmcp_handle_forward_query): * daemon/test-session.c: (main): * gui/simple-chooser/gdm-chooser-client.c: (gdm_chooser_client_set_property), (gdm_chooser_client_get_property), (gdm_chooser_client_constructor), (gdm_chooser_client_dispose): * gui/simple-chooser/gdm-chooser-session.c: (gdm_chooser_session_set_property), (gdm_chooser_session_get_property), (gdm_chooser_session_constructor), (gdm_chooser_session_dispose): * gui/simple-chooser/gdm-host-chooser-dialog.c: (gdm_host_chooser_dialog_set_property), (gdm_host_chooser_dialog_get_property), (gdm_host_chooser_dialog_constructor), (gdm_host_chooser_dialog_dispose): * gui/simple-chooser/gdm-host-chooser-widget.c: (gdm_host_chooser_widget_set_property), (gdm_host_chooser_widget_get_property), (gdm_host_chooser_widget_constructor): * gui/simple-greeter/gdm-a11y-preferences-dialog.c: (gdm_a11y_preferences_dialog_set_property), (gdm_a11y_preferences_dialog_get_property), (gdm_a11y_preferences_dialog_constructor), (gdm_a11y_preferences_dialog_dispose): * gui/simple-greeter/gdm-chooser-widget.c: (shrink_edge_toward_active_row), (gdm_chooser_widget_constructor): * gui/simple-greeter/gdm-greeter-client.c: (gdm_greeter_client_set_property), (gdm_greeter_client_get_property), (gdm_greeter_client_constructor), (gdm_greeter_client_dispose): * gui/simple-greeter/gdm-greeter-login-window.c: (gdm_greeter_login_window_constructor): * gui/simple-greeter/gdm-greeter-panel.c: (gdm_greeter_panel_set_property), (gdm_greeter_panel_get_property), (gdm_greeter_panel_constructor), (gdm_greeter_panel_dispose): * gui/simple-greeter/gdm-greeter-session.c: (gdm_greeter_session_set_property), (gdm_greeter_session_get_property), (gdm_greeter_session_constructor), (gdm_greeter_session_dispose): * gui/simple-greeter/gdm-language-chooser-widget.c: (gdm_language_chooser_widget_dispose): * gui/simple-greeter/gdm-option-widget.c: (activate_from_item_id), (gdm_option_widget_constructor): * gui/simple-greeter/gdm-recent-option-widget.c: (gdm_recent_option_widget_dispose): * gui/simple-greeter/gdm-remote-login-window.c: (gdm_remote_login_window_set_property), (gdm_remote_login_window_get_property), (gdm_remote_login_window_constructor): * gui/simple-greeter/gdm-session-client.c: (gdm_session_client_constructor), (gdm_session_client_dispose): * gui/simple-greeter/gdm-session-manager.c: (gdm_session_manager_set_property), (gdm_session_manager_get_property), (gdm_session_manager_constructor), (gdm_session_manager_dispose): * gui/simple-greeter/gdm-user-chooser-dialog.c: (gdm_user_chooser_dialog_set_property), (gdm_user_chooser_dialog_get_property), (gdm_user_chooser_dialog_constructor), (gdm_user_chooser_dialog_dispose): * gui/simple-greeter/gdm-user-chooser-widget.c: (gdm_user_chooser_widget_set_property), (gdm_user_chooser_widget_get_property), (gdm_user_chooser_widget_constructor): * gui/simple-greeter/gdm-user-manager.c: (_get_primary_user_session_id), (_get_login_window_session_id): * gui/simple-greeter/gdm-user.c: * gui/simple-greeter/libnotificationarea/na-tray-manager.c: (na_tray_manager_handle_begin_message): * gui/simple-greeter/libnotificationarea/na-tray.c: * gui/user-switch-applet/applet.c: (prefs_cb), (switch_to_user_session), (display_key_changed), (applet_fill_cb): * gui/user-switch-applet/gdm-user-menu-item.c: * tests/s-common-address.c: (START_TEST): * utils/gdmflexiserver.c: (get_login_window_session_id): Fix a bunch of compiler warnings and remove unused code. Patch from: Kjartan Maraas <kmaraas@broadpark.no> svn path=/trunk/; revision=5800
* Oops. Remove extra call to add user.William Jon McCann2008-02-051-2/+6
| | | | | | | | | | 2008-02-05 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-user-manager.c: (seat_session_added): Oops. Remove extra call to add user. svn path=/trunk/; revision=5695
* Add a user switcher applet. This is here at the moment instead of in fusaWilliam Jon McCann2008-02-051-2/+358
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-04 William Jon McCann <jmccann@redhat.com> * configure.ac: * daemon/gdm-slave.c: (_get_primary_user_session_id): * gui/Makefile.am: * gui/simple-greeter/Makefile.am: * gui/simple-greeter/gdm-user-manager.c: (start_new_login_session), (_get_primary_user_session_id), (activate_session_id), (session_is_login_window), (_get_login_window_session_id), (gdm_user_manager_goto_login_session), (gdm_user_manager_activate_user_session), (maybe_add_session_for_user), (seat_session_added), (gdm_user_manager_get_user_by_uid): * gui/simple-greeter/gdm-user-manager.h: * gui/simple-greeter/gdm-user.c: (_gdm_user_add_session), (_gdm_user_remove_session), (gdm_user_get_num_sessions), (gdm_user_get_sessions): * gui/simple-greeter/gdm-user.h: * gui/user-switch-applet/GNOME_GdmUserSwitchApplet.server.in.in: * gui/user-switch-applet/GNOME_GdmUserSwitchApplet.xml: * gui/user-switch-applet/Makefile.am: * gui/user-switch-applet/Makefile.in: * gui/user-switch-applet/applet.c: (about_me_cb), (get_glade_xml), (make_label_bold), (make_label_small_italic), (prefs_radio_toggled_cb), (prefs_xnest_check_toggled_cb), (prefs_lock_check_toggled_cb), (reset_login_screen_item), (system_can_do_xnest), (reset_login_window_item), (menubar_button_press_event_cb), (prefs_cb), (help_cb), (about_cb), (admin_cb), (setup_cb), (set_menuitem_icon), (applet_style_set_cb), (applet_change_background_cb), (applet_key_press_event_cb), (applet_size_allocate_cb), (gdm_applet_data_free), (menubar_expose_event_cb), (sort_menu_comparedatafunc), (sort_menu), (menu_style_set_cb), (menuitem_destroy_cb), (menuitem_style_set_cb), (user_notify_display_name_cb), (menu_expose_cb), (switch_to_user_session), (maybe_lock_screen), (do_switch), (user_item_activate_cb), (user_sessions_changed_cb), (manager_user_added_cb), (login_screen_activate_cb), (login_window_activate_cb), (display_key_changed), (xnest_key_changed), (client_notify_applet_func), (client_notify_global_func), (client_notify_lockdown_func), (applet_fill_cb): * gui/user-switch-applet/gdm-user-menu-item.c: (user_weak_notify), (reset_label), (reset_icon), (user_notify_cb), (user_icon_changed_cb), (user_sessions_changed_cb), (_gdm_user_menu_item_set_user), (gdm_user_menu_item_set_property), (gdm_user_menu_item_get_property), (gdm_user_menu_item_finalize), (gdm_user_menu_item_expose_event), (gdm_user_menu_item_size_request), (gdm_user_menu_item_class_init), (image_style_set_cb), (label_style_set_cb), (gdm_user_menu_item_init), (gdm_user_menu_item_new), (gdm_user_menu_item_get_user), (gdm_user_menu_item_get_icon_size), (gdm_user_menu_item_set_icon_size): * gui/user-switch-applet/gdm-user-menu-item.h: * gui/user-switch-applet/gdm-user-switch-applet.glade: * gui/user-switch-applet/gdm-user-switch-applet.schemas.in: Add a user switcher applet. This is here at the moment instead of in fusa so that we can share code and stay in sync. This is important since it is very likely we'll need to change interfaces slightly. svn path=/trunk/; revision=5692
* Only show users that have frequently logged in.William Jon McCann2008-02-041-184/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2008-02-04 William Jon McCann <jmccann@redhat.com> * gui/simple-greeter/gdm-chooser-widget.c: (foreach_item), (compare_item), (gdm_chooser_widget_init), (gdm_chooser_widget_update_item), (gdm_chooser_widget_add_item), (gdm_chooser_widget_lookup_item), (gdm_chooser_widget_set_item_priority): * gui/simple-greeter/gdm-chooser-widget.h: * gui/simple-greeter/gdm-language-chooser-widget.c: (gdm_language_chooser_widget_add_language): * gui/simple-greeter/gdm-session-chooser-widget.c: (add_session), (add_available_sessions): * gui/simple-greeter/gdm-user-chooser-widget.c: (add_special_users), (on_user_added), (on_user_login_frequency_changed), (gdm_user_chooser_widget_init): * gui/simple-greeter/gdm-user-manager.c: (parse_value_as_ulong), (parse_ck_history_line), (process_ck_history_line), (ck_history_watch), (reload_users), (reload_users_timeout), (queue_reload_users), (gdm_user_manager_class_init), (gdm_user_manager_init), (gdm_user_manager_finalize): * gui/simple-greeter/gdm-user-manager.h: * gui/simple-greeter/gdm-user.c: (_gdm_user_set_login_frequency), (gdm_user_set_property), (gdm_user_get_property), (gdm_user_class_init), (gdm_user_init), (gdm_user_get_login_frequency): * gui/simple-greeter/gdm-user.h: Only show users that have frequently logged in. svn path=/trunk/; revision=5689
* Fix filtering out sessions that don't have x11 displays.William Jon McCann2008-02-011-61/+58
| | | | | | | | | | | | 2008-02-01 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-manager.c: (maybe_add_session_for_user), (add_sessions_for_user), (get_uid_from_session_id), (seat_session_added), (get_seat_proxy): Fix filtering out sessions that don't have x11 displays. svn path=/trunk/; revision=5675
* Ignore sessions without an X11 display.William Jon McCann2007-12-201-3/+52
| | | | | | | | | | | 2007-12-19 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-manager.c: (get_x11_display_for_session), (add_sessions_for_user): Ignore sessions without an X11 display. svn path=/trunk/; revision=5578
* Fix c-n-p error.William Jon McCann2007-12-201-3/+0
| | | | | | | | | | 2007-12-19 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-manager.c (get_current_seat_id): Fix c-n-p error. svn path=/trunk/; revision=5576
* Make 2 warnings debugs insteadWilliam Jon McCann2007-12-201-2/+2
| | | | | | | | | | | | 2007-12-19 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-manager.c: (get_seat_id_for_session), (get_current_seat_id): Make 2 warnings debugs instead svn path=/trunk/; revision=5575
* Ignore sessions on other seats.William Jon McCann2007-12-201-27/+60
| | | | | | | | | | | | 2007-12-19 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-manager.c: (get_seat_id_for_session), (add_sessions_for_user), (get_current_seat_id), (get_seat_proxy), (gdm_user_manager_finalize): Ignore sessions on other seats. svn path=/trunk/; revision=5574
* Load the list of sessions for each user at startup.William Jon McCann2007-12-181-9/+92
| | | | | | | | | | | | | | 2007-12-18 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-chooser-widget.c: (on_user_added), (on_user_is_logged_in_changed): * gui/simple-greeter/gdm-user-manager.c: (add_sessions_for_user), (add_user), (add_new_user_for_pwent), (get_current_seat_id), (reload_passwd): Load the list of sessions for each user at startup. svn path=/trunk/; revision=5563
* Use ConsoleKit to drive populate the list of sessions for each user.William Jon McCann2007-11-051-10/+345
| | | | | | | | | | | | | | | | | | | | | 2007-11-05 William Jon McCann <mccann@jhu.edu> * gui/simple-greeter/gdm-user-chooser-widget.c: (choose_user_id), (on_user_added), (on_user_removed), (on_user_is_logged_in_changed): * gui/simple-greeter/gdm-user-manager.c: (on_user_sessions_changed), (on_user_icon_changed), (create_user), (add_new_user_for_pwent), (get_current_seat_id), (get_uid_from_session_id), (seat_session_added), (seat_session_removed), (on_proxy_destroy), (get_seat_proxy), (gdm_user_manager_get_user), (reload_passwd), (gdm_user_manager_init), (gdm_user_manager_finalize): * gui/simple-greeter/gdm-user-private.h: * gui/simple-greeter/gdm-user.c: (session_compare), (_gdm_user_add_session), (_gdm_user_remove_session): Use ConsoleKit to drive populate the list of sessions for each user. svn path=/trunk/; revision=5493
* Add back the session list to GdmUser.William Jon McCann2007-11-051-1/+1
| | | | | | | | | | | | | | | 2007-11-04 William Jon McCann <mccannwj@acsnb1> * gui/simple-greeter/gdm-user-manager.c: (reload_passwd): * gui/simple-greeter/gdm-user-private.h: * gui/simple-greeter/gdm-user.c: (_gdm_user_add_session), (_gdm_user_remove_session), (gdm_user_get_property), (gdm_user_class_init): * gui/simple-greeter/gdm-user.h: Add back the session list to GdmUser. svn path=/trunk/; revision=5491