[Bugs] #472 UNSP: Remove unexpected 'save/load' tab from toolbar
SugarLabs Bugs
bugtracker-noreply at sugarlabs.org
Tue Mar 3 10:27:54 EST 2009
#472: Remove unexpected 'save/load' tab from toolbar
------------------------------------------+---------------------------------
Reporter: garycmartin | Owner: walter
Type: enhancement | Status: accepted
Priority: Unspecified by Maintainer | Milestone: Unspecified by Release Team
Component: Turtleart | Version: Git as of bugdate
Severity: Major | Resolution:
Keywords: | Distribution: Unspecified
Status_field: Unconfimed |
------------------------------------------+---------------------------------
Changes (by eben):
* cc: marcopg (added)
Comment:
Yeah, that method would be much preferred.
The palette class has methods for setting generic content:
http://git.sugarlabs.org/projects/sugar-
toolkit/repos/mainline/blobs/master/src/sugar/graphics/palette.py#line428
But I think what you really want though is access to the palette menu,
which appears to be a public property of palette (eg. my_palette.menu).
Here's the menu class of that member:
http://git.sugarlabs.org/projects/sugar-
toolkit/repos/mainline/blobs/master/src/sugar/graphics/palette.py#line679
You should therefore be able to do something like
stop_button.palette.menu.do_insert(my_export_item);
I hope that gets you started!
--
Ticket URL: <http://dev.sugarlabs.org/ticket/472#comment:3>
Sugar Labs <http://sugarlabs.org/>
Sugar Labs bug tracking system
More information about the Bugs
mailing list