mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 08:51:04 +02:00
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:
@@ -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);
|
||||
|
@@ -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();
|
||||
|
Reference in New Issue
Block a user