aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo
diff options
context:
space:
mode:
Diffstat (limited to 'main/src/cgeo')
-rw-r--r--main/src/cgeo/geocaching/cgBase.java1
-rw-r--r--main/src/cgeo/geocaching/cgeoinit.java8
2 files changed, 9 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/cgBase.java b/main/src/cgeo/geocaching/cgBase.java
index debb0d3..9cb9e22 100644
--- a/main/src/cgeo/geocaching/cgBase.java
+++ b/main/src/cgeo/geocaching/cgBase.java
@@ -342,6 +342,7 @@ public class cgBase {
clearCookies();
Settings.setCookieStore(null);
+ setActualStatus("-");
return StatusCode.NO_ERROR;
}
diff --git a/main/src/cgeo/geocaching/cgeoinit.java b/main/src/cgeo/geocaching/cgeoinit.java
index 5a601ac..cd8a5a8 100644
--- a/main/src/cgeo/geocaching/cgeoinit.java
+++ b/main/src/cgeo/geocaching/cgeoinit.java
@@ -229,6 +229,14 @@ public class cgeoinit extends AbstractActivity {
Button logMeIn = (Button) findViewById(R.id.log_me_in);
logMeIn.setOnClickListener(new logIn());
+ Button logMeOut = (Button) findViewById(R.id.log_me_out);
+ logMeOut.setOnClickListener(new View.OnClickListener() {
+ @Override
+ public void onClick(View view) {
+ cgBase.logout();
+ }
+ });
+
TextView legalNote = (TextView) findViewById(R.id.legal_note);
legalNote.setClickable(true);
legalNote.setOnClickListener(new View.OnClickListener() {