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>2013-02-17 09:55:05 (GMT)
commit199123d5fd668b5adcfef29ffaa172d322f65368 (patch)
tree655eb3c620f342e3901a25cc5ae547d565c211a2 /src/StyleMenuItem.cc
parent9ccff50963217f90a93fa857a908a12a4d27588e (diff)
downloadfluxbox_pavel-199123d5fd668b5adcfef29ffaa172d322f65368.zip
fluxbox_pavel-199123d5fd668b5adcfef29ffaa172d322f65368.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