diff options
author | fluxgen <fluxgen> | 2003-06-22 21:29:32 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-06-22 21:29:32 (GMT) |
commit | 12b2fafb178c7b48f1bd13cd3c2f4780daeda88d (patch) | |
tree | 94a8c461216eecf8131471868b0083fd94fe3991 /src | |
parent | c9f52604c6a1f6d06bfd7fd3322c8e981c7a1084 (diff) | |
download | fluxbox_paul-12b2fafb178c7b48f1bd13cd3c2f4780daeda88d.zip fluxbox_paul-12b2fafb178c7b48f1bd13cd3c2f4780daeda88d.tar.bz2 |
removed iconbar dep
Diffstat (limited to 'src')
-rw-r--r-- | src/Window.cc | 13 |
1 files 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 @@ | |||
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: Window.cc,v 1.193 2003/06/18 13:55:17 fluxgen Exp $ | 25 | // $Id: Window.cc,v 1.194 2003/06/22 21:29:32 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Window.hh" | 27 | #include "Window.hh" |
28 | 28 | ||
@@ -3057,17 +3057,8 @@ void FluxboxWindow::attachTo(int x, int y) { | |||
3057 | m_attaching_tab = 0; | 3057 | m_attaching_tab = 0; |
3058 | } | 3058 | } |
3059 | 3059 | ||
3060 | //finds and redraw the icon label | ||
3061 | void FluxboxWindow::updateIcon() { | 3060 | void FluxboxWindow::updateIcon() { |
3062 | //!! TODO we shouldn't know about the toolbar in fluxboxwindow! | 3061 | //!! TODO: notify listeners about icon name change |
3063 | if (screen().toolbar()) { | ||
3064 | const IconBar *iconbar = 0; | ||
3065 | const IconBarObj *icon = 0; | ||
3066 | if ((iconbar = screen().toolbar()->iconBar()) != 0) { | ||
3067 | if ((icon = iconbar->findIcon(this)) != 0) | ||
3068 | iconbar->draw(icon, icon->width()); | ||
3069 | } | ||
3070 | } | ||
3071 | } | 3062 | } |
3072 | 3063 | ||
3073 | void FluxboxWindow::restore(WinClient *client, bool remap) { | 3064 | void FluxboxWindow::restore(WinClient *client, bool remap) { |