mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +02:00
CInfoClock: ensure use of current theme colors
If user has changed colors or theme, new color settings must be applied,
otherwise settings have no effect.
Origin commit data
------------------
Commit: 4355c873cc
Author: Thilo Graf <dbt@novatux.de>
Date: 2013-11-29 (Fri, 29 Nov 2013)
This commit is contained in:
@@ -61,6 +61,10 @@ void CInfoClock::Init()
|
||||
oldSize = g_settings.infoClockFontSize;
|
||||
setClockFontSize(g_settings.infoClockFontSize);
|
||||
}
|
||||
|
||||
//use current theme colors
|
||||
syncSysColors();
|
||||
|
||||
int x_old = x, y_old = y, width_old = width, height_old = height;
|
||||
CVolumeHelper::getInstance()->refresh(cl_font);
|
||||
CVolumeHelper::getInstance()->getInfoClockDimensions(&x, &y, &width, &height);
|
||||
|
Reference in New Issue
Block a user