aboutsummaryrefslogtreecommitdiff
path: root/src/IconButton.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconButton.cc')
-rw-r--r--src/IconButton.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IconButton.cc b/src/IconButton.cc
index a4cd8af..1290c2a 100644
--- a/src/IconButton.cc
+++ b/src/IconButton.cc
@@ -52,7 +52,7 @@ IconButton::IconButton(const FbTk::FbWindow &parent,
52 m_theme(win, focused_theme, unfocused_theme), 52 m_theme(win, focused_theme, unfocused_theme),
53 m_pm(win.screen().imageControl()) { 53 m_pm(win.screen().imageControl()) {
54 54
55 m_title_update_timer.setTimeout(100 * FbTk::FbTime::IN_MILLISECONDS); 55 m_title_update_timer.setTimeout(updateLaziness());
56 m_title_update_timer.fireOnce(true); 56 m_title_update_timer.fireOnce(true);
57 FbTk::RefCount<FbTk::Command<void> > ets(new FbTk::SimpleCommand<IconButton>(*this, &IconButton::clientTitleChanged)); 57 FbTk::RefCount<FbTk::Command<void> > ets(new FbTk::SimpleCommand<IconButton>(*this, &IconButton::clientTitleChanged));
58 m_title_update_timer.setCommand(ets); 58 m_title_update_timer.setCommand(ets);