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-11-01 09:57:22 (GMT)
commit01c3f38d77d08e784ebc07bdec9a3f0dfd345692 (patch)
treed0698fe6181b07a6972f4f2efd64c1c4ac1d4d4d /src/StyleMenuItem.cc
parent5b85f21a7ff560eafb1553b4529d2240000aa8b4 (diff)
downloadfluxbox_pavel-01c3f38d77d08e784ebc07bdec9a3f0dfd345692.zip
fluxbox_pavel-01c3f38d77d08e784ebc07bdec9a3f0dfd345692.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