diff options
author | Jorge Ruesga <jorge@ruesga.com> | 2013-04-29 00:59:24 +0200 |
---|---|---|
committer | Nebojsa Cvetkovic <nebkat@gmail.com> | 2013-04-29 13:48:59 +0100 |
commit | bd9793a7c059a616745f636128c665860d78ed8d (patch) | |
tree | 7073cbedf336824693edf96dc66b8b6d6a4dcc9f /res/values | |
parent | b76a4e1cd7734e35b779615d337e22b6c65648ee (diff) | |
download | packages_apps_trebuchet-bd9793a7c059a616745f636128c665860d78ed8d.zip packages_apps_trebuchet-bd9793a7c059a616745f636128c665860d78ed8d.tar.gz packages_apps_trebuchet-bd9793a7c059a616745f636128c665860d78ed8d.tar.bz2 |
Trebuchet: Lock homescreen
Allow lock shortcuts and folders positions in the workspace, hotseat and apps and widgets drawer.
When is enabled the system avoids to move any shortcut or folder, change its names and
access to widgets.
Patchset 2: Fixed typo
Change-Id: I832da526cf1eb32752218656a7c2dafc53010236
JIRA: CYAN-686
Issue: https://jira.cyanogenmod.org/browse/CYAN-686
Signed-off-by: Jorge Ruesga <jorge@ruesga.com>
Diffstat (limited to 'res/values')
-rw-r--r-- | res/values/cm_strings.xml | 10 | ||||
-rw-r--r-- | res/values/config.xml | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/res/values/cm_strings.xml b/res/values/cm_strings.xml index 5446b08..0090032 100644 --- a/res/values/cm_strings.xml +++ b/res/values/cm_strings.xml @@ -28,6 +28,11 @@ <!-- Label for the info icon. [CHAR_LIMIT=30] --> <string name="edit_target_label">Edit</string> + <!-- Menu item used to lock workspace --> + <string name="menu_lock_workspace">Lock homescreen</string> + <!-- Menu item used to unlock workspace --> + <string name="menu_unlock_workspace">Unlock homescreen</string> + <!-- Noun, menu item used to show the launcher preferences --> <string name="menu_preferences">Trebuchet settings</string> @@ -51,6 +56,9 @@ <!-- Hidden apps --> <string name="hidden_apps_title">Hidden apps</string> + <!-- Workspace is locked --> + <string name="workspace_locked">Homescreen is locked, unlock in settings to rearrange</string> + <!-- Settings --> <string name="preferences_title">Settings</string> <!-- UI --> @@ -142,6 +150,8 @@ <!-- General --> <string name="preferences_interface_general_title">General</string> <string name="preferences_interface_general_orientation_title">Auto-rotate screen</string> + <string name="preferences_interface_general_lock_workspace_title">Lock homescreen</string> + <string name="preferences_interface_general_lock_workspace_summary">Lock shortcuts and folders positions in the homescreen, dock and apps and widgets drawer</string> <string name="preferences_interface_general_fullscreen_title">Fullscreen mode</string> <string name="preferences_interface_general_fullscreen_summary">Hide the status bar to extend the homescreen</string> diff --git a/res/values/config.xml b/res/values/config.xml index f32e6b8..3164332 100644 --- a/res/values/config.xml +++ b/res/values/config.xml @@ -2,6 +2,7 @@ <bool name="config_largeHeap">false</bool> <bool name="is_large_screen">false</bool> <bool name="allow_rotation">false</bool> + <bool name="lock_workspace">false</bool> <!-- DragController --> <integer name="config_flingToDeleteMinVelocity">-1500</integer> |