diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-05-07 20:32:48 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-05-10 11:00:46 (GMT) |
commit | 79d526b968b0e8cec31a66b0eafa8ddeb32cc16e (patch) | |
tree | c5308c180986495086f389f2f52c8f230418708e /src/Screen.cc | |
parent | e1b0decf559113b43162d9e54bdbf75ee1d80b1f (diff) | |
download | fluxbox_pavel-79d526b968b0e8cec31a66b0eafa8ddeb32cc16e.zip fluxbox_pavel-79d526b968b0e8cec31a66b0eafa8ddeb32cc16e.tar.bz2 |
Convert Screen::reconfigureSig to FbTk::Signal
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index ce1f8ed..bfb6221 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -59,7 +59,6 @@ | |||
59 | #include "Debug.hh" | 59 | #include "Debug.hh" |
60 | 60 | ||
61 | #include "FbTk/I18n.hh" | 61 | #include "FbTk/I18n.hh" |
62 | #include "FbTk/Subject.hh" | ||
63 | #include "FbTk/FbWindow.hh" | 62 | #include "FbTk/FbWindow.hh" |
64 | #include "FbTk/SimpleCommand.hh" | 63 | #include "FbTk/SimpleCommand.hh" |
65 | #include "FbTk/MultLayers.hh" | 64 | #include "FbTk/MultLayers.hh" |
@@ -301,7 +300,6 @@ BScreen::BScreen(FbTk::ResourceManager &rm, | |||
301 | const string &screenname, | 300 | const string &screenname, |
302 | const string &altscreenname, | 301 | const string &altscreenname, |
303 | int scrn, int num_layers) : | 302 | int scrn, int num_layers) : |
304 | m_reconfigure_sig(*this), // reconfigure signal | ||
305 | m_layermanager(num_layers), | 303 | m_layermanager(num_layers), |
306 | m_image_control(0), | 304 | m_image_control(0), |
307 | m_focused_windowtheme(new FbWinFrameTheme(scrn, ".focus", ".Focus")), | 305 | m_focused_windowtheme(new FbWinFrameTheme(scrn, ".focus", ".Focus")), |
@@ -918,7 +916,7 @@ void BScreen::reconfigure() { | |||
918 | 916 | ||
919 | imageControl().cleanCache(); | 917 | imageControl().cleanCache(); |
920 | // notify objects that the screen is reconfigured | 918 | // notify objects that the screen is reconfigured |
921 | m_reconfigure_sig.notify(); | 919 | m_reconfigure_sig.emit(*this); |
922 | 920 | ||
923 | // Reload style | 921 | // Reload style |
924 | FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename(), | 922 | FbTk::ThemeManager::instance().load(fluxbox->getStyleFilename(), |