aboutsummaryrefslogtreecommitdiffstats
path: root/res
diff options
context:
space:
mode:
authorDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-21 22:16:39 +0100
committerDaniel Gultsch <daniel.gultsch@rwth-aachen.de>2014-03-21 22:16:39 +0100
commitdf9db8c8b61ae090309933a8dff395e690ff9ba3 (patch)
treec58a2630c4543fca8aeb191acbfc33c9a999e89f /res
parentf1c8b0e1b8bb16cceb32b12403166775b639f53a (diff)
parenta9e34d34926d7df3fb01143d6733b481c31c292d (diff)
Merge branch 'development'
Diffstat (limited to 'res')
-rw-r--r--res/values/arrays.xml19
-rw-r--r--res/xml/preferences.xml16
2 files changed, 14 insertions, 21 deletions
diff --git a/res/values/arrays.xml b/res/values/arrays.xml
index b8135cde..2210fbb8 100644
--- a/res/values/arrays.xml
+++ b/res/values/arrays.xml
@@ -1,17 +1,10 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
- <array name="conversation_encryption_type_entries">
- <item>None</item>
- <item>OpenPGP</item>
- <item>Off the record</item>
- </array>
- <array name="conversation_encryption_type_values">
- <item>none</item>
- <item>pgp</item>
- <item>otr</item>
- </array>
- <array name="manage_account_options">
- <item>Delete</item>
- <item>Disable</item>
+ <array name="resources">
+ <item>Mobile</item>
+ <item>Phone</item>
+ <item>Tablet</item>
+ <item>Conversations</item>
+ <item>Android</item>
</array>
</resources>
diff --git a/res/xml/preferences.xml b/res/xml/preferences.xml
index 904ea07e..49b3e580 100644
--- a/res/xml/preferences.xml
+++ b/res/xml/preferences.xml
@@ -1,20 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<PreferenceScreen xmlns:android="http://schemas.android.com/apk/res/android" >
<PreferenceCategory
- android:title="Security and Privacy Options">
- <ListPreference
- android:key="default_conversation_encryption_type"
- android:title="Default conversation encryption"
- android:dialogTitle="Default conversation encryption"
- android:entries="@array/conversation_encryption_type_entries"
- android:entryValues="@array/conversation_encryption_type_values"
- android:defaultValue="none"/>
+ android:title="General">
<CheckBoxPreference
android:key="grant_new_contacts"
android:title="Grant presence updates"
android:summary="Preemptivly grant and ask for presence subscription for contacts you created"
android:defaultValue="true"
/>
+ <ListPreference
+ android:key="resource"
+ android:title="XMPP Resource"
+ android:summary="The name this client identifies itself"
+ android:entries="@array/resources"
+ android:entryValues="@array/resources"
+ android:defaultValue="Mobile"/>
</PreferenceCategory>
<PreferenceCategory
android:title="Notification Settings">