aboutsummaryrefslogtreecommitdiff
path: root/src/ToolbarHandler.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-06-23 13:34:54 (GMT)
committerfluxgen <fluxgen>2003-06-23 13:34:54 (GMT)
commit442118f77140d18f1cf690a7bb489ead007d632d (patch)
treebc4acbf810c5142a67eae3954f9ca709791626af /src/ToolbarHandler.cc
parent19fcd63937ef2129f361ffe16d7e6fa74e4f4512 (diff)
downloadfluxbox-442118f77140d18f1cf690a7bb489ead007d632d.zip
fluxbox-442118f77140d18f1cf690a7bb489ead007d632d.tar.bz2
setting normal layer for toolbar
Diffstat (limited to 'src/ToolbarHandler.cc')
-rw-r--r--src/ToolbarHandler.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc
index eda54c9..30e5ee6 100644
--- a/src/ToolbarHandler.cc
+++ b/src/ToolbarHandler.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: ToolbarHandler.cc,v 1.14 2003/05/24 13:13:22 rathnor Exp $ 23// $Id: ToolbarHandler.cc,v 1.15 2003/06/23 13:34:54 fluxgen Exp $
24 24
25/** 25/**
26 * The ToolbarHandler class acts as a rough interface to the toolbar. 26 * The ToolbarHandler class acts as a rough interface to the toolbar.
@@ -118,7 +118,9 @@ void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) {
118 } else if (!m_toolbar.get()) { 118 } else if (!m_toolbar.get()) {
119 m_toolbarmenu.removeAll(); 119 m_toolbarmenu.removeAll();
120 m_toolbar.reset(new Toolbar(m_screen, 120 m_toolbar.reset(new Toolbar(m_screen,
121 *m_screen.layerManager().getLayer(m_screen.getToolbarLayerNum()), m_toolbarmenu)); 121 *m_screen.layerManager().getLayer(Fluxbox::instance()->getNormalLayer()), m_toolbarmenu));
122 Fluxbox::instance()->load_rc(m_screen);
123 m_toolbar->reconfigure();
122 124
123 m_toolbarmenu.insert("Mode...", &m_modemenu); 125 m_toolbarmenu.insert("Mode...", &m_modemenu);
124 m_toolbarmenu.update(); 126 m_toolbarmenu.update();