diff options
-rw-r--r-- | src/Remember.cc | 6 |
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 |