CVSROOT: /cvs/gnome
Module name: sketch
Changes by: bherzog 05/10/29 17:22:03
Modified files:
Sketch/UI : fillpanel.py
. : ChangeLog
Log message:
Address one of the problems of savannah patch #4537 -- that the
pattern in the fill panel is not always updated when the selection
changes -- but implement it in a completely different way:
Sketch/UI/fillpanel.py: Make sure the the frames issue CHANGED
messages whenever the pattern has changed and that the CHANGED
messages are issued when all of a group of related changes have
taken place (such as when multiple widgets have to be updated
because the selection changed).
(PatternFrame.__init__): Init the new instance variables
_inhibit_changed_messages and _has_chaned
(PatternFrame.inhibit_changed, PatternFrame.allow_changed): New
methods to temporarily inhibit the immediate issueing of the
CHANGED messages.
(PatternFrame.changed): Between calls to inhibit_changed and
allow_changed only set a flag instead of actually issueing the
message.
(PatternFrame.SetPattern): Call self.changed if the new pattern
and the old pattern are different
(GradientPatternFrame.SetPattern,
HatchingPatternFrame.SetPattern): Frame the bodies of this methods
in inhibit_changed and allow_changed calls.
URL :
http://cvs.gnome.org/bonsai/cvsquery.cgi?branch=&dir=sketch&who=bherzog&date=explicit&mindate=2005-10-29%2017:21&maxdate=2005-10-29%2017:23
_______________________________________________
cvs-commits-list mailing list
[email protected]
http://mail.gnome.org/mailman/listinfo/cvs-commits-list