Changes

Jump to navigation Jump to search
123 bytes added ,  12:42, 9 March 2009
Line 25: Line 25:  
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 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.
   −
To handle view source ''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 document the dialog should show.
+
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 document the dialog should show.
    
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.
3,267

edits

Navigation menu