summaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorGrace Kloba <klobag@google.com>2009-09-23 13:33:10 -0700
committerGrace Kloba <klobag@google.com>2009-09-24 09:51:36 -0700
commit674f39ae50fb78dbc50c9249a8681cfcab04e6a0 (patch)
treeaf1e58efdb10ca638b25c532734faec56ff9d1a4 /res
parent00d85e74921459b34e70eb93368245b4c0a9bf5f (diff)
downloadpackages_apps_browser-674f39ae50fb78dbc50c9249a8681cfcab04e6a0.zip
packages_apps_browser-674f39ae50fb78dbc50c9249a8681cfcab04e6a0.tar.gz
packages_apps_browser-674f39ae50fb78dbc50c9249a8681cfcab04e6a0.tar.bz2
Add enable plug-ins to UI. Remove pluginsPath from BrowserSettings as it is unused now.
Diffstat (limited to 'res')
-rw-r--r--res/values/strings.xml2
-rw-r--r--res/xml/browser_preferences.xml7
2 files changed, 8 insertions, 1 deletions
diff --git a/res/values/strings.xml b/res/values/strings.xml
index b88f124..7f8623f 100644
--- a/res/values/strings.xml
+++ b/res/values/strings.xml
@@ -302,6 +302,8 @@
<string name="pref_content_javascript">Enable JavaScript</string>
<!-- Settings label -->
<string name="pref_content_open_in_background">Open in background</string>
+ <!-- Settings label -->
+ <string name="pref_content_plugins">Enable plug-ins</string>
<!-- Settings summary -->
<string name="pref_content_open_in_background_summary">Open new windows behind the current one</string>
<!-- Settings label -->
diff --git a/res/xml/browser_preferences.xml b/res/xml/browser_preferences.xml
index 0df35c2..1845e20 100644
--- a/res/xml/browser_preferences.xml
+++ b/res/xml/browser_preferences.xml
@@ -77,7 +77,12 @@
android:key="enable_javascript"
android:defaultValue="true"
android:title="@string/pref_content_javascript" />
-
+
+ <CheckBoxPreference
+ android:key="enable_plugins"
+ android:defaultValue="true"
+ android:title="@string/pref_content_plugins" />
+
<CheckBoxPreference
android:key="open_in_background"
android:defaultValue="false"