diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-14 12:56:25 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-11-01 09:57:22 (GMT) |
commit | e945aceb6aa71db200dfb8db659f3248bb62af68 (patch) | |
tree | b1428d78b17dd9b1332fa02196d811d282a24e7f /src/Screen.cc | |
parent | 70b63f6aee4a612e34c729d5d19e5b0e0626fc7e (diff) | |
download | fluxbox_paul-e945aceb6aa71db200dfb8db659f3248bb62af68.zip fluxbox_paul-e945aceb6aa71db200dfb8db659f3248bb62af68.tar.bz2 |
Attach a modifiedSig handler to the session.cacheLife resource
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index e855727..701e38a 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -387,9 +387,11 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm, | |||
387 | // setup image cache engine | 387 | // setup image cache engine |
388 | m_image_control.reset(new FbTk::ImageControl(scrn, | 388 | m_image_control.reset(new FbTk::ImageControl(scrn, |
389 | fluxbox->colorsPerChannel(), | 389 | fluxbox->colorsPerChannel(), |
390 | fluxbox->getCacheLife(), fluxbox->getCacheMax())); | 390 | *fluxbox->getCacheLifeResource(), fluxbox->getCacheMax())); |
391 | imageControl().installRootColormap(); | 391 | imageControl().installRootColormap(); |
392 | root_colormap_installed = true; | 392 | root_colormap_installed = true; |
393 | m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(), | ||
394 | MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout)); | ||
393 | 395 | ||
394 | m_root_theme.reset(new RootTheme(imageControl())); | 396 | m_root_theme.reset(new RootTheme(imageControl())); |
395 | m_root_theme->reconfigTheme(); | 397 | m_root_theme->reconfigTheme(); |