You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Manuel Quiñones b6152b023a ActivityBundle: don't wrap the temporal icon path in a TempFilePath - SL #4276
In the Journal, CellRendererActivityIcon is calling its do_render
method after the temporal file is removed.  This is because we wrap
the icon path in a TempFilePath to control its deletion, but as we
don't maintain any reference to it, its __del__ method deletes the
temporal file.

Note that returning the path directly has one disadventage: the
temporal file is left in /tmp .

As a comment in the get_icon method of ActivityBundle say, ideally we
should return the icon data.  But that implies a major change in the
Journal model and views, and in the CellRendererIcon class.

Signed-off-by: Manuel Quiñones <manuq@laptop.org>
Acked-by: Simon Schampijer <simon@laptop.org>
12 years ago
..
Makefile.am Rename the module to sugar3 13 years ago
__init__.py Rename the module to sugar3 13 years ago
activitybundle.py ActivityBundle: don't wrap the temporal icon path in a TempFilePath - SL #4276 12 years ago
bundle.py Rename the module to sugar3 13 years ago
bundleversion.py Rename the module to sugar3 13 years ago
contentbundle.py Fix broken imports 13 years ago