all repos — fluxbox @ 8da64c481dca05ca40ebcad23ce88ddd29944165

custom fork of the fluxbox windowmanager

toggle item
fluxgen fluxgen
commit

8da64c481dca05ca40ebcad23ce88ddd29944165

parent

fc5c45f0c528b8e9c5072503479eeea844304b58

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

jump to
M src/BoolMenuItem.hhsrc/BoolMenuItem.hh

@@ -19,7 +19,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: BoolMenuItem.hh,v 1.1 2003/01/12 18:15:23 fluxgen Exp $ +// $Id: BoolMenuItem.hh,v 1.2 2003/08/27 14:25:32 fluxgen Exp $ #ifndef BOOLMENUITEM_HH #define BOOLMENUITEM_HH

@@ -33,6 +33,7 @@ BoolMenuItem(const char *label, bool &item,

FbTk::RefCount<FbTk::Command> &cmd): FbTk::MenuItem(label, cmd), m_item(item) { FbTk::MenuItem::setSelected(m_item); + setToggleItem(true); } BoolMenuItem(const char *label, bool &item): FbTk::MenuItem(label), m_item(item) {