Sugar Learning Environment, Activity Toolkit, GTK 3.
Go to file
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
bin
examples
m4
po
src ActivityBundle: don't wrap the temporal icon path in a TempFilePath - SL #4276 2012-12-17 18:23:10 -03:00
tests Add Gtk.ProgressBar testcase. 2012-12-03 12:52:32 -03:00
.gitignore
AUTHORS
autogen.sh
configure.ac Release 0.98.1 2012-12-10 19:14:47 +01:00
COPYING
MAINTAINERS
Makefile.am
README

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.