CVSROOT:        /cvs/gnome
Module name:    vino
Changes by:     markmc  06/10/17 05:15:54

Modified files:
        .              : ChangeLog configure.in 
        capplet        : Makefile.am vino-preferences.c 
        server         : Makefile.am vino-server.c 

Log message:
2006-10-17  Mark McLoughlin  <[EMAIL PROTECTED]>

Add a --enable-gnome-keyring option which causes Vino
to store its configured password in the user's keyring.
Disabled by default, because it's not really a good
idea. See comments in bug #344839 
[http://bugzilla.gnome.org/show_bug.cgi?id=344839]

Based on a patch from Steven Zhang <[EMAIL PROTECTED]>

* configure.in: add --enable-gnome-keyring

* server/vino-server.c:
(vino_server_get_password_from_keyring): helper to
read the password from the keyring.
(vino_server_auth_client): if keyring support is enabled,
authenticate against the password stored in the keyring.
If there's no password in the keyring, authenticate against
the password in GConf.

* capplet/vino-preferences.c:
(vino_preferences_dialog_get_password_from_keyring): lookup
the password from the user's keyring.
(vino_preferences_dialog_set_password_in_keyring): store
the password in the user's keyring.
(vino_preferences_dialog_password_changed): store the new
password in the keyring, falling back to GConf if that
fails.
(vino_preferences_dialog_setup_password_entry): read the
password from the keyring, falling back to GConf. Only
watch for changes from GConf if we actually used the
one from GConf in the first place.
(vino_preferences_dialog_init): hack to allow variable
number of listeners.

* server/Makefile.am, capplet/Makefile.am: build against
gnome-keyring

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=vino&who=markmc&date=explicit&mindate=2006-10-17%2005:14&maxdate=2006-10-17%2005:16

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

Reply via email to