aboutsummaryrefslogtreecommitdiff
path: root/src/ClockTool.cc
diff options
context:
space:
mode:
authorPavel Labath <pavelo@centrum.sk>2011-05-07 20:41:59 (GMT)
committerPavel Labath <pavelo@centrum.sk>2011-05-10 11:00:46 (GMT)
commit57acca0b601277982e63fa34eb78ae7881873e09 (patch)
treea8f83a2a954b4bf2c8247683b61c25ac94f32cf2 /src/ClockTool.cc
parent79d526b968b0e8cec31a66b0eafa8ddeb32cc16e (diff)
downloadfluxbox_pavel-57acca0b601277982e63fa34eb78ae7881873e09.zip
fluxbox_pavel-57acca0b601277982e63fa34eb78ae7881873e09.tar.bz2
Convert ToolbarItem::resizeSig to FbTk::Signal
Diffstat (limited to 'src/ClockTool.cc')
-rw-r--r--src/ClockTool.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ClockTool.cc b/src/ClockTool.cc
index 6642985..95176a2 100644
--- a/src/ClockTool.cc
+++ b/src/ClockTool.cc
@@ -260,7 +260,7 @@ void ClockTool::themeReconfigured() {
260 translateSize(orientation(), new_width, new_height); 260 translateSize(orientation(), new_width, new_height);
261 if (new_width != m_button.width() || new_height != m_button.height()) { 261 if (new_width != m_button.width() || new_height != m_button.height()) {
262 resize(new_width, new_height); 262 resize(new_width, new_height);
263 resizeSig().notify(); 263 resizeSig().emit();
264 } 264 }
265 265
266} 266}
@@ -305,7 +305,7 @@ void ClockTool::updateTime() {
305 unsigned int new_width = m_theme->font().textWidth(time_string, time_string_len) + 2; 305 unsigned int new_width = m_theme->font().textWidth(time_string, time_string_len) + 2;
306 if (new_width > m_button.width()) { 306 if (new_width > m_button.width()) {
307 resize(new_width, m_button.height()); 307 resize(new_width, m_button.height());
308 resizeSig().notify(); 308 resizeSig().emit();
309 } 309 }
310#else // dont have strftime so we have to set it to hour:minut 310#else // dont have strftime so we have to set it to hour:minut
311 // sprintf(time_string, "%d:%d", ); 311 // sprintf(time_string, "%d:%d", );