aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2003-08-27 14:26:37 (GMT)
committerfluxgen <fluxgen>2003-08-27 14:26:37 (GMT)
commit3d5ef23a97e33a2ca9a9c24a0276a4773a6a6ea2 (patch)
treefe0c7ccdd7aaac44a964275b4d3614ac35202166 /src
parent8da64c481dca05ca40ebcad23ce88ddd29944165 (diff)
downloadfluxbox_paul-3d5ef23a97e33a2ca9a9c24a0276a4773a6a6ea2.zip
fluxbox_paul-3d5ef23a97e33a2ca9a9c24a0276a4773a6a6ea2.tar.bz2
stylemenuitem is toggle item
Diffstat (limited to 'src')
-rw-r--r--src/Screen.cc3
1 files changed, 2 insertions, 1 deletions
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 @@
22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER 22// FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER
23// DEALINGS IN THE SOFTWARE. 23// DEALINGS IN THE SOFTWARE.
24 24
25// $Id: Screen.cc,v 1.227 2003/08/25 16:07:09 fluxgen Exp $ 25// $Id: Screen.cc,v 1.228 2003/08/27 14:26:37 fluxgen Exp $
26 26
27 27
28#include "Screen.hh" 28#include "Screen.hh"
@@ -177,6 +177,7 @@ public:
177 setstyle_cmd(new FbCommands:: 177 setstyle_cmd(new FbCommands::
178 SetStyleCmd(m_filename)); 178 SetStyleCmd(m_filename));
179 setCommand(setstyle_cmd); 179 setCommand(setstyle_cmd);
180 setToggleItem(true);
180 } 181 }
181 bool isSelected() const { 182 bool isSelected() const {
182 return Fluxbox::instance()->getStyleFilename() == m_filename; 183 return Fluxbox::instance()->getStyleFilename() == m_filename;