diff options
author | fluxgen <fluxgen> | 2003-04-15 12:15:44 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-04-15 12:15:44 (GMT) |
commit | 143be7a2d1858b5985ceffdd42a0e7fe7391d2d7 (patch) | |
tree | d394c542601ce7f70f8767c0ed5b29c8d432a800 | |
parent | 3797138f9384025285a69b1eb0c57f4cc6f6f1e3 (diff) | |
download | fluxbox-143be7a2d1858b5985ceffdd42a0e7fe7391d2d7.zip fluxbox-143be7a2d1858b5985ceffdd42a0e7fe7391d2d7.tar.bz2 |
minor iconbar constructor fix
-rw-r--r-- | src/Toolbar.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index cd05164..8f9d2d5 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.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: Toolbar.cc,v 1.69 2003/04/14 14:53:56 fluxgen Exp $ | 25 | // $Id: Toolbar.cc,v 1.70 2003/04/15 12:15:44 fluxgen Exp $ |
26 | 26 | ||
27 | #include "Toolbar.hh" | 27 | #include "Toolbar.hh" |
28 | 28 | ||
@@ -271,7 +271,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi | |||
271 | 271 | ||
272 | //DEL/fix -> remove useIconBar resource | 272 | //DEL/fix -> remove useIconBar resource |
273 | // if (Fluxbox::instance()->useIconBar()) | 273 | // if (Fluxbox::instance()->useIconBar()) |
274 | m_iconbar.reset(new IconBar(&screen(), frame.window_label.window(), m_theme.font())); | 274 | m_iconbar.reset(new IconBar(screen(), frame.window_label.window(), m_theme.font())); |
275 | 275 | ||
276 | 276 | ||
277 | XMapSubwindows(display, frame.window.window()); | 277 | XMapSubwindows(display, frame.window.window()); |
@@ -349,7 +349,7 @@ void Toolbar::enableIconBar() { | |||
349 | // already on | 349 | // already on |
350 | if (m_iconbar.get() != 0) | 350 | if (m_iconbar.get() != 0) |
351 | return; | 351 | return; |
352 | m_iconbar.reset(new IconBar(&screen(), frame.window_label.window(), m_theme.font())); | 352 | m_iconbar.reset(new IconBar(screen(), frame.window_label.window(), m_theme.font())); |
353 | } | 353 | } |
354 | 354 | ||
355 | void Toolbar::disableIconBar() { | 355 | void Toolbar::disableIconBar() { |