diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-07-13 08:33:14 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-07-13 08:33:14 (GMT) |
commit | a13f6ba94c2a52966ea0a37edb5a9fa798568052 (patch) | |
tree | 3ac18d91a33966d9207ad66c54685f7b24f27de5 /src/IconbarTool.cc | |
parent | c63a2294d884151d5538d6ead319a76dc41abba6 (diff) | |
download | fluxbox_pavel-a13f6ba94c2a52966ea0a37edb5a9fa798568052.zip fluxbox_pavel-a13f6ba94c2a52966ea0a37edb5a9fa798568052.tar.bz2 |
Emit the "modified" signal when a resource value is changed through C++ code
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r-- | src/IconbarTool.cc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index 070e45b..73f0003 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc | |||
@@ -242,7 +242,7 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, | |||
242 | screen.name() + ".iconbar.mode"), | 242 | screen.name() + ".iconbar.mode"), |
243 | m_rc_alignment(screen.resourceManager(), FbTk::Container::RELATIVE, | 243 | m_rc_alignment(screen.resourceManager(), FbTk::Container::RELATIVE, |
244 | screen.name() + ".iconbar.alignment"), | 244 | screen.name() + ".iconbar.alignment"), |
245 | m_rc_client_width(screen.resourceManager(), 128, screen.name() + ".iconbar.iconWidth"), | 245 | m_rc_client_width(screen.resourceManager(), 128, screen.name() + ".iconbar.iconWidth", FbTk::RangedIntTraits(10, 400)), |
246 | m_rc_client_padding(screen.resourceManager(), 10, | 246 | m_rc_client_padding(screen.resourceManager(), 10, |
247 | screen.name() + ".iconbar.iconTextPadding"), | 247 | screen.name() + ".iconbar.iconTextPadding"), |
248 | m_rc_use_pixmap(screen.resourceManager(), true, screen.name() + ".iconbar.usePixmap"), | 248 | m_rc_use_pixmap(screen.resourceManager(), true, screen.name() + ".iconbar.usePixmap"), |
@@ -380,7 +380,6 @@ void IconbarTool::update(UpdateReason reason, Focusable *win) { | |||
380 | 380 | ||
381 | m_icon_container.setAlignment(*m_rc_alignment); | 381 | m_icon_container.setAlignment(*m_rc_alignment); |
382 | 382 | ||
383 | *m_rc_client_width = FbTk::Util::clamp(*m_rc_client_width, 10, 400); | ||
384 | m_icon_container.setMaxSizePerClient(*m_rc_client_width); | 383 | m_icon_container.setMaxSizePerClient(*m_rc_client_width); |
385 | 384 | ||
386 | // lock graphic update | 385 | // lock graphic update |