@ -1,11 +1,5 @@
<menu xmlns:android="http://schemas.android.com/apk/res/android" >
<item
android:id="@+id/action_showdetails"
android:icon="?attr/ic_action_new"
android:showAsAction="always"
android:title="@string/action_showdetails" />
android:id="@+id/action_addall"
@ -1,5 +1,11 @@
android:icon="?attr/ic_action_website"
@ -144,6 +144,7 @@ public class SearchResultsFragment extends SherlockFragment {
} else if (itemId == R.id.action_showdetails) {
SearchResult first = checked.get(0);
// Open the torrent's web page in the browser
if (checked.size() > 1)
Toast.makeText(getActivity(), getString(R.string.search_openingdetails, first), Toast.LENGTH_LONG)
.show();
startActivity(new Intent(Intent.ACTION_VIEW, Uri.parse(first.getDetailsUrl())));