diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-13 13:05:42 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-13 13:05:42 (GMT) |
commit | cde85e04178e481e321cd8fe4417b07ba6a2889c (patch) | |
tree | 47de4fb09d116dde2436effe971bc26161337966 /src/StyleMenuItem.cc | |
parent | a13f6ba94c2a52966ea0a37edb5a9fa798568052 (diff) | |
download | fluxbox_pavel-cde85e04178e481e321cd8fe4417b07ba6a2889c.zip fluxbox_pavel-cde85e04178e481e321cd8fe4417b07ba6a2889c.tar.bz2 |
Attach a modifiedSig handler to the session.styleFile resource
Diffstat (limited to 'src/StyleMenuItem.cc')
-rw-r--r-- | src/StyleMenuItem.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/StyleMenuItem.cc b/src/StyleMenuItem.cc index 8e557a7..348d3c1 100644 --- a/src/StyleMenuItem.cc +++ b/src/StyleMenuItem.cc | |||
@@ -42,6 +42,6 @@ StyleMenuItem::StyleMenuItem(const FbTk::FbString &label, const std::string &fil | |||
42 | 42 | ||
43 | 43 | ||
44 | bool StyleMenuItem::isSelected() const { | 44 | bool StyleMenuItem::isSelected() const { |
45 | return Fluxbox::instance()->getStyleFilename() == m_filename; | 45 | return Fluxbox::instance()->getStyleResource().get() == m_filename; |
46 | } | 46 | } |
47 | 47 | ||