diff options
author | Pavel Labath <pavelo@centrum.sk> | 2011-05-07 20:41:59 (GMT) |
---|---|---|
committer | Pavel Labath <pavelo@centrum.sk> | 2011-05-10 11:00:46 (GMT) |
commit | 57acca0b601277982e63fa34eb78ae7881873e09 (patch) | |
tree | a8f83a2a954b4bf2c8247683b61c25ac94f32cf2 /src/SystemTray.cc | |
parent | 79d526b968b0e8cec31a66b0eafa8ddeb32cc16e (diff) | |
download | fluxbox-57acca0b601277982e63fa34eb78ae7881873e09.zip fluxbox-57acca0b601277982e63fa34eb78ae7881873e09.tar.bz2 |
Convert ToolbarItem::resizeSig to FbTk::Signal
Diffstat (limited to 'src/SystemTray.cc')
-rw-r--r-- | src/SystemTray.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/SystemTray.cc b/src/SystemTray.cc index 66e350f..846181f 100644 --- a/src/SystemTray.cc +++ b/src/SystemTray.cc | |||
@@ -246,7 +246,7 @@ void SystemTray::resize(unsigned int width, unsigned int height) { | |||
246 | m_window.resize(width, height); | 246 | m_window.resize(width, height); |
247 | if (m_num_visible_clients) | 247 | if (m_num_visible_clients) |
248 | rearrangeClients(); | 248 | rearrangeClients(); |
249 | resizeSig().notify(); | 249 | resizeSig().emit(); |
250 | } | 250 | } |
251 | } | 251 | } |
252 | 252 | ||
@@ -257,7 +257,7 @@ void SystemTray::moveResize(int x, int y, | |||
257 | m_window.moveResize(x, y, width, height); | 257 | m_window.moveResize(x, y, width, height); |
258 | if (m_num_visible_clients) | 258 | if (m_num_visible_clients) |
259 | rearrangeClients(); | 259 | rearrangeClients(); |
260 | resizeSig().notify(); | 260 | resizeSig().emit(); |
261 | } else { | 261 | } else { |
262 | move(x, y); | 262 | move(x, y); |
263 | } | 263 | } |
@@ -435,7 +435,7 @@ void SystemTray::handleEvent(XEvent &event) { | |||
435 | (*it)->sendConfigureNotify(0, 0, (*it)->width(), (*it)->height()); | 435 | (*it)->sendConfigureNotify(0, 0, (*it)->width(), (*it)->height()); |
436 | // so toolbar know that we changed size | 436 | // so toolbar know that we changed size |
437 | // done inside this loop, because otherwise we can get into nasty looping | 437 | // done inside this loop, because otherwise we can get into nasty looping |
438 | resizeSig().notify(); | 438 | resizeSig().emit(); |
439 | } | 439 | } |
440 | } | 440 | } |
441 | 441 | ||