aboutsummaryrefslogtreecommitdiffstats
path: root/main/src/cgeo/geocaching/activity/Progress.java
diff options
context:
space:
mode:
authorMarco Jacob <mjacob@union06.de>2012-03-14 21:37:28 +0100
committerMarco Jacob <mjacob@union06.de>2012-03-14 21:37:28 +0100
commit56879e56ae1b3b771cf2407a81a49c8fa507fd54 (patch)
treecee958a4ae4f10c11a59aa8cbc36f48fab7314bc /main/src/cgeo/geocaching/activity/Progress.java
parent9a8f2397035f13621f3e8c9ffbda4b1496fb3ab0 (diff)
downloadcgeo-56879e56ae1b3b771cf2407a81a49c8fa507fd54.zip
cgeo-56879e56ae1b3b771cf2407a81a49c8fa507fd54.tar.gz
cgeo-56879e56ae1b3b771cf2407a81a49c8fa507fd54.tar.bz2
added abort button to GPXImporter and skip button for static maps import
Diffstat (limited to 'main/src/cgeo/geocaching/activity/Progress.java')
-rw-r--r--main/src/cgeo/geocaching/activity/Progress.java2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/cgeo/geocaching/activity/Progress.java b/main/src/cgeo/geocaching/activity/Progress.java
index 75f4093..ce0afb8 100644
--- a/main/src/cgeo/geocaching/activity/Progress.java
+++ b/main/src/cgeo/geocaching/activity/Progress.java
@@ -2,6 +2,7 @@ package cgeo.geocaching.activity;
import android.app.ProgressDialog;
import android.content.Context;
+import android.content.DialogInterface;
import android.os.Message;
import android.view.WindowManager;
@@ -40,6 +41,7 @@ public class Progress {
if (cancelMessage != null) {
dialog.setCancelable(true);
dialog.setCancelMessage(cancelMessage);
+ dialog.setButton(DialogInterface.BUTTON_NEGATIVE, context.getResources().getString(android.R.string.cancel), cancelMessage);
} else {
dialog.setCancelable(false);
}