aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IconbarTool.cc12
1 files changed, 9 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 099d37b..b4a6c4f 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -20,7 +20,7 @@
20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 20// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
21// DEALINGS IN THE SOFTWARE. 21// DEALINGS IN THE SOFTWARE.
22 22
23// $Id: IconbarTool.cc,v 1.26 2004/01/09 10:27:23 fluxgen Exp $ 23// $Id: IconbarTool.cc,v 1.27 2004/01/09 11:59:10 fluxgen Exp $
24 24
25#include "IconbarTool.hh" 25#include "IconbarTool.hh"
26 26
@@ -380,10 +380,16 @@ unsigned int IconbarTool::borderWidth() const {
380 return m_icon_container.borderWidth(); 380 return m_icon_container.borderWidth();
381} 381}
382 382
383void IconbarTool::update(FbTk::Subject *subj) { 383void IconbarTool::update(FbTk::Subject *subj) {
384 // ignore updates if we're shutting down 384 // ignore updates if we're shutting down
385 if (m_screen.isShuttingdown()) 385 if (m_screen.isShuttingdown()) {
386 m_screen.clientListSig().detach(this);
387 m_screen.iconListSig().detach(this);
388 m_screen.currentWorkspaceSig().detach(this);
389 if (!m_icon_list.empty())
390 deleteIcons();
386 return; 391 return;
392 }
387 393
388 m_icon_container.setAlignment(*m_rc_alignment); 394 m_icon_container.setAlignment(*m_rc_alignment);
389 // clamp to normal values 395 // clamp to normal values