aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-18 13:53:42 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-11-01 09:57:23 (GMT)
commitfdb80d66f993e62d0881476b6a650962832e4cfb (patch)
treee7d46c70c112071908e4b823288064d3e3038755
parentbcaa58376bb688b2cabf9d44207b89d92c65c691 (diff)
downloadfluxbox_paul-fdb80d66f993e62d0881476b6a650962832e4cfb.zip
fluxbox_paul-fdb80d66f993e62d0881476b6a650962832e4cfb.tar.bz2
Attach modifiedSig handlers to session.screenX.menu{Delay,Alpha} resources
-rw-r--r--src/Screen.cc8
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
817void BScreen::reconfigure() { 821void 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())