diff options
author | lado <herrlado@gmail.com> | 2013-04-01 12:45:57 +0200 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-04-01 12:45:57 +0200 |
commit | 444aeee7d7c6f95ed6359f39d21e7001d4a8a944 (patch) | |
tree | 61018dc7391d8b24ba08ec740f4754aabc41d731 /vdrmanager/src/de/bjusystems | |
parent | d39b27a9c8de867815be513415b01e1e7f32e5a8 (diff) | |
download | vdr-manager-444aeee7d7c6f95ed6359f39d21e7001d4a8a944.tar.gz vdr-manager-444aeee7d7c6f95ed6359f39d21e7001d4a8a944.tar.bz2 |
Bug #1322
Diffstat (limited to 'vdrmanager/src/de/bjusystems')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrManagerActivity.java | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrManagerActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrManagerActivity.java index 7c5da2c..be0c9f8 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrManagerActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/VdrManagerActivity.java @@ -21,7 +21,6 @@ import com.j256.ormlite.android.AndroidDatabaseResults; import de.bjusystems.vdrmanager.R; import de.bjusystems.vdrmanager.app.Intents; -import de.bjusystems.vdrmanager.app.VdrManagerApp; import de.bjusystems.vdrmanager.data.Preferences; import de.bjusystems.vdrmanager.data.Vdr; import de.bjusystems.vdrmanager.data.db.DBAccess; @@ -75,10 +74,10 @@ public class VdrManagerActivity extends SherlockActivity implements findViewById(R.id.action_menu_recordings).setOnClickListener(this); findViewById(R.id.action_menu_timers).setOnClickListener(this); findViewById(R.id.action_menu_epg).setOnClickListener(this); - View v = findViewById(R.id.action_menu_search); - if (v != null) { - v.setOnClickListener(this); - } +// View v = findViewById(R.id.action_menu_search); +// if (v != null) { +// v.setOnClickListener(this); +// } findViewById(R.id.main_logo).setOnClickListener(this); actionMenuWakup = findViewById(R.id.action_menu_wakeup); @@ -136,8 +135,8 @@ public class VdrManagerActivity extends SherlockActivity implements break; } case R.id.main_menu_info: { - if(!isFinishing()){ - return true; + if(isFinishing()){ + break; } About.show(this); break; @@ -266,9 +265,9 @@ public class VdrManagerActivity extends SherlockActivity implements case R.id.action_menu_epg: startActivity(TimeEpgListActivity.class); break; - case R.id.action_menu_search: - onSearchRequested(); - break; +// case R.id.action_menu_search: +// onSearchRequested(); +// break; case R.id.action_menu_wakeup: final AsyncWakeupTask wakeupTask = new AsyncWakeupTask(this); wakeupTask.execute(); |