Changes

Jump to navigation Jump to search
13 bytes added ,  20:23, 27 March 2009
→‎API: another "it's" typo, rephrase some English
Line 123: Line 123:     
=== API ===
 
=== API ===
An API policy has been figured out and modules have been marked as STABLE / UNSTABLE / DEPRECATED. There is a comment in the module that indicates it's current state.
+
An API policy has been figured out and modules have been marked as STABLE / UNSTABLE / DEPRECATED. There is a comment in the module that indicates its current state.
   −
Sugar moved to use [http://projects.gnome.org/gconf/ GConf] as a back end to store the profile. This is another step into reducing diverts where not needed.
+
Sugar moved to [http://projects.gnome.org/gconf/ GConf] as a backend to store the profile. This is another step in reducing divergence from other desktop environments.
   −
To handle view source [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activityservice.py#line71 HandleViewSource and GetDocumentPath] have been added to the activity service. The former will handle the content of the activity bundle, the latter is the source of the current activity instance, in the case of Browse this would be the source of the HTML page currently displayed. Activity authors need to implement ''get_document_path'' and return the path to the document the dialog should display.
+
To handle "view source", [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activityservice.py#line71 HandleViewSource and GetDocumentPath] have been added to the activity service. The former will handle the content of the activity bundle, the latter is the source of the current activity instance, in the case of Browse this would be the source of the HTML page currently displayed. Activity authors need to implement ''get_document_path'' and return the path to the document the dialog should display.
    
The method [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activity.py#line717 ''get_preview''] has been changed to be public. It does return an image representing the state of the activity. Generally this is what the user is seeing in this moment. Activities can override this method and provide their own preview data.
 
The method [http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/activity.py#line717 ''get_preview''] has been changed to be public. It does return an image representing the state of the activity. Generally this is what the user is seeing in this moment. Activities can override this method and provide their own preview data.

Navigation menu