stylemenuitem is toggle item
This commit is contained in:
parent
8da64c481d
commit
3d5ef23a97
1 changed files with 2 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue