diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-13 13:05:42 (GMT) |
---|---|---|
committer | Paul Tagliamonte <paultag@fluxbox.org> | 2012-04-07 02:11:31 (GMT) |
commit | de1cb8f5237b97dfc9c53ad9ba2d6301ea756591 (patch) | |
tree | 31f524add054f6b2ae6b8541900c8c2824bf7996 /src/StyleMenuItem.cc | |
parent | 57a320ec85e39885707a6cabe2ab36f69e948ea9 (diff) | |
download | fluxbox_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.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 | ||