Changes

Jump to navigation Jump to search
643 bytes added ,  12:41, 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.
   −
* Add view-source-related methods HandleViewSource and GetDocumentPath
+
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.
* Let activities provide their own implementation of get_preview() #152
+
 
 +
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.
    
=== Dependencies ===
 
=== Dependencies ===
3,267

edits

Navigation menu