Changes

Jump to navigation Jump to search
146 bytes removed ,  08:40, 23 October 2012
Line 24: Line 24:  
* Make the following directories inside your activity:
 
* Make the following directories inside your activity:
 
  activity/
 
  activity/
  sugar/sweetener/
+
  sugar/
  desktop/sweetener/  # (Only if you want to run your activity on Linux desktops)
+
  desktop/  # (Only if you want to run your activity on Linux desktops)
* Copy basic modules:<br>  Sweetener is divided in modules, for a very basic activity, you'll need to copy to (sugar - desktop)/sweetener:
+
* Clone the sweetener API
  __init__.py
+
git submodule add git://git.sugarlabs.org/sweetener/sugar sugar/sweetener
  basic_options.py
+
  item.py
+
# This is only for other Linux desktops.
  itembox.py
+
git submodule add git://git.sugarlabs.org/sweetener/desktop desktop/sweetener
  stock.py
+
 
Optional if your activity has only the main ToolbarBox and the ActivityToolbar, obligatory for run the activty on Linux desktops:
  −
  itemgroup.py
   
* Fill info.py with information about your activity. See [[Activity_Team/Sweetener#Activity_information|info.py fields]].
 
* Fill info.py with information about your activity. See [[Activity_Team/Sweetener#Activity_information|info.py fields]].
 
* Create a sugarized icon on activity/activity-(lower-name).svg where lower-name must be the same as the variable on info.py
 
* Create a sugarized icon on activity/activity-(lower-name).svg where lower-name must be the same as the variable on info.py

Navigation menu