OSDN Git Service

brush.preview is always a valid pixbuf
authorMartin Renold <martinxyz@gmx.ch>
Sun, 13 Nov 2011 19:05:05 +0000 (20:05 +0100)
committerMartin Renold <martinxyz@gmx.ch>
Sun, 13 Nov 2011 19:20:09 +0000 (20:20 +0100)
commit5edb9a38838f20ea7c3998871fa6cc0aac90b347
tree9a15b69362dc1ac61b5ddaeb720a786a39df61f2
parent9a45c0ae80bf28222b252211eb165366dc60ba2a
brush.preview is always a valid pixbuf

Turn ManagedBrush.preview into a property, so we can load
the preview on demand transparently.  Remove many lines of
"if not preview: load_preview()".

Fix for https://gna.org/bugs/index.php?18994
gui/brushmanager.py
gui/dialogs.py
gui/toolbar.py