diff options
author | Martin Abente <mabente@paraguayeduca.org> | 2010-09-08 15:11:07 (GMT) |
---|---|---|
committer | Martin Abente <mabente@paraguayeduca.org> | 2010-09-09 15:42:08 (GMT) |
commit | 5a63e31ef7a2ef0fc1dbc266dccb2fce4954d770 (patch) | |
tree | 919d063e8835bcf5b1ab027bde556a9ec11e16b0 /data/sugar.schemas.in | |
parent | 525c2ce125ad484bbfe05697f9fdf73163c86517 (diff) |
Protected Activities Support #2087
Activities deletion causes troubles during classes. Teachers from
Paraguay and Uruguay asked for a mechanism to protect activities
from being easily deleted.
This patch provides a mechanism that uses a gconf value to determine
which activities will not contain the erase option at the list view
palette.
The gconf value contains a list of activities bundle indentifiers.
Diffstat (limited to 'data/sugar.schemas.in')
-rw-r--r-- | data/sugar.schemas.in | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/data/sugar.schemas.in b/data/sugar.schemas.in index 2e6b820..cfa7edf 100644 --- a/data/sugar.schemas.in +++ b/data/sugar.schemas.in @@ -343,5 +343,19 @@ </locale> </schema> + <schema> + <key>/schemas/desktop/sugar/protected_activities</key> + <applyto>/desktop/sugar/protected_activities</applyto> + <owner>sugar</owner> + <type>list</type> + <list_type>string</list_type> + <default>[]</default> + <locale name="C"> + <short>Bundle IDs of protected activities</short> + <long>Users will not be allowed to erase these + activities through the list view.</long> + </locale> + </schema> + </schemalist> </gconfschemafile> |