diff options
author | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 18:45:01 (GMT) |
---|---|---|
committer | Henrik Kinnunen <fluxgen@fluxbox.org> | 2008-09-21 18:45:01 (GMT) |
commit | ed53f3c623e7c3ae35672b33ae3b52759dc1a6ed (patch) | |
tree | d7ad6a0b4aa4b5540b5c89bf1817194a3f1daf4f /src/Screen.cc | |
parent | 52e22a0304ef108e036cecc7c8808dc0bcf8d77b (diff) | |
download | fluxbox-ed53f3c623e7c3ae35672b33ae3b52759dc1a6ed.zip fluxbox-ed53f3c623e7c3ae35672b33ae3b52759dc1a6ed.tar.bz2 |
Changed icon list signal in BScreen to use the new signal system
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 2d55b31..8746fd2 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -339,7 +339,6 @@ BScreen::BScreen(FbTk::ResourceManager &rm, | |||
339 | const string &screenname, | 339 | const string &screenname, |
340 | const string &altscreenname, | 340 | const string &altscreenname, |
341 | int scrn, int num_layers) : | 341 | int scrn, int num_layers) : |
342 | m_iconlist_sig(*this), // icon list signal | ||
343 | m_workspace_area_sig(*this), // workspace area signal | 342 | m_workspace_area_sig(*this), // workspace area signal |
344 | m_focusedwindow_sig(*this), // focused window signal | 343 | m_focusedwindow_sig(*this), // focused window signal |
345 | m_reconfigure_sig(*this), // reconfigure signal | 344 | m_reconfigure_sig(*this), // reconfigure signal |
@@ -1034,7 +1033,7 @@ void BScreen::addIcon(FluxboxWindow *w) { | |||
1034 | m_icon_list.push_back(w); | 1033 | m_icon_list.push_back(w); |
1035 | 1034 | ||
1036 | // notify listeners | 1035 | // notify listeners |
1037 | m_iconlist_sig.notify(); | 1036 | m_iconlist_sig.emit(*this); |
1038 | } | 1037 | } |
1039 | 1038 | ||
1040 | 1039 | ||
@@ -1049,7 +1048,7 @@ void BScreen::removeIcon(FluxboxWindow *w) { | |||
1049 | // change the iconlist | 1048 | // change the iconlist |
1050 | if (erase_it != m_icon_list.end()) { | 1049 | if (erase_it != m_icon_list.end()) { |
1051 | iconList().erase(erase_it); | 1050 | iconList().erase(erase_it); |
1052 | m_iconlist_sig.notify(); | 1051 | m_iconlist_sig.emit(*this); |
1053 | } | 1052 | } |
1054 | } | 1053 | } |
1055 | 1054 | ||
@@ -1072,7 +1071,7 @@ void BScreen::removeClient(WinClient &client) { | |||
1072 | focusControl().removeClient(client); | 1071 | focusControl().removeClient(client); |
1073 | 1072 | ||
1074 | if (client.fbwindow() && client.fbwindow()->isIconic()) | 1073 | if (client.fbwindow() && client.fbwindow()->isIconic()) |
1075 | iconListSig().notify(); | 1074 | iconListSig().emit(*this); |
1076 | 1075 | ||
1077 | using namespace FbTk; | 1076 | using namespace FbTk; |
1078 | 1077 | ||