mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
CThemes: rename member readThemes -> showThemesMenu
more plausible name
This commit is contained in:
@@ -112,7 +112,7 @@ int CThemes::exec(CMenuTarget* parent, const std::string & actionKey)
|
|||||||
return Show();
|
return Show();
|
||||||
}
|
}
|
||||||
|
|
||||||
void CThemes::readThemes(CMenuWidget &themes)
|
void CThemes::initThemesMenu(CMenuWidget &themes)
|
||||||
{
|
{
|
||||||
struct dirent **themelist;
|
struct dirent **themelist;
|
||||||
int n;
|
int n;
|
||||||
@@ -180,7 +180,7 @@ int CThemes::Show()
|
|||||||
//set default theme
|
//set default theme
|
||||||
themes.addItem(new CMenuForwarder(LOCALE_COLORTHEMEMENU_NEUTRINO_THEME, true, NULL, this, "default_theme", CRCInput::RC_red));
|
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);
|
CKeyboardInput nameInput(LOCALE_COLORTHEMEMENU_NAME, &file_name);
|
||||||
CMenuForwarder *m1 = new CMenuForwarder(LOCALE_COLORTHEMEMENU_SAVE, true , NULL, &nameInput, NULL, CRCInput::RC_green);
|
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();
|
int Show();
|
||||||
void readFile(const char *themename);
|
void readFile(const char *themename);
|
||||||
void saveFile(const char *themename);
|
void saveFile(const char *themename);
|
||||||
void readThemes(CMenuWidget &);
|
void initThemesMenu(CMenuWidget &);
|
||||||
void rememberOldTheme(bool remember);
|
void rememberOldTheme(bool remember);
|
||||||
void move_userDir();
|
void move_userDir();
|
||||||
bool applyDefaultTheme();
|
bool applyDefaultTheme();
|
||||||
|
Reference in New Issue
Block a user