clean up: comments removed, actionKeys found in it's own classes

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


Origin commit data
------------------
Branch: ni/coolstream
Commit: f84cbad2e4
Author: Thilo Graf <dbt@novatux.de>
Date: 2010-11-28 (Sun, 28 Nov 2010)



------------------
This commit was generated by Migit
This commit is contained in:
2010-11-28 13:43:47 +00:00
parent cce9fcd572
commit a88cc991cd

View File

@@ -4089,30 +4089,6 @@ int CNeutrinoApp::exec(CMenuTarget* parent, const std::string & actionKey)
dprintf(DEBUG_INFO, "showing current network settings...\n"); dprintf(DEBUG_INFO, "showing current network settings...\n");
showCurrentNetworkSettings(); showCurrentNetworkSettings();
} }
// else if (actionKey=="theme_neutrino") {
// setupColors_neutrino();
// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL);
// }
// else if (actionKey=="theme_classic") {
// setupColors_classic();
// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL);
// }
// else if (actionKey=="theme_dblue") {
// setupColors_dblue();
// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL);
// }
// else if (actionKey=="theme_dvb2k") {
// setupColors_dvb2k();
// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL);
// }
// else if(actionKey=="theme_ru") {
// setupColors_ru();
// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL);
// }
// else if(actionKey=="theme_red") {
// setupColors_red();
// colorSetupNotifier->changeNotify(NONEXISTANT_LOCALE, NULL);
// }
else if(actionKey=="savescansettings") { else if(actionKey=="savescansettings") {
SaveMotorPositions(); SaveMotorPositions();
} }
@@ -4328,49 +4304,6 @@ printf("New timeshift dir: %s\n", timeshiftDir);
return menu_return::RETURN_REPAINT; return menu_return::RETURN_REPAINT;
} }
// else if(actionKey == "select_font") {
// parent->hide();
// CFileBrowser fileBrowser;
// CFileFilter fileFilter;
// fileFilter.addFilter("ttf");
// fileBrowser.Filter = &fileFilter;
// if (fileBrowser.exec(FONTDIR) == true) {
// strcpy(g_settings.font_file, fileBrowser.getSelectedFile()->Name.c_str());
// printf("[neutrino] new font file %s\n", fileBrowser.getSelectedFile()->Name.c_str());
// SetupFonts();
// }
// return menu_return::RETURN_REPAINT;
// }
// else if(actionKey == "ttx_font") {
// parent->hide();
// CFileBrowser fileBrowser;
// CFileFilter fileFilter;
// fileFilter.addFilter("ttf");
// fileBrowser.Filter = &fileFilter;
// if (fileBrowser.exec(FONTDIR) == true) {
// strcpy(g_settings.ttx_font_file, fileBrowser.getSelectedFile()->Name.c_str());
// ttx_font_file = fileBrowser.getSelectedFile()->Name;
// printf("[neutrino] ttx font file %s\n", fileBrowser.getSelectedFile()->Name.c_str());
// SetupFonts();
// }
// return menu_return::RETURN_REPAINT;
// }
// else if (actionKey == "font_scaling") {
// int xre = g_settings.screen_xres;
// int yre = g_settings.screen_yres;
// parent->hide();
// CMenuWidget fontscale(LOCALE_FONTMENU_SCALING, NEUTRINO_ICON_COLORS);
// fontscale.addItem(new CMenuOptionNumberChooser(LOCALE_FONTMENU_SCALING_X, &xre, true, 50, 200));
// fontscale.addItem(new CMenuOptionNumberChooser(LOCALE_FONTMENU_SCALING_Y, &yre, true, 50, 200));
// fontscale.exec(NULL, "");
// if (xre != g_settings.screen_xres || yre != g_settings.screen_yres) {
// printf("[neutrino] new font scale settings x: %d%% y: %d%%\n", xre, yre);
// g_settings.screen_xres = xre;
// g_settings.screen_yres = yre;
// SetupFonts();
// }
// return menu_return::RETURN_REPAINT;
// }
else if(actionKey == "movieplugin") { else if(actionKey == "movieplugin") {
parent->hide(); parent->hide();
CMenuWidget MoviePluginSelector(LOCALE_MOVIEPLAYER_DEFPLUGIN, NEUTRINO_ICON_FEATURES); CMenuWidget MoviePluginSelector(LOCALE_MOVIEPLAYER_DEFPLUGIN, NEUTRINO_ICON_FEATURES);