summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog3
-rw-r--r--src/Toolbar.cc12
2 files changed, 13 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index bc3d0fc..786269b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
1 (Format: Year/Month/Day) 1 (Format: Year/Month/Day)
2Changes for 1.0.0: 2Changes for 1.0.0:
3*07/08/07:
4 * Rotate toolbar background texture along with toolbar, bug #1694959 (Mark)
5 Toolbar.cc
3*07/08/06: 6*07/08/06:
4 * Fix KDE Dockapps on restart (dont unmap), and some minor tweaks (Simon) 7 * Fix KDE Dockapps on restart (dont unmap), and some minor tweaks (Simon)
5 SystemTray.hh/cc 8 SystemTray.hh/cc
diff --git a/src/Toolbar.cc b/src/Toolbar.cc
index 6552859..ad1a8e5 100644
--- a/src/Toolbar.cc
+++ b/src/Toolbar.cc
@@ -466,8 +466,16 @@ void Toolbar::reconfigure() {
466 m_window_pm = 0; 466 m_window_pm = 0;
467 frame.window.setBackgroundColor(theme().toolbar().color()); 467 frame.window.setBackgroundColor(theme().toolbar().color());
468 } else { 468 } else {
469 m_window_pm = screen().imageControl().renderImage(frame.window.width(), frame.window.height(), 469 FbTk::Orientation orient = FbTk::ROT0;
470 theme().toolbar()); 470 Toolbar::Placement where = *m_rc_placement;
471 if (where == LEFTCENTER || where == LEFTTOP || where == LEFTBOTTOM)
472 orient = FbTk::ROT270;
473 if (where == RIGHTCENTER || where == RIGHTTOP || where == RIGHTBOTTOM)
474 orient = FbTk::ROT90;
475
476 m_window_pm = screen().imageControl().renderImage(
477 frame.window.width(), frame.window.height(),
478 theme().toolbar(), orient);
471 frame.window.setBackgroundPixmap(m_window_pm); 479 frame.window.setBackgroundPixmap(m_window_pm);
472 } 480 }
473 if (tmp) 481 if (tmp)