diff options
author | fluxgen <fluxgen> | 2003-09-08 16:37:27 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-09-08 16:37:27 (GMT) |
commit | 935616cab63bae8a380bcc03510c1f9263640778 (patch) | |
tree | 0f96ea3eb72b281423bf39eae68f83a7415cd7b6 /src/Screen.cc | |
parent | 825273e01f066e9dd7e865b9c80df69960e1e9f5 (diff) | |
download | fluxbox-935616cab63bae8a380bcc03510c1f9263640778.zip fluxbox-935616cab63bae8a380bcc03510c1f9263640778.tar.bz2 |
iconlist signal to notify when iconlist changed
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 14c0f06..5ce8c73 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.230 2003/08/30 01:02:38 fluxgen Exp $ | 25 | // $Id: Screen.cc,v 1.231 2003/09/08 16:37:27 fluxgen Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -265,6 +265,7 @@ BScreen::BScreen(FbTk::ResourceManager &rm, | |||
265 | const string &screenname, const string &altscreenname, | 265 | const string &screenname, const string &altscreenname, |
266 | int scrn, int num_layers) : | 266 | int scrn, int num_layers) : |
267 | m_clientlist_sig(*this), // client signal | 267 | m_clientlist_sig(*this), // client signal |
268 | m_iconlist_sig(*this), // icon list signal | ||
268 | m_workspacecount_sig(*this), // workspace count signal | 269 | m_workspacecount_sig(*this), // workspace count signal |
269 | m_workspacenames_sig(*this), // workspace names signal | 270 | m_workspacenames_sig(*this), // workspace names signal |
270 | m_currentworkspace_sig(*this), // current workspace signal | 271 | m_currentworkspace_sig(*this), // current workspace signal |
@@ -685,6 +686,8 @@ void BScreen::addIcon(FluxboxWindow *w) { | |||
685 | 686 | ||
686 | m_icon_list.push_back(w); | 687 | m_icon_list.push_back(w); |
687 | updateIconMenu(); | 688 | updateIconMenu(); |
689 | |||
690 | m_iconlist_sig.notify(); | ||
688 | } | 691 | } |
689 | 692 | ||
690 | 693 | ||
@@ -699,6 +702,8 @@ void BScreen::removeIcon(FluxboxWindow *w) { | |||
699 | m_icon_list.erase(erase_it); | 702 | m_icon_list.erase(erase_it); |
700 | 703 | ||
701 | updateIconMenu(); | 704 | updateIconMenu(); |
705 | |||
706 | m_iconlist_sig.notify(); | ||
702 | } | 707 | } |
703 | 708 | ||
704 | 709 | ||