diff options
Diffstat (limited to 'src/com/android/browser/BrowserBookmarksPage.java')
-rw-r--r-- | src/com/android/browser/BrowserBookmarksPage.java | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/com/android/browser/BrowserBookmarksPage.java b/src/com/android/browser/BrowserBookmarksPage.java index 428aa92..5abdbb3 100644 --- a/src/com/android/browser/BrowserBookmarksPage.java +++ b/src/com/android/browser/BrowserBookmarksPage.java @@ -344,6 +344,14 @@ public class BrowserBookmarksPage extends Activity implements } @Override + public boolean onPrepareOptionsMenu(Menu menu) { + menu.findItem(R.id.switch_mode_menu_id).setTitle( + mGridMode ? R.string.switch_to_list + : R.string.switch_to_thumbnails); + return true; + } + + @Override public boolean onOptionsItemSelected(MenuItem item) { switch (item.getItemId()) { case R.id.new_context_menu_id: |