Changes

Jump to navigation Jump to search
Line 14: Line 14:  
  git clone git://git.sugarlabs.org/sweetener/sweetener.git
 
  git clone git://git.sugarlabs.org/sweetener/sweetener.git
 
* Copy to your new activity directory the following files:
 
* Copy to your new activity directory the following files:
** Makefile
+
Makefile
** activity.py
+
activity.py
** canvas.py
+
canvas.py
** options.py
+
options.py
** info.py<br> Optional, only if you want to get your activity working on other Linux desktops:
+
info.py
** application.py
+
Optional, only if you want to get your activity working on other Linux desktops:
** hello-integration (rename it to your activity name)
+
application.py
 +
hello-integration # (rename it to your activity name)
 
* Make the following directories inside your activity:
 
* Make the following directories inside your activity:
** sugar/sweetener
+
sugar/sweetener
** desktop/sweetener (Only if you want to run your activity on Linux desktops)
+
desktop/sweetener # (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 from (sugar - desktop)/sweetener:
 
* Copy basic modules:<br>  Sweetener is divided in modules, for a very basic activity, you'll need to copy from (sugar - desktop)/sweetener:
** __init__.py
+
  __init__.py
** basic_options.py
+
  basic_options.py
** itembox.py
+
  itembox.py
** itemgroup.py<br> (Optional if your activity has only the main ToolbarBox and the ActivityToolbar, obligatory for run the activty on Linux desktop)
+
  item.py
** item.py
+
  stock.py
** 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 the information about your activity.
 
* Fill info.py with the information about your activity.
  

Navigation menu