0.88/Notes: Difference between revisions

Erikos (talk | contribs)
Erikos (talk | contribs)
No edit summary
Line 26: Line 26:


=== Widgets ===
=== Widgets ===
* '''New Toolbars:''' Sugar has switched to a new toolbar design. The simplest example can be found in the [http://git.sugarlabs.org/projects/hello-world/repos/mainline/blobs/master/activity.py#line44 hello world] activity. If you want to group functionality into a secondary toolbar you can have a look at the [http://git.sugarlabs.org/projects/terminal/repos/mainline/blobs/master/terminal.py terminal activity]. To have a consistent layout over activities please group the edit and view toolbar to the left. The items on the toolbar should be aligned to the left.
* '''New Share button''': The design of the share button has changed ([[0.86/Notes#New_share_button]]). If your activity does not support collaboration you can set the activity class member max_participants to '1' which makes the share button insensitive.
* '''CellRenderIcon:''' This new widget allows to place sugar svg icons in a gtk.TreeView. The '''CellRendererInvoker''' is used for the palette accordingly.
* '''RadioPalette''': Base class for the ShareButton.
* '''PaletteWindow''': A PaletteWindow widget has been added.


=== API ===
=== API ===
* To add the toolbar_box to the activity we use a toolbar_box property now instead of the set_toolbox method.


=== Dependencies ===
=== Dependencies ===


* Switch from [http://en.wikipedia.org/wiki/Matchbox_%28window_manager%29 Matchbox] to [http://en.wikipedia.org/wiki/Metacity Metacity]. To activity authors this means that their windows need to be user-resizable which in turn requires that the layout adapts changes in window size.
=== Activity Authors guidelines ===


=== Activity Authors guidelines ===
The md5 and sha module have been deprecated in python 2.6. Please clean up your sources accordingly. We encourage every author, fructose or other activity authors to follow the [[Development_Team/Code_guidelines]]. Please mind that we have the source view functionality enabled and that kids are able to have a look at the code. They hopefully find consistent and well written activities.


== What's new for packagers ==
== What's new for packagers ==
Line 52: Line 43:
== Compatibility ==
== Compatibility ==
''possible compatibility issues''
''possible compatibility issues''
== Detailed changes ==
=== Glucose ===
* [[0.86/Sugar|sugar]]
* [[0.86/sugar-toolkit|sugar-toolkit]]
* [[0.86/sugar-base|sugar-base]]
* [[0.86/sugar-presence-service|sugar-presence-service]]
* [[0.86/sugar-datastore|sugar-datastore]]
* [[0.86/sugar-artwork|sugar-artwork]]
* [[0.86/Etoys|etoys]]


== Getting the sources ==
== Getting the sources ==