diff options
author | louis <louis.braun@gmx.de> | 2012-12-19 19:43:56 +0100 |
---|---|---|
committer | louis <louis.braun@gmx.de> | 2012-12-19 19:43:56 +0100 |
commit | 7c2a71393299eed572c1b4dfc2f35a7819e8843b (patch) | |
tree | 751f8c55e49f82ac291015d28924d3f235058fe7 /displaymenuview.c | |
parent | 7010739a062c660bbd88b612e1635068325acf3f (diff) | |
download | skin-nopacity-7c2a71393299eed572c1b4dfc2f35a7819e8843b.tar.gz skin-nopacity-7c2a71393299eed572c1b4dfc2f35a7819e8843b.tar.bz2 |
Configurable display of disc usage and timers in main menu
Diffstat (limited to 'displaymenuview.c')
-rw-r--r-- | displaymenuview.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/displaymenuview.c b/displaymenuview.c index 70ae27c..ce8e7cc 100644 --- a/displaymenuview.c +++ b/displaymenuview.c @@ -495,7 +495,10 @@ void cNopacityDisplayMenuView::ClearButton(int num) { } int cNopacityDisplayMenuView::GetTimersInitHeight(void) { - return headerHeight + diskUsageHeight + 2*spaceMenu; + int initHeight = headerHeight + 2*spaceMenu; + if (config.showDiscUsage) + initHeight += diskUsageHeight; + return initHeight; } int cNopacityDisplayMenuView::GetTimersMaxHeight(void) { |