From 12b2fafb178c7b48f1bd13cd3c2f4780daeda88d Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sun, 22 Jun 2003 21:29:32 +0000 Subject: removed iconbar dep --- src/Window.cc | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/src/Window.cc b/src/Window.cc index 9eabc0c..2affa8e 100644 --- a/src/Window.cc +++ b/src/Window.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Window.cc,v 1.193 2003/06/18 13:55:17 fluxgen Exp $ +// $Id: Window.cc,v 1.194 2003/06/22 21:29:32 fluxgen Exp $ #include "Window.hh" @@ -3057,17 +3057,8 @@ void FluxboxWindow::attachTo(int x, int y) { m_attaching_tab = 0; } -//finds and redraw the icon label void FluxboxWindow::updateIcon() { - //!! TODO we shouldn't know about the toolbar in fluxboxwindow! - if (screen().toolbar()) { - const IconBar *iconbar = 0; - const IconBarObj *icon = 0; - if ((iconbar = screen().toolbar()->iconBar()) != 0) { - if ((icon = iconbar->findIcon(this)) != 0) - iconbar->draw(icon, icon->width()); - } - } + //!! TODO: notify listeners about icon name change } void FluxboxWindow::restore(WinClient *client, bool remap) { -- cgit v0.11.2