aboutsummaryrefslogtreecommitdiff
path: root/src/IconbarTool.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/IconbarTool.cc')
-rw-r--r--src/IconbarTool.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc
index 09a4507..85997ed 100644
--- a/src/IconbarTool.cc
+++ b/src/IconbarTool.cc
@@ -285,7 +285,7 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme,
285 m_menu.setInternalMenu(); 285 m_menu.setInternalMenu();
286 286
287 // add iconbar menu to toolbar menu 287 // add iconbar menu to toolbar menu
288 menu.insert(m_menu.label(), &m_menu); 288 menu.insert(m_menu.label().logical(), &m_menu);
289 289
290 // setup signals 290 // setup signals
291 theme.reconfigSig().attach(this); 291 theme.reconfigSig().attach(this);
@@ -528,7 +528,7 @@ void IconbarTool::removeWindow(Focusable &win) {
528 if (it == m_icons.end()) 528 if (it == m_icons.end())
529 return; 529 return;
530 530
531 fbdbg<<"IconbarTool::"<<__FUNCTION__<<"( 0x"<<&win<<" title = "<<win.title()<<") found!"<<endl; 531 fbdbg<<"IconbarTool::"<<__FUNCTION__<<"( 0x"<<&win<<" title = "<<win.title().logical()<<") found!"<<endl;
532 532
533 // remove from list and render theme again 533 // remove from list and render theme again
534 IconButton *button = it->second; 534 IconButton *button = it->second;
@@ -543,7 +543,7 @@ IconButton *IconbarTool::makeButton(Focusable &win) {
543 if (!fbwin || fbwin->clientList().empty()) 543 if (!fbwin || fbwin->clientList().empty())
544 return 0; 544 return 0;
545 545
546 fbdbg<<"IconbarTool::addWindow(0x"<<&win<<" title = "<<win.title()<<")"<<endl; 546 fbdbg<<"IconbarTool::addWindow(0x"<<&win<<" title = "<<win.title().logical()<<")"<<endl;
547 547
548 IconButton *button = new IconButton(m_icon_container, m_focused_theme, 548 IconButton *button = new IconButton(m_icon_container, m_focused_theme,
549 m_unfocused_theme, win); 549 m_unfocused_theme, win);
@@ -573,3 +573,4 @@ void IconbarTool::setOrientation(FbTk::Orientation orient) {
573 m_icon_container.setOrientation(orient); 573 m_icon_container.setOrientation(orient);
574 ToolbarItem::setOrientation(orient); 574 ToolbarItem::setOrientation(orient);
575} 575}
576