CVSROOT:        /cvs/gnome
Module name:    sabayon
Changes by:     markmc  05/02/10 08:47:57

Modified files:
        .              : ChangeLog 
        lib            : userprofile.py 
        lib/sources    : filessource.py gconfsource.py paneldelegate.py 

Log message:
2005-02-10  Mark McLoughlin  <[EMAIL PROTECTED]>

Add ability for delegates to commit changes.

* lib/userprofile.py:
(ProfileChange.__init__): allow a delegate to be
passed to the constructor.
(SourceDelegate.__init__): kill the "changes class" idea.
(SourceDelegate.commit_change): add hook for delegates
to implement.
(ProfileSource.commit_change): if a change is associated
with a delegate, commit the change via the delegate.

* lib/sources/filessource.py:
(FilesSource.commit_change): chain up to ProfileSource.commit_change.

* lib/sources/gconfsource.py:
(GConfSource.commit_change): ditto.

* lib/sources/paneldelegate.py: associate changes with the delegate
and add a commit_change() stub. Just need to figure out how in hell
to do it now.

URL : 
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=sabayon&who=markmc&date=explicit&mindate=2005-02-10%2008:46&maxdate=2005-02-10%2008:48

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

Reply via email to