all repos — fluxbox @ 467493b7bd08cd85c10717400150d13738cda130

custom fork of the fluxbox windowmanager

the remember-menu now acts like a boolmenu, shows the current rememberstate
a bit better
akir akir
commit

467493b7bd08cd85c10717400150d13738cda130

parent

135b5608039ceb66c02b9c07004d44b18e689711

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

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

@@ -21,7 +21,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: Remember.cc,v 1.43 2004/10/19 09:01:49 akir Exp $ +// $Id: Remember.cc,v 1.44 2004/11/09 11:28:55 akir Exp $ #include "Remember.hh" #include "ClientPattern.hh"

@@ -76,7 +76,9 @@ RememberMenuItem(const char *label, Remember &remember,

FluxboxWindow &fbwin, Remember::Attribute attrib) : FbTk::MenuItem(label), m_remember(remember), - m_win(fbwin), m_attrib(attrib) {} + m_win(fbwin), m_attrib(attrib) { + setToggleItem(true); + } bool isSelected() const { if (m_win.numClients()) // ensure it HAS clients