From c45dbb36fcbbf6a3be1df4a98b1aa9995345536d Mon Sep 17 00:00:00 2001 From: Thilo Graf Date: Wed, 11 Apr 2018 23:58:15 +0200 Subject: [PATCH] CThemes: rename member readThemes -> showThemesMenu more plausible name Origin commit data ------------------ Branch: ni/coolstream Commit: https://github.com/neutrino-images/ni-neutrino/commit/2004017378aa70d55e1d6bcbd17d90d0e1839f32 Author: Thilo Graf Date: 2018-04-11 (Wed, 11 Apr 2018) ------------------ This commit was generated by Migit --- src/gui/themes.cpp | 4 ++-- src/gui/themes.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/gui/themes.cpp b/src/gui/themes.cpp index d57627ddf..5e8cfb665 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();