diff options
author | jruesga <jorge@ruesga.com> | 2012-10-01 01:27:58 +0200 |
---|---|---|
committer | jruesga <jorge@ruesga.com> | 2012-10-01 01:27:58 +0200 |
commit | bf8ccefeb9d6b8f6b00099c7ba5d04fcc75357d7 (patch) | |
tree | 54637fc796c3d025276a049dae87735834c26f6f /res | |
parent | bffa4c3061d775af3e4c591d6c8a660d312d776a (diff) | |
download | android_packages_apps_CMFileManager-bf8ccefeb9d6b8f6b00099c7ba5d04fcc75357d7.tar.gz android_packages_apps_CMFileManager-bf8ccefeb9d6b8f6b00099c7ba5d04fcc75357d7.tar.bz2 android_packages_apps_CMFileManager-bf8ccefeb9d6b8f6b00099c7ba5d04fcc75357d7.zip |
Some providers + Some actions
* Create new Bookmarks provider (database + providers). Replace old
shared preferences based.
* New actions "Add to bookmarks" (global + fso).
* Initial support for "open" and "open with" actions.
* Clean up
Diffstat (limited to 'res')
-rw-r--r-- | res/menu/actions.xml | 8 | ||||
-rw-r--r-- | res/values/strings.xml | 11 | ||||
-rw-r--r-- | res/xml/searchable.xml | 2 |
3 files changed, 19 insertions, 2 deletions
diff --git a/res/menu/actions.xml b/res/menu/actions.xml index 5a844f0a..2ab5124a 100644 --- a/res/menu/actions.xml +++ b/res/menu/actions.xml @@ -50,6 +50,10 @@ android:id="@+id/mnu_actions_move_selection" android:showAsAction="always" android:title="@string/actions_menu_move_selection"/> + <item + android:id="@+id/mnu_actions_add_to_bookmarks_current_folder" + android:showAsAction="always" + android:title="@string/actions_menu_add_to_bookmarks_current_folder"/> </group> <!-- FileSystemObject Actions --> @@ -82,6 +86,10 @@ android:id="@+id/mnu_actions_open_with" android:showAsAction="always" android:title="@string/actions_menu_open_with"/> + <item + android:id="@+id/mnu_actions_add_to_bookmarks" + android:showAsAction="always" + android:title="@string/actions_menu_add_to_bookmarks"/> </group> </menu>
\ No newline at end of file diff --git a/res/values/strings.xml b/res/values/strings.xml index 6ecf4b48..0c94f610 100644 --- a/res/values/strings.xml +++ b/res/values/strings.xml @@ -79,7 +79,6 @@ Changing to a non-privileged console.</string> <!-- The operation to change to other kind of console failed --> <string name="msgs_console_change_failed">Change to new type of console failed.</string> - <!-- The selected setting was not applied nor stored --> <string name="msgs_settings_save_failure">The setting can\'t be stored or applied.</string> <!-- The initial directory has an invalid directory --> @@ -124,6 +123,10 @@ <string name="advise_insufficient_permissions">The operation requires elevated privileged.\n\n Do you want to change to a privileged console?</string> + <!-- There is no registered application that can handle the mime/type --> + <string name="msgs_not_registered_app">There is not registered app that can handle + the file type selected.</string> + <!-- The parent directory of the current directory in navigation view --> <string name="parent_dir">Parent Directory</string> @@ -333,6 +336,8 @@ <string name="bookmarks_button_config_cd">Set the initial directory</string> <!-- Bookmark name * Button * Remove bookmark content description --> <string name="bookmarks_button_remove_bookmark_cd">Remove the bookmarks</string> + <!-- Bookmarks * Actions * Bookmark successfully added --> + <string name="bookmarks_msgs_add_success">The bookmark was added successfully.</string> <!-- Initial directory dialog title --> <string name="initial_directory_dialog_title">Initial directory</string> @@ -382,6 +387,8 @@ <string name="actions_menu_copy_selection">Copy selection</string> <!-- Actions Dialog * Menu * Move selection --> <string name="actions_menu_move_selection">Move selection</string> + <!-- Actions Dialog * Menu * Add to bookmarks the current folder --> + <string name="actions_menu_add_to_bookmarks_current_folder">Add to bookmarks</string> <!-- Actions Dialog * Menu * Open --> <string name="actions_menu_open">Open</string> <!-- Actions Dialog * Menu * Open with --> @@ -392,6 +399,8 @@ <string name="actions_menu_rename">Rename</string> <!-- Actions Dialog * Menu * Properties --> <string name="actions_menu_properties">Properties</string> + <!-- Actions Dialog * Menu * Add to bookmarks --> + <string name="actions_menu_add_to_bookmarks">Add to bookmarks</string> <!-- Actions * Ask user prior to remove files or folders --> <string name="actions_ask_remove_folder">Are you sure you want to delete this folder diff --git a/res/xml/searchable.xml b/res/xml/searchable.xml index 71f2cba6..2a30a46b 100644 --- a/res/xml/searchable.xml +++ b/res/xml/searchable.xml @@ -19,7 +19,7 @@ android:imeOptions="actionSearch" android:includeInGlobalSearch="false" android:label="@string/search" - android:searchSuggestAuthority="com.cyanogenmod.explorer.providers.RecentSearchesContentProvider" + android:searchSuggestAuthority="com.cyanogenmod.explorer.providers.recentsearches" android:searchSuggestSelection=" ?" android:searchSuggestThreshold="3" android:voiceMaxResults="5" |