diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-18 13:53:42 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-18 13:53:42 (GMT) |
commit | 30913f9d9b3ea6108c78f4d5c798330b76bf5e05 (patch) | |
tree | 07134c602e64947856a65322941c81a66a4ccb31 /src | |
parent | 93f9e04fb193137e0d3c9ea60c577a0f68734f7f (diff) | |
download | fluxbox_pavel-30913f9d9b3ea6108c78f4d5c798330b76bf5e05.zip fluxbox_pavel-30913f9d9b3ea6108c78f4d5c798330b76bf5e05.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 db16723..29545c2 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()) |