the remember-menu now acts like a boolmenu, shows the current rememberstate
a bit better
This commit is contained in:
parent
135b560803
commit
467493b7bd
1 changed files with 4 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
|
||||||
// DEALINGS IN THE SOFTWARE.
|
// 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 "Remember.hh"
|
||||||
#include "ClientPattern.hh"
|
#include "ClientPattern.hh"
|
||||||
|
@ -76,7 +76,9 @@ public:
|
||||||
FluxboxWindow &fbwin,
|
FluxboxWindow &fbwin,
|
||||||
Remember::Attribute attrib) :
|
Remember::Attribute attrib) :
|
||||||
FbTk::MenuItem(label), m_remember(remember),
|
FbTk::MenuItem(label), m_remember(remember),
|
||||||
m_win(fbwin), m_attrib(attrib) {}
|
m_win(fbwin), m_attrib(attrib) {
|
||||||
|
setToggleItem(true);
|
||||||
|
}
|
||||||
|
|
||||||
bool isSelected() const {
|
bool isSelected() const {
|
||||||
if (m_win.numClients()) // ensure it HAS clients
|
if (m_win.numClients()) // ensure it HAS clients
|
||||||
|
|
Loading…
Reference in a new issue