diff options
author | lado <herrlado@gmail.com> | 2013-02-14 23:35:32 +0100 |
---|---|---|
committer | lado <herrlado@gmail.com> | 2013-02-14 23:35:32 +0100 |
commit | 253ad54874105bb9a01b1ceaa591013aa5929547 (patch) | |
tree | f70c89be25643eddfdb65ec443cae9f76b644a29 /vdrmanager/src | |
parent | f1ab3ef6c55adf41927af554ab65625b262c60cf (diff) | |
download | vdr-manager-253ad54874105bb9a01b1ceaa591013aa5929547.tar.gz vdr-manager-253ad54874105bb9a01b1ceaa591013aa5929547.tar.bz2 |
Feature #1253
Diffstat (limited to 'vdrmanager/src')
-rw-r--r-- | vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java index c117623..b40a544 100644 --- a/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java +++ b/vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java @@ -198,7 +198,7 @@ public class TimerListActivity extends BaseTimerEditActivity<Timer> implements * de.bjusystems.vdrmanager.gui.BaseActivity#onOptionsItemSelected(android * .view.MenuItem) */ - public boolean onOptionsItemSelected(final MenuItem item) { + public boolean onOptionsItemSelected(final com.actionbarsherlock.view.MenuItem item) { switch (item.getItemId()) { case R.id.timer_menu_add: @@ -220,14 +220,14 @@ public class TimerListActivity extends BaseTimerEditActivity<Timer> implements return super.onOptionsItemSelected(item); } - public boolean onCreateOptionsMenu(final Menu menu) { + public boolean onCreateOptionsMenu(final com.actionbarsherlock.view.Menu menu) { // MenuItem item; // item = menu.add(MENU_GROUP_NEW_TIMER, MENU_NEW_TIMER, 0, // R.string.new_timer); // item.setIcon(android.R.drawable.ic_menu_add);; // /item.setAlphabeticShortcut('r'); - final MenuInflater inflater = getMenuInflater(); + final com.actionbarsherlock.view.MenuInflater inflater = getSupportMenuInflater(); inflater.inflate(R.menu.timer_list_menu, menu); return super.onCreateOptionsMenu(menu); } |