diff options
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index 14835cb..cd47d45 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -48,6 +48,9 @@ | |||
48 | #include "FbTk/MacroCommand.hh" | 48 | #include "FbTk/MacroCommand.hh" |
49 | #include "FbTk/MenuSeparator.hh" | 49 | #include "FbTk/MenuSeparator.hh" |
50 | #include "FbTk/Util.hh" | 50 | #include "FbTk/Util.hh" |
51 | #include "FbTk/STLUtil.hh" | ||
52 | #include "FbTk/Select2nd.hh" | ||
53 | #include "FbTk/Compose.hh" | ||
51 | 54 | ||
52 | #include <typeinfo> | 55 | #include <typeinfo> |
53 | #include <iterator> | 56 | #include <iterator> |
@@ -465,10 +468,9 @@ void IconbarTool::updateSizing() { | |||
465 | m_icon_container.setBorderWidth(m_theme.border().width()); | 468 | m_icon_container.setBorderWidth(m_theme.border().width()); |
466 | m_icon_container.setBorderColor(m_theme.border().color()); | 469 | m_icon_container.setBorderColor(m_theme.border().color()); |
467 | 470 | ||
468 | IconMap::iterator icon_it = m_icons.begin(); | 471 | FbTk::STLUtil::forAll(m_icons, |
469 | const IconMap::iterator icon_it_end = m_icons.end(); | 472 | FbTk::Compose(std::mem_fun(&IconButton::reconfigTheme), |
470 | for (; icon_it != icon_it_end; ++icon_it) | 473 | FbTk::Select2nd<IconMap::value_type>())); |
471 | icon_it->second->reconfigTheme(); | ||
472 | 474 | ||
473 | } | 475 | } |
474 | 476 | ||