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>
2012-12-17 18:23:10 -03:00
2012-09-26 13:29:07 +02:00
2009-07-10 04:07:10 +00:00
2012-12-03 12:52:32 -03:00
2007-09-25 15:49:52 +02:00
2012-12-10 19:14:47 +01:00
2008-02-06 16:43:10 +01:00
2011-12-13 17:37:50 -03:00
2008-02-06 17:03:51 +01:00

Sugar is the core of the OLPC Human Interface. The toolkit provides
a set of widgets to build HIG compliant applications and interfaces
to interact with system services like presence and the datastore.
S
Description
Sugar Learning Environment, Activity Toolkit, GTK 3.
Readme 15 MiB
Languages
Gettext Catalog 62.6%
Python 24.5%
C 12.3%
Makefile 0.3%
M4 0.3%