From 3d5ef23a97e33a2ca9a9c24a0276a4773a6a6ea2 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 27 Aug 2003 14:26:37 +0000 Subject: stylemenuitem is toggle item --- src/Screen.cc | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Screen.cc b/src/Screen.cc index a5cb9a2..0e57d77 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.227 2003/08/25 16:07:09 fluxgen Exp $ +// $Id: Screen.cc,v 1.228 2003/08/27 14:26:37 fluxgen Exp $ #include "Screen.hh" @@ -177,6 +177,7 @@ public: setstyle_cmd(new FbCommands:: SetStyleCmd(m_filename)); setCommand(setstyle_cmd); + setToggleItem(true); } bool isSelected() const { return Fluxbox::instance()->getStyleFilename() == m_filename; -- cgit v0.11.2