added an optional checkbox to the file dialog, can be used for instance to optionally delete files after importing them, and is used for that, also rearranged the option menu items for the main activity a little

Update issue 39
Added a new string:
<string name="label_deleteAfterImport">Delete After Import</string>
This commit is contained in:
Thialfihar
2010-07-26 21:57:28 +00:00
parent c1d9bbc644
commit 368f0a122f
7 changed files with 60 additions and 20 deletions

View File

@@ -659,9 +659,8 @@ public class DecryptActivity extends BaseActivity {
getString(R.string.specifyFileToDecryptTo),
mOutputFilename,
new FileDialog.OnClickListener() {
@Override
public void onOkClick(String filename) {
public void onOkClick(String filename, boolean checked) {
removeDialog(Id.dialog.output_filename);
mOutputFilename = filename;
decryptStart();
@@ -674,6 +673,7 @@ public class DecryptActivity extends BaseActivity {
},
getString(R.string.filemanager_titleSave),
getString(R.string.filemanager_btnSave),
null,
Id.request.output_filename);
}