aboutsummaryrefslogtreecommitdiff
path: root/src/StyleMenuItem.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-13 13:05:42 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-07-13 13:05:42 (GMT)
commitcde85e04178e481e321cd8fe4417b07ba6a2889c (patch)
tree47de4fb09d116dde2436effe971bc26161337966 /src/StyleMenuItem.cc
parenta13f6ba94c2a52966ea0a37edb5a9fa798568052 (diff)
downloadfluxbox_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.cc2
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
44bool StyleMenuItem::isSelected() const { 44bool StyleMenuItem::isSelected() const {
45 return Fluxbox::instance()->getStyleFilename() == m_filename; 45 return Fluxbox::instance()->getStyleResource().get() == m_filename;
46} 46}
47 47