summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/VPNPreferences.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@blinkt.de>2012-05-31 22:20:51 +0200
committerArne Schwabe <arne@blinkt.de>2012-05-31 22:20:51 +0200
commitd13c16392630354c7296c31b343720e0a0f0f571 (patch)
tree86ce66d4eaf621ea30e5c9fdaff7fb90a77d02ce /src/de/blinkt/openvpn/VPNPreferences.java
parent4a2f853dba829b6c3b582c9c2a0b1bab5d902d4a (diff)
- fix a few more strings
- add editing xxx title to cfonig settings
Diffstat (limited to 'src/de/blinkt/openvpn/VPNPreferences.java')
-rw-r--r--src/de/blinkt/openvpn/VPNPreferences.java4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/de/blinkt/openvpn/VPNPreferences.java b/src/de/blinkt/openvpn/VPNPreferences.java
index f128270a..a2c8407c 100644
--- a/src/de/blinkt/openvpn/VPNPreferences.java
+++ b/src/de/blinkt/openvpn/VPNPreferences.java
@@ -28,6 +28,10 @@ public class VPNPreferences extends PreferenceActivity {
@Override
protected void onCreate(Bundle savedInstanceState) {
mProfileUUID = getIntent().getStringExtra(getPackageName() + ".profileUUID");
+ VpnProfile profile = ProfileManager.get(this,mProfileUUID);
+ if(profile!=null) {
+ setTitle(getString(R.string.edit_profile_title, profile.getName()));
+ }
super.onCreate(savedInstanceState);
}