Homepage
Activities
Events
Blogs
Lists
Develop
Translate
Chat
Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Activity Team/Sweetener
(view source)
Revision as of 08:40, 23 October 2012
146 bytes removed
,
08:40, 23 October 2012
→Get started creating an activity
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
Daniel Francis
146
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Sugar
Downloads
Get started
FAQs
News
Get involved
Activity pages
Submit bugs
Get the source
About Sugar Labs
Donate to Sugar Labs
Contact info
Teams
Activity Team
Design Team
Documentation Team
Development Team
Infrastructure Team
Marketing Team
Platform Team
Translation Team
Wiki Team
Quick Links
Oversight Board
Governance
Human Interface Guidelines
people.sugarlabs.org
Recent changes
Categories
Service index
Wiki help
Code of Conduct
Local Labs
About local labs
Projects
Sugar Network
Sugar Creation Kit
Sugar on a Stick
Sugarizer
TOAST
Using the Wiki
Special pages
Printable version
Google translations
Afrikaans
አማርኛ
العربية
azərbaycanca
Bahasa Indonesia
Bahasa Melayu
Sunda
беларуская
বাংলা
български
bosanski
català
Cebuano
čeština
Chi-Chewa
corsu
Cymraeg
dansk
Deutsch
eesti
Ελληνικά
English
español
Esperanto
euskara
فارسی
français
Frysk
Gaeilge
Gàidhlig
galego
ગુજરાતી
Hausa
Hawaiʻi
한국어
עברית
हिन्दी
հայերեն
hmn
hrvatski
Igbo
isiXhosa
isiZulu
íslenska
italiano
jw
ქართული
ಕನ್ನಡ
қазақша
ភាសាខ្មែរ
Kiswahili
Kreyòl ayisyen
Кыргызча
kurdî
ລາວ
Latina
latviešu
Lëtzebuergesch
lietuvių
magyar
македонски
മലയാളം
Malti
Māori
монгол
मराठी
မြန်မာဘာသာ
Nederlands
नेपाली
日本語
norsk
ਪੰਜਾਬੀ
پښتو
polski
português
română
русский
Gagana Samoa
Sesotho
سنڌي
chiShona
shqip
සිංහල
slovenčina
slovenščina
Soomaaliga
српски / srpski
suomi
svenska
tj
Tagalog
ไทย
тоҷикӣ
தமிழ்
తెలుగు
Tiếng Việt
Türkçe
українська
oʻzbekcha/ўзбекча
اردو
ייִדיש
Yorùbá
中文(台灣)
中文(中国大陆)