diff --git a/src/gui/moviebrowser/mb.cpp b/src/gui/moviebrowser/mb.cpp index e35f7cb79..bc0ba315e 100644 --- a/src/gui/moviebrowser/mb.cpp +++ b/src/gui/moviebrowser/mb.cpp @@ -1640,7 +1640,7 @@ void CMovieBrowser::refreshDetailsLine(int pos) } } -void CMovieBrowser::info_hdd_level(bool paint_hdd) +void CMovieBrowser::refreshHDDLevel(bool show) { TRACE("[mb]->%s:%d\n", __func__, __LINE__); @@ -1661,7 +1661,7 @@ void CMovieBrowser::info_hdd_level(bool paint_hdd) } } - if (g_settings.infobar_show_sysfs_hdd && paint_hdd) + if (show) m_header->enableProgessBar(percent_used); else m_header->setProgessBar(percent_used); @@ -2013,7 +2013,7 @@ void CMovieBrowser::refreshTitle(void) m_header->paint(CC_SAVE_SCREEN_NO); newHeader = m_header->isPainted(); - info_hdd_level(true); + refreshHDDLevel(true); } int CMovieBrowser::refreshFoot(bool show) @@ -3210,7 +3210,7 @@ void CMovieBrowser::updateMovieSelection(void) if (new_selection == true) { //TRACE("new\n"); - info_hdd_level(); + refreshHDDLevel(); refreshMovieInfo(); refreshLCD(); } diff --git a/src/gui/moviebrowser/mb.h b/src/gui/moviebrowser/mb.h index d939bc0f9..4a0185965 100644 --- a/src/gui/moviebrowser/mb.h +++ b/src/gui/moviebrowser/mb.h @@ -313,6 +313,7 @@ class CMovieBrowser : public CMenuTarget, public CProgressSignals void refreshTitle(void); //P2 void refreshInfo(void); // P2 void refreshLCD(void); // P2 + void refreshHDDLevel(bool show = false); void refreshDetailsLine(int pos); void hideDetailsLine(); @@ -378,8 +379,6 @@ class CMovieBrowser : public CMenuTarget, public CProgressSignals void updateSerienames(void); void autoFindSerie(void); - void info_hdd_level(bool paint_hdd=false); - neutrino_locale_t getFeedLocale(void); void clearListLines(); void clearSelection();