aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrathnor <rathnor>2003-04-16 23:33:59 (GMT)
committerrathnor <rathnor>2003-04-16 23:33:59 (GMT)
commit1cdb10e841bae07a3db5abd6267f32736a82ff3e (patch)
tree8f63a40e40e53c7fe714941cdb93221ebcdd76f3
parent92c0c28d7458194dfb42fb3882c64cfca2026bdc (diff)
downloadfluxbox-1cdb10e841bae07a3db5abd6267f32736a82ff3e.zip
fluxbox-1cdb10e841bae07a3db5abd6267f32736a82ff3e.tar.bz2
save toolbar mode properly (Simon)
-rw-r--r--src/ToolbarHandler.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/ToolbarHandler.cc b/src/ToolbarHandler.cc
index f94c6a7..bc21772 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.7 2003/04/16 13:30:55 fluxgen Exp $ 23// $Id: ToolbarHandler.cc,v 1.8 2003/04/16 23:33:59 rathnor 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.
@@ -104,6 +104,7 @@ void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) {
104 if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) 104 if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise))
105 return; 105 return;
106 106
107 m_screen.saveToolbarMode(mode);
107 if (mode == OFF) { 108 if (mode == OFF) {
108 m_mode = mode; 109 m_mode = mode;
109 m_toolbarmenu.removeAll(); 110 m_toolbarmenu.removeAll();