aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorakir <akir>2004-11-09 11:28:55 (GMT)
committerakir <akir>2004-11-09 11:28:55 (GMT)
commit467493b7bd08cd85c10717400150d13738cda130 (patch)
tree65d4a68183b3ee746c0ef94b50650c26d8a9eb08 /src
parent135b5608039ceb66c02b9c07004d44b18e689711 (diff)
downloadfluxbox-467493b7bd08cd85c10717400150d13738cda130.zip
fluxbox-467493b7bd08cd85c10717400150d13738cda130.tar.bz2
the remember-menu now acts like a boolmenu, shows the current rememberstate
a bit better
Diffstat (limited to 'src')
-rw-r--r--src/Remember.cc6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Remember.cc b/src/Remember.cc
index f40071b..6cef4c6 100644
--- a/src/Remember.cc
+++ b/src/Remember.cc
@@ -21,7 +21,7 @@
21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 21// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
22// DEALINGS IN THE SOFTWARE. 22// DEALINGS IN THE SOFTWARE.
23 23
24// $Id: Remember.cc,v 1.43 2004/10/19 09:01:49 akir Exp $ 24// $Id: Remember.cc,v 1.44 2004/11/09 11:28:55 akir Exp $
25 25
26#include "Remember.hh" 26#include "Remember.hh"
27#include "ClientPattern.hh" 27#include "ClientPattern.hh"
@@ -76,7 +76,9 @@ public:
76 FluxboxWindow &fbwin, 76 FluxboxWindow &fbwin,
77 Remember::Attribute attrib) : 77 Remember::Attribute attrib) :
78 FbTk::MenuItem(label), m_remember(remember), 78 FbTk::MenuItem(label), m_remember(remember),
79 m_win(fbwin), m_attrib(attrib) {} 79 m_win(fbwin), m_attrib(attrib) {
80 setToggleItem(true);
81 }
80 82
81 bool isSelected() const { 83 bool isSelected() const {
82 if (m_win.numClients()) // ensure it HAS clients 84 if (m_win.numClients()) // ensure it HAS clients