diff options
author | rathnor <rathnor> | 2003-05-24 05:49:31 (GMT) |
---|---|---|
committer | rathnor <rathnor> | 2003-05-24 05:49:31 (GMT) |
commit | 270cbb65922487faded4b8997bd8cd4f57a2dc95 (patch) | |
tree | 4c51a29b404a0df226f3dbbf8f1f100bee307772 /src/Screen.cc | |
parent | 33a65073a955d850f2a9601ea1368862b36959ff (diff) | |
download | fluxbox_pavel-270cbb65922487faded4b8997bd8cd4f57a2dc95.zip fluxbox_pavel-270cbb65922487faded4b8997bd8cd4f57a2dc95.tar.bz2 |
toolbar crash (menu bug) and initialisation fixups
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index 753acbe..c1bb3db 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -22,7 +22,7 @@ | |||
22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 22 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
23 | // DEALINGS IN THE SOFTWARE. | 23 | // DEALINGS IN THE SOFTWARE. |
24 | 24 | ||
25 | // $Id: Screen.cc,v 1.176 2003/05/22 01:17:15 rathnor Exp $ | 25 | // $Id: Screen.cc,v 1.177 2003/05/24 05:49:31 rathnor Exp $ |
26 | 26 | ||
27 | 27 | ||
28 | #include "Screen.hh" | 28 | #include "Screen.hh" |
@@ -654,11 +654,8 @@ BScreen::BScreen(FbTk::ResourceManager &rm, | |||
654 | 654 | ||
655 | workspacemenu->setItemSelected(2, true); | 655 | workspacemenu->setItemSelected(2, true); |
656 | 656 | ||
657 | if (toolbar()) { | 657 | // if toolbar needs initialisation, do it in ToolbarHandler instead |
658 | toolbar()->setPlacement(*resource.toolbar_placement); | 658 | // so it will work when destroyed later etc |
659 | toolbar()->theme().font().setAntialias(*resource.antialias); | ||
660 | toolbar()->reconfigure(); | ||
661 | } | ||
662 | 659 | ||
663 | initMenu(); // create and initiate rootmenu | 660 | initMenu(); // create and initiate rootmenu |
664 | 661 | ||