diff options
author | Scott Jackson <daneren2005@gmail.com> | 2013-04-21 21:42:30 -0700 |
---|---|---|
committer | Scott Jackson <daneren2005@gmail.com> | 2013-04-21 21:42:30 -0700 |
commit | b8484584aa5fd20db66542a206256cf20d055d9f (patch) | |
tree | ac0ecdeb73c9ea0efbef29c325705343f13e95de /subsonic-android/src | |
parent | 061cc641396244f300f75e28b52ee7d8aa2c6ed9 (diff) | |
download | dsub-b8484584aa5fd20db66542a206256cf20d055d9f.tar.gz dsub-b8484584aa5fd20db66542a206256cf20d055d9f.tar.bz2 dsub-b8484584aa5fd20db66542a206256cf20d055d9f.zip |
Remove references to removed activities
Diffstat (limited to 'subsonic-android/src')
-rw-r--r-- | subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java index a9e20eae..6bb7da6f 100644 --- a/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java +++ b/subsonic-android/src/github/daneren2005/dsub/activity/SubsonicTabActivity.java @@ -86,7 +86,7 @@ public class SubsonicTabActivity extends SherlockActivity { protected void onPostCreate(Bundle bundle) {
super.onPostCreate(bundle);
- homeButton = findViewById(R.id.button_bar_home);
+ /*homeButton = findViewById(R.id.button_bar_home);
homeButton.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View view) {
@@ -126,11 +126,11 @@ public class SubsonicTabActivity extends SherlockActivity { /*if (this instanceof MainActivity) {
homeButton.setEnabled(false);
- } else*/ if (this instanceof SelectAlbumActivity || this instanceof SelectArtistActivity) {
+ } else if (this instanceof SelectAlbumActivity || this instanceof SelectArtistActivity) {
musicButton.setEnabled(false);
} else if (this instanceof SelectPlaylistActivity) {
playlistButton.setEnabled(false);
- } /*else if (this instanceof DownloadActivity || this instanceof LyricsActivity) {
+ } else if (this instanceof DownloadActivity || this instanceof LyricsActivity) {
nowPlayingButton.setEnabled(false);
}*/
}
|