From 1277993ca97c60a7bc61441ec41f9e1cfad1b83f Mon Sep 17 00:00:00 2001 From: vanhofen Date: Thu, 19 Dec 2013 15:13:56 +0100 Subject: [PATCH] moviebrowser: remove cancel button from startPosSelectionMenu ... ... and set "record start" as the default selection Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/932c201074c3aafcc1ae9f0211ab1abb0536676e Author: vanhofen Date: 2013-12-19 (Thu, 19 Dec 2013) Origin message was: ------------------ - moviebrowser: remove cancel button from startPosSelectionMenu ... ... and set "record start" as the default selection ------------------ This commit was generated by Migit --- src/gui/moviebrowser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/gui/moviebrowser.cpp b/src/gui/moviebrowser.cpp index a53b55afe..7ae95f27e 100644 --- a/src/gui/moviebrowser.cpp +++ b/src/gui/moviebrowser.cpp @@ -3259,7 +3259,7 @@ int CMovieBrowser::showStartPosSelectionMenu(void) // P2 CMenuWidgetSelection startPosSelectionMenu(LOCALE_MOVIEBROWSER_HEAD , NEUTRINO_ICON_MOVIEPLAYER); startPosSelectionMenu.enableFade(false); - startPosSelectionMenu.addIntroItems(LOCALE_MOVIEBROWSER_START_HEAD, NONEXISTANT_LOCALE, CMenuWidget::BTN_TYPE_CANCEL); + startPosSelectionMenu.addIntroItems(LOCALE_MOVIEBROWSER_START_HEAD, NONEXISTANT_LOCALE, CMenuWidget::BTN_TYPE_NO); if(m_movieSelectionHandler->bookmarks.start != 0) { @@ -3271,7 +3271,8 @@ int CMovieBrowser::showStartPosSelectionMenu(void) // P2 startPosSelectionMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_BOOK_LASTMOVIESTOP, true, play_pos)); position[menu_nr++] = m_movieSelectionHandler->bookmarks.lastPlayStop; } - startPosSelectionMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_START_RECORD_START, true,NULL)); + + startPosSelectionMenu.addItem(new CMenuForwarder(LOCALE_MOVIEBROWSER_START_RECORD_START, true,NULL), true); position[menu_nr++] = 0; for(int i =0 ; i < MI_MOVIE_BOOK_USER_MAX && menu_nr < MAX_NUMBER_OF_BOOKMARK_ITEMS; i++ )