Changes

Jump to navigation Jump to search
1,479 bytes added ,  12:38, 10 May 2012
Line 43: Line 43:  
== What's new for developers ==
 
== What's new for developers ==
 
The following changes are important for developers using the Sucrose 0.96 developer platform:
 
The following changes are important for developers using the Sucrose 0.96 developer platform:
 +
 +
=== Activity Authors guidelines ===
 +
The most important change is that the GTK+ 2 based sugar-toolkit has been deprecated. Newly written activities should use sugar-toolkit-gtk3, which is based on GTK+ 3 and Pygobject3, now. There will be only bug fixes being available in the future for the old toolkit no new features will be made available for it and it will probably go away at one point completely. Detailed guidelines for porting existing activities can be found at [[Features/GTK3/Porting]].
    
=== Widgets ===
 
=== Widgets ===
 +
The Keep button has been removed completely from the API later; please adjust existing activities accordingly.
    
=== API ===
 
=== API ===
The Keep button has been removed completely from the API later; please adjust existing activities accordingly.
+
In sugar-toolkit-gtk3 API that has been deprecated for several development cycles have been removed:
   −
=== Activity Authors guidelines ===
+
* Remove support for the old deprecated toolbar
''no guidelines as of today''
+
** removed deprecated imports from the activity module, use the widgets module instead
 +
** removed the ActivityToolbox class
 +
** removed the Stop button from the ActivityToolbar
 +
** removed set_toolbar/get_toolbar API from the window module
 +
*Datastore: remove deprecated API
 +
*ObjectChooser: remove deprecated parameters
 +
** The objectchooser had the 'title', 'flags' and 'buttons' parameters deprecated for a long time, remove them now completely. The only parameters allowed are now the 'parent' and the 'what_filter'.
 +
* Bundlebuilder: remove deprecated bundle_name argument
 +
* Activity: remove deprecated _shared_activity member
 +
* ActivityBundle: clean from deprecated code
 +
** removed deprecated mime type 'application/vnd.olpc-x-sugar'
 +
** activity.info file: removed deprecated field 'service_name' use 'bundle_id' instead
 +
** activity.info file: removed deprecated field 'class' use 'exec' instead
    
== What's new for packagers ==
 
== What's new for packagers ==
3,267

edits

Navigation menu