From 253ad54874105bb9a01b1ceaa591013aa5929547 Mon Sep 17 00:00:00 2001 From: lado Date: Thu, 14 Feb 2013 23:35:32 +0100 Subject: Feature #1253 --- vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'vdrmanager/src/de/bjusystems') 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 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 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); } -- cgit v1.2.3