[Bugs] #2708 UNSP: Paint should save control settings in its Journal entry
Sugar Labs Bugs
bugtracker-noreply at sugarlabs.org
Wed Mar 21 17:53:53 EDT 2012
#2708: Paint should save control settings in its Journal entry
------------------------------------------+---------------------------------
Reporter: greenfeld | Owner: godiard
Type: enhancement | Status: new
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Paint | Version: 0.92.x
Severity: Unspecified | Keywords:
Distribution: OLPC | Status_field: Unconfirmed
------------------------------------------+---------------------------------
Comment(by humitos):
I could save the state using {{{write_file}}} and load it using
{{{read_file}}} without any problem. I'm restoring the last tool used by
the user but I can't restore the colors: "fill color" and "stroke color"
yet.
I'm using {{{simplejson}}} to store the data as string into
{{{self.metadata['state']}}}.
I didn't find the way to let the GUI know that should use another color
instead the default one. With "GUI" I refer to Area class.
--
Ticket URL: <http://bugs.sugarlabs.org/ticket/2708#comment:2>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list