diff options
Diffstat (limited to 'src/Toolbar.cc')
-rw-r--r-- | src/Toolbar.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Toolbar.cc b/src/Toolbar.cc index e5b5a5a..4c954c4 100644 --- a/src/Toolbar.cc +++ b/src/Toolbar.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: Toolbar.cc,v 1.87 2003/05/24 05:49:31 rathnor Exp $ | 25 | // $Id: Toolbar.cc,v 1.88 2003/05/24 13:13:22 rathnor Exp $ |
26 | 26 | ||
27 | #include "Toolbar.hh" | 27 | #include "Toolbar.hh" |
28 | 28 | ||
@@ -132,8 +132,6 @@ void setupMenus(Toolbar &tbar) { | |||
132 | tbar.screen().doToolbarAutoHide(), | 132 | tbar.screen().doToolbarAutoHide(), |
133 | reconfig_toolbar_and_save_resource)); | 133 | reconfig_toolbar_and_save_resource)); |
134 | 134 | ||
135 | menu.setInternalMenu(); | ||
136 | |||
137 | menu.insert("Layer...", &tbar.layermenu()); | 135 | menu.insert("Layer...", &tbar.layermenu()); |
138 | 136 | ||
139 | if (tbar.screen().hasXinerama()) { | 137 | if (tbar.screen().hasXinerama()) { |
@@ -286,6 +284,8 @@ Toolbar::Toolbar(BScreen &scrn, FbTk::XLayer &layer, FbTk::Menu &menu, size_t wi | |||
286 | // we need to get notified when the theme is reloaded | 284 | // we need to get notified when the theme is reloaded |
287 | m_theme.addListener(m_themelistener); | 285 | m_theme.addListener(m_themelistener); |
288 | 286 | ||
287 | m_layermenu.setInternalMenu(); | ||
288 | m_placementmenu.setInternalMenu(); | ||
289 | setupMenus(*this); | 289 | setupMenus(*this); |
290 | 290 | ||
291 | // geometry settings | 291 | // geometry settings |