summaryrefslogtreecommitdiff
path: root/vdrmanager
diff options
context:
space:
mode:
authorlado <herrlado@gmail.com>2013-02-14 23:35:32 +0100
committerlado <herrlado@gmail.com>2013-02-14 23:35:32 +0100
commit253ad54874105bb9a01b1ceaa591013aa5929547 (patch)
treef70c89be25643eddfdb65ec443cae9f76b644a29 /vdrmanager
parentf1ab3ef6c55adf41927af554ab65625b262c60cf (diff)
downloadvdr-manager-253ad54874105bb9a01b1ceaa591013aa5929547.tar.gz
vdr-manager-253ad54874105bb9a01b1ceaa591013aa5929547.tar.bz2
Feature #1253
Diffstat (limited to 'vdrmanager')
-rw-r--r--vdrmanager/src/de/bjusystems/vdrmanager/gui/TimerListActivity.java6
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);
}