Browse Source

Show current location in change download location popup.\nUpdated to version 1.1.10 release.

pull/11/head
Eric Kok 12 years ago
parent
commit
4b174464ff
  1. 4
      android/AndroidManifest.xml
  2. 8
      android/res/values/changelog.xml
  3. 5
      android/src/org/transdroid/gui/TorrentsFragment.java

4
android/AndroidManifest.xml

@ -18,8 +18,8 @@ @@ -18,8 +18,8 @@
-->
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="org.transdroid"
android:versionName="1.1.9"
android:versionCode="151"
android:versionName="1.1.10"
android:versionCode="152"
android:installLocation="auto">
<uses-sdk android:minSdkVersion="4" android:targetSdkVersion="13" />

8
android/res/values/changelog.xml

@ -1,6 +1,14 @@ @@ -1,6 +1,14 @@
<?xml version="1.0" encoding="utf-8"?>
<resources>
<string name="changes">
Transdroid 1.1.10\n
- Updated translations (thanks to all translators)\n
- Special thanks Tom Briden for the following contributions:\n
- Name filtering of the torrents lists\n
- rTorrent viewing of labels (with ruTorrent\'s plugin)\n
- rTorrent delete data when removing torrent\n
- rTorrent correct \'added on\' time\n
\n
Transdroid 1.1.9\n
- Added Bitsnoop to search sites\n
\n

5
android/src/org/transdroid/gui/TorrentsFragment.java

@ -680,7 +680,9 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou @@ -680,7 +680,9 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
return true;
}
// Get torrent item
// Get torrent item (if it still exists)
if (getTorrentListAdapter().getCount() <= info.id)
return true;
Torrent selection = (Torrent) getTorrentListAdapter().getItem((int)info.id);
switch (item.getItemId()) {
@ -1102,6 +1104,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou @@ -1102,6 +1104,7 @@ public class TorrentsFragment extends Fragment implements IDaemonCallback, OnTou
// Build a dialog that asks for a new download location for the torrent
final View setLocationLayout = getActivity().getLayoutInflater().inflate(R.layout.dialog_set_download_location, null);
final EditText newLocation = (EditText) setLocationLayout.findViewById(R.id.download_location);
newLocation.setText(selectedTorrent.getLocationDir());
AlertDialog.Builder setLocationDialog = new AlertDialog.Builder(getActivity());
setLocationDialog.setTitle(R.string.menu_setdownloadlocation);
setLocationDialog.setView(setLocationLayout);

Loading…
Cancel
Save