diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-18 13:53:42 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:11:32 (GMT) |
commit | 8c80c4d8b3d06d0cd4077a8ec8de5fc0b63b6c07 (patch) | |
tree | c0eafa7f74f60e802e884cf58bfc0046acfc8028 /src | |
parent | 50c5ccc03b932444fdc5056998dafa71bbb6da70 (diff) | |
download | fluxbox_paul-8c80c4d8b3d06d0cd4077a8ec8de5fc0b63b6c07.zip fluxbox_paul-8c80c4d8b3d06d0cd4077a8ec8de5fc0b63b6c07.tar.bz2 |
Attach modifiedSig handlers to session.screenX.menu{Delay,Alpha} resources
Diffstat (limited to 'src')
-rw-r--r-- | src/Screen.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 8615942..f848497 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -406,8 +406,12 @@ BScreen::BScreen(FbTk::ResourceManager_base &rm, | |||
406 | MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); | 406 | MemFun(*unfocusedWinFrameTheme(), &FbWinFrameTheme::setAlpha)); |
407 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); | 407 | unfocusedWinFrameTheme()->setAlpha(*resource.unfocused_alpha); |
408 | 408 | ||
409 | m_tracker.join(resource.menu_alpha.modifiedSig(), | ||
410 | MemFun(*m_menutheme, &FbTk::MenuTheme::setAlpha)); | ||
409 | m_menutheme->setAlpha(*resource.menu_alpha); | 411 | m_menutheme->setAlpha(*resource.menu_alpha); |
410 | 412 | ||
413 | m_tracker.join(resource.menu_delay.modifiedSig(), | ||
414 | MemFun(*m_menutheme, &FbTk::MenuTheme::setDelay)); | ||
411 | m_menutheme->setDelay(*resource.menu_delay); | 415 | m_menutheme->setDelay(*resource.menu_delay); |
412 | 416 | ||
413 | m_tracker.join(focusedWinFrameTheme()->reconfigSig(), | 417 | m_tracker.join(focusedWinFrameTheme()->reconfigSig(), |
@@ -815,10 +819,6 @@ BScreen::addExtraWindowMenu(const FbTk::FbString &label, const FbTk::RefCount<Fb | |||
815 | } | 819 | } |
816 | 820 | ||
817 | void BScreen::reconfigure() { | 821 | void BScreen::reconfigure() { |
818 | m_menutheme->setAlpha(*resource.menu_alpha); | ||
819 | |||
820 | m_menutheme->setDelay(*resource.menu_delay); | ||
821 | |||
822 | // realize the number of workspaces from the init-file | 822 | // realize the number of workspaces from the init-file |
823 | const unsigned int nr_ws = *resource.workspaces; | 823 | const unsigned int nr_ws = *resource.workspaces; |
824 | while(nr_ws > m_workspaces_list.size()) | 824 | while(nr_ws > m_workspaces_list.size()) |