diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-15 18:35:09 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-15 18:35:09 (GMT) |
commit | a3b2982e2ddef245e3006f05b1f76eb136ce3753 (patch) | |
tree | 8be04b542fcdd5a4e1fc9018e2319c0bf16748c3 /src/Screen.cc | |
parent | 4d604fb22c3fb24d8849a0da0c0859d34c202f9b (diff) | |
download | fluxbox_pavel-a3b2982e2ddef245e3006f05b1f76eb136ce3753.zip fluxbox_pavel-a3b2982e2ddef245e3006f05b1f76eb136ce3753.tar.bz2 |
Attach a modifiedSig handler to the session.cacheMax 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 701e38a..82a4939 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -387,11 +387,13 @@ 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->getCacheLifeResource(), fluxbox->getCacheMax())); | 390 | *fluxbox->getCacheLifeResource(), *fluxbox->getCacheMaxResource())); |
391 | imageControl().installRootColormap(); | 391 | imageControl().installRootColormap(); |
392 | root_colormap_installed = true; | 392 | root_colormap_installed = true; |
393 | m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(), | 393 | m_tracker.join(fluxbox->getCacheLifeResource().modifiedSig(), |
394 | MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout)); | 394 | MemFun(imageControl(), &FbTk::ImageControl::setCacheTimeout)); |
395 | m_tracker.join(fluxbox->getCacheMaxResource().modifiedSig(), | ||
396 | MemFun(imageControl(), &FbTk::ImageControl::setCacheMax)); | ||
395 | 397 | ||
396 | m_root_theme.reset(new RootTheme(imageControl())); | 398 | m_root_theme.reset(new RootTheme(imageControl())); |
397 | m_root_theme->reconfigTheme(); | 399 | m_root_theme->reconfigTheme(); |