Difference between revisions of "Activity Team/Sweetener"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
== Key accelerators == | == Key accelerators == | ||
+ | Gtk Stock sets some accelerators for convention, by default. | ||
+ | Sweetener sets and overwrites some key accelerators for integrate them with Sugar. | ||
<table border=1> | <table border=1> | ||
<tr><th>Stock Label</th><th>Key Accelerator on Sugar</th><th>Key accelerator on Linux desktops</th></tr> | <tr><th>Stock Label</th><th>Key Accelerator on Sugar</th><th>Key accelerator on Linux desktops</th></tr> | ||
Line 31: | Line 33: | ||
<tr><td>Normal Size</td><td>Ctrl + 0</td><td>Ctrl + 0</td></tr> | <tr><td>Normal Size</td><td>Ctrl + 0</td><td>Ctrl + 0</td></tr> | ||
<tr><td>Remove</td><td>Shift + Del</td><td>Ctrl + R</td></tr> | <tr><td>Remove</td><td>Shift + Del</td><td>Ctrl + R</td></tr> | ||
+ | <tr><td>Save as</td><td>We haven't. :)</td><td>Ctrl + Shift + S</td></tr> | ||
<tr><td>Select Color</td><td>Ctrl + L</td><td>Ctrl + L</td></tr> | <tr><td>Select Color</td><td>Ctrl + L</td><td>Ctrl + L</td></tr> | ||
<tr><td>Zoom In</td><td>Ctrl + +</td><td>Ctrl + +</td></tr> | <tr><td>Zoom In</td><td>Ctrl + +</td><td>Ctrl + +</td></tr> |
Revision as of 13:14, 3 October 2012
(Note: This page is not finished.)
Sweetener is a desktop framework which provides compatibility between Sugar and other Desktops. Does all the repetitive parts, for be more friendly with developers. It's divided in modules, they can be included in an activity for do a specific task.
Maintainers
Current Release
At the moment it hasn't got a stable release. Clone the GIT Repository and feel free to send patches, request merges or contact the maintainers.
Get started creating an activity
- Start a repository on Git
- Clone Sweetener
git clone git://git.sugarlabs.org/sweetener/sweetener.git
- Copy to your new activity directory the following files:
- Makefile
- activity.py
- canvas.py
- options.py
- info.py
- Optional, only if you want to get your activity working on other Linux desktops:
- application.py
- hello-integration (rename it to your activity name)
- Fill info.py with the information about the activity.
Key accelerators
Gtk Stock sets some accelerators for convention, by default. Sweetener sets and overwrites some key accelerators for integrate them with Sugar.
Stock Label | Key Accelerator on Sugar | Key accelerator on Linux desktops |
---|---|---|
Add | Ctrl + A | Ctrl + A |
Fullscreen | Alt + Return | F11 |
Normal Size | Ctrl + 0 | Ctrl + 0 |
Remove | Shift + Del | Ctrl + R |
Save as | We haven't. :) | Ctrl + Shift + S |
Select Color | Ctrl + L | Ctrl + L |
Zoom In | Ctrl + + | Ctrl + + |
Zoom Out | Ctrl + - | Ctrl + - |
Activities using Sweetener
Gtk2 and Gtk3 Support
There are efforts to port Sweetener to Gtk3[1], but at the moment it isn't possible thanks to the upstream bug GNOME#652697.