diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2008-06-06 13:58:20 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2008-06-06 13:58:20 (GMT) |
commit | ac9c672a1e9f2b1665a2046d87500c1e096fb5d7 (patch) | |
tree | 95ed7adfb74a24fc360a4887298298a728dae726 /src/Screen.cc | |
parent | 11a066ec1374e198fbae361aea6d8e967eefbc53 (diff) | |
download | fluxbox-ac9c672a1e9f2b1665a2046d87500c1e096fb5d7.zip fluxbox-ac9c672a1e9f2b1665a2046d87500c1e096fb5d7.tar.bz2 |
allow window menu items in ordinary menus
Diffstat (limited to 'src/Screen.cc')
-rw-r--r-- | src/Screen.cc | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/Screen.cc b/src/Screen.cc index b4905f2..1525db6 100644 --- a/src/Screen.cc +++ b/src/Screen.cc | |||
@@ -1527,9 +1527,8 @@ void BScreen::rereadWindowMenu() { | |||
1527 | 1527 | ||
1528 | m_windowmenu->removeAll(); | 1528 | m_windowmenu->removeAll(); |
1529 | if (!windowMenuFilename().empty()) | 1529 | if (!windowMenuFilename().empty()) |
1530 | MenuCreator::createWindowMenuFromFile(windowMenuFilename(), | 1530 | MenuCreator::createFromFile(windowMenuFilename(), *m_windowmenu, |
1531 | *m_windowmenu, | 1531 | m_windowmenu->reloadHelper()); |
1532 | m_windowmenu->reloadHelper()); | ||
1533 | 1532 | ||
1534 | if (m_windowmenu->numberOfItems() == 0) { | 1533 | if (m_windowmenu->numberOfItems() == 0) { |
1535 | const char *defaults[] = { | 1534 | const char *defaults[] = { |