mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-31 09:21:09 +02:00
Merge branch 'cst-next' of git://coolstreamtech.de/cst-public-gui-neutrino into ni/cst-next
Origin commit data
------------------
Commit: 3cbebe069b
Author: vanhofen <vanhofen@gmx.de>
Date: 2016-08-10 (Wed, 10 Aug 2016)
This commit is contained in:
@@ -1550,7 +1550,7 @@ void CMovieBrowser::refreshMovieInfo(void)
|
||||
|
||||
void CMovieBrowser::info_hdd_level(bool paint_hdd)
|
||||
{
|
||||
if (show_mode == MB_SHOW_YT)
|
||||
if (show_mode == MB_SHOW_YT || !g_settings.infobar_show_sysfs_hdd)
|
||||
return;
|
||||
|
||||
struct statfs s;
|
||||
@@ -1563,9 +1563,6 @@ void CMovieBrowser::info_hdd_level(bool paint_hdd)
|
||||
}
|
||||
}
|
||||
|
||||
if (paint_hdd)
|
||||
paint_hdd = g_settings.infobar_show_sysfs_hdd; // don't paint if disabled by user
|
||||
|
||||
if (tmp_blocks_percent_used != blocks_percent_used || paint_hdd) {
|
||||
tmp_blocks_percent_used = blocks_percent_used;
|
||||
const short pbw = 100;
|
||||
|
Reference in New Issue
Block a user