CVSROOT:        /cvs/gnome
Module name:    gnome-system-tools
Changes by:     carlosg 06/08/27 21:58:40

Modified files:
        interfaces     : ChangeLog users.glade.in 
        src/users      : ChangeLog Makefile.am callbacks.c callbacks.h 
                         main.c privileges-table.c table.c table.h 
                         user-settings.c user-settings.h users-tool.c 
                         users-tool.h 
Added files:
        src/users      : user-profiles.c user-profiles.h 

Log message:
2006-08-28  Carlos Garnacho  <[EMAIL PROTECTED]>

Add back profiles support to users-admin, now the profiles will be a
read-only key file located in /etc/gnome-system-tools/users/profiles,
distros are supposed to implement that file according to their
requirements, I doubt that users ever created a profile, so that's no
longer supported.

* user-profiles.[ch]: added, object to manage user profiles
* Makefile.am: add these files.
* callbacks.[ch] (on_user_settings_login_changed): add a way to
override the default homedir prefix.
(on_user_settings_profile_changed): added, applies a profile when the
profiles combo changes.
* main.c: connect that callback to the profiles combo
* privileges-table.c (find_group_in_profile)
(privileges_table_set_from_profile): new functions, set the
privileges table state from a profile
* table.[ch] (table_populate_profiles) (table_set_default_profile):
Added.
* user-settings.[ch] (find_new_uid): pass max_uid and min_uid as
parameters.
(setup_profiles_visibility): Added.
(user_settings_dialog_new): Setup GUI initially according to the
profile.
(user_settings_apply_profile): added, changes the UI given a profile.
* users-tool.[ch]: add profiles object.
* interfaces/users.glade.in: move profiles combo to "Account" tab

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=gnome-system-tools&who=carlosg&date=explicit&mindate=2006-08-27%2021:57&maxdate=2006-08-27%2021:59

_______________________________________________
cvs-commits-list mailing list
cvs-commits-list@gnome.org
http://mail.gnome.org/mailman/listinfo/cvs-commits-list

Reply via email to