On Sat, Sep 12, 2009 at 17:49, Walter Bender <walter.ben...@gmail.com> wrote: > I made a somewhat invasive change to Turtle Art in order to make the > toolbars backward compatible with Sugar 0.82-0.84. Essentially, I > catch an exception when trying to create a ToolbarBox. In the > exception handler, I create the old-style toolbars.
As discussed in IRC, this can be considered a regression fix, so no exception is required. Regards, Tomeu > try: > # Use 0.86 toolbar design > toolbar_box = ToolbarBox() > > > except NameError: > # Use pre-0.86 toolbar design > self.toolbox = activity.ActivityToolbox(self) > self.set_toolbox(self.toolbox) > > I had to add a new toolbar for the help menu in the old toolbar > configuration since I had moved the hover help to a toolbar in the > 0.86 configuration: > > self.helpToolbar = HelpToolbar(self) > self.toolbox.add_toolbar(_('Help'),self.helpToolbar) > > So I will request an exception for String Freeze as well. > > (I also did a work-around for a Rainbow-related bug with image save.) > > Changes are in: > > http://git.sugarlabs.org/projects/turtleart/repos/walters-clone > > -walter > -- > Walter Bender > Sugar Labs > http://www.sugarlabs.org > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@lists.sugarlabs.org > http://lists.sugarlabs.org/listinfo/sugar-devel > -- «Sugar Labs is anyone who participates in improving and using Sugar. What Sugar Labs does is determined by the participants.» - David Farning _______________________________________________ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel