CThemes: rename member readThemes -> showThemesMenu

more plausible name


Origin commit data
------------------
Branch: ni/coolstream
Commit: 2004017378
Author: Thilo Graf <dbt@novatux.de>
Date: 2018-04-11 (Wed, 11 Apr 2018)



------------------
This commit was generated by Migit
This commit is contained in:
2018-04-11 23:58:15 +02:00
committed by vanhofen
parent b7f68fffcc
commit c45dbb36fc
2 changed files with 3 additions and 3 deletions

View File

@@ -112,7 +112,7 @@ int CThemes::exec(CMenuTarget* parent, const std::string & actionKey)
return Show();
}
void CThemes::readThemes(CMenuWidget &themes)
void CThemes::initThemesMenu(CMenuWidget &themes)
{
struct dirent **themelist;
int n;
@@ -180,7 +180,7 @@ int CThemes::Show()
//set default theme
themes.addItem(new CMenuForwarder(LOCALE_COLORTHEMEMENU_NEUTRINO_THEME, true, NULL, this, "default_theme", CRCInput::RC_red));
readThemes(themes);
initThemesMenu(themes);
CKeyboardInput nameInput(LOCALE_COLORTHEMEMENU_NAME, &file_name);
CMenuForwarder *m1 = new CMenuForwarder(LOCALE_COLORTHEMEMENU_SAVE, true , NULL, &nameInput, NULL, CRCInput::RC_green);

View File

@@ -44,7 +44,7 @@ class CThemes : public CMenuTarget, CColorSetupNotifier, public sigc::trackable
int Show();
void readFile(const char *themename);
void saveFile(const char *themename);
void readThemes(CMenuWidget &);
void initThemesMenu(CMenuWidget &);
void rememberOldTheme(bool remember);
void move_userDir();
bool applyDefaultTheme();