diff --git a/src/gui/themes.cpp b/src/gui/themes.cpp index 01954b3a0..d6b6e93ca 100644 --- a/src/gui/themes.cpp +++ b/src/gui/themes.cpp @@ -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); diff --git a/src/gui/themes.h b/src/gui/themes.h index 51058d9ec..2ff9d5b23 100644 --- a/src/gui/themes.h +++ b/src/gui/themes.h @@ -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();