neutrino user_menu: cancel button added

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1531 e54a6e83-5905-42d5-8d5c-058d10e6a962


Origin commit data
------------------
Branch: ni/coolstream
Commit: 40054bafe2
Author: Thilo Graf <dbt@novatux.de>
Date: 2011-06-08 (Wed, 08 Jun 2011)

Origin message was:
------------------
*neutrino user_menu: cancel button added

git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@1531 e54a6e83-5905-42d5-8d5c-058d10e6a962


------------------
This commit was generated by Migit
This commit is contained in:
2011-06-08 20:37:23 +00:00
parent 8c1a41331a
commit 50c715de34

View File

@@ -486,7 +486,8 @@ bool CNeutrinoApp::showUserMenu(int button)
if (menu == NULL)
return 0;
menu->setSelected(selected[button]);
menu->addItem(GenericMenuSeparator);
menu->addIntroItems(NONEXISTANT_LOCALE, NONEXISTANT_LOCALE, CMenuWidget::BTN_TYPE_CANCEL);
// go through any postition number
for (int pos = 0; pos < SNeutrinoSettings::ITEM_MAX ; pos++) {