aboutsummaryrefslogtreecommitdiff
path: root/src/StyleMenuItem.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-07-13 13:05:42 (GMT)
committerPaul Tagliamonte <paultag@fluxbox.org>2012-04-07 02:11:31 (GMT)
commitde1cb8f5237b97dfc9c53ad9ba2d6301ea756591 (patch)
tree31f524add054f6b2ae6b8541900c8c2824bf7996 /src/StyleMenuItem.cc
parent57a320ec85e39885707a6cabe2ab36f69e948ea9 (diff)
downloadfluxbox_paul-de1cb8f5237b97dfc9c53ad9ba2d6301ea756591.zip
fluxbox_paul-de1cb8f5237b97dfc9c53ad9ba2d6301ea756591.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