minor iconbar constructor fix
This commit is contained in:
parent
3797138f93
commit
143be7a2d1
1 changed files with 3 additions and 3 deletions
|
@ -22,7 +22,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// DEALINGS IN THE SOFTWARE.
|
||||||
|
|
||||||
// $Id: Toolbar.cc,v 1.69 2003/04/14 14:53:56 fluxgen Exp $
|
// $Id: Toolbar.cc,v 1.70 2003/04/15 12:15:44 fluxgen Exp $
|
||||||
|
|
||||||
#include "Toolbar.hh"
|
#include "Toolbar.hh"
|
||||||
|
|
||||||
|
@ -271,7 +271,7 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi
|
||||||
|
|
||||||
//DEL/fix -> remove useIconBar resource
|
//DEL/fix -> remove useIconBar resource
|
||||||
// if (Fluxbox::instance()->useIconBar())
|
// if (Fluxbox::instance()->useIconBar())
|
||||||
m_iconbar.reset(new IconBar(&screen(), frame.window_label.window(), m_theme.font()));
|
m_iconbar.reset(new IconBar(screen(), frame.window_label.window(), m_theme.font()));
|
||||||
|
|
||||||
|
|
||||||
XMapSubwindows(display, frame.window.window());
|
XMapSubwindows(display, frame.window.window());
|
||||||
|
@ -349,7 +349,7 @@ void Toolbar::enableIconBar() {
|
||||||
// already on
|
// already on
|
||||||
if (m_iconbar.get() != 0)
|
if (m_iconbar.get() != 0)
|
||||||
return;
|
return;
|
||||||
m_iconbar.reset(new IconBar(&screen(), frame.window_label.window(), m_theme.font()));
|
m_iconbar.reset(new IconBar(screen(), frame.window_label.window(), m_theme.font()));
|
||||||
}
|
}
|
||||||
|
|
||||||
void Toolbar::disableIconBar() {
|
void Toolbar::disableIconBar() {
|
||||||
|
|
Loading…
Reference in a new issue