all repos — fluxbox @ fdf611064ed965d308e275f188fe2a626c7f21a9

custom fork of the fluxbox windowmanager

fixed bug for when toolbar is off
rathnor rathnor
commit

fdf611064ed965d308e275f188fe2a626c7f21a9

parent

227e0b0ab1c5bf6f5f78a26ae293ecd09d1ccc30

1 files changed, 2 insertions(+), 1 deletions(-)

jump to
M src/ToolbarHandler.ccsrc/ToolbarHandler.cc

@@ -20,7 +20,7 @@ // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING

// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: ToolbarHandler.cc,v 1.3 2003/03/10 22:25:18 rathnor Exp $ +// $Id: ToolbarHandler.cc,v 1.4 2003/03/23 05:07:03 rathnor Exp $ /** * The ToolbarHandler class acts as a rough interface to the toolbar.

@@ -101,6 +101,7 @@

void ToolbarHandler::setMode(ToolbarMode mode, bool initialise) { if (mode < 0 || mode >= LASTMODE || (mode == m_mode && initialise)) return; if (mode == OFF) { + m_mode = mode; m_toolbarmenu.removeAll(); //TODO: nls m_toolbarmenu.insert("Mode...", &m_modemenu);