From 5ce6c4e7629e5b2f82c7a343b458f9dd394fa089 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Wed, 3 Dec 2003 00:16:56 +0000 Subject: internal menu --- src/IconbarTool.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/IconbarTool.cc b/src/IconbarTool.cc index 02586f8..80dc5fd 100644 --- a/src/IconbarTool.cc +++ b/src/IconbarTool.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: IconbarTool.cc,v 1.17 2003/11/29 00:36:09 fluxgen Exp $ +// $Id: IconbarTool.cc,v 1.18 2003/12/03 00:16:56 fluxgen Exp $ #include "IconbarTool.hh" @@ -202,6 +202,8 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, BScr RefCount s_and_reconfig(save_and_reconfig); m_menu.insert(new BoolMenuItem("Show Pictures", *m_rc_use_pixmap, s_and_reconfig)); m_menu.update(); + // must be internal menu, otherwise toolbar main menu tries to delete it. + m_menu.setInternalMenu(); // add iconbar menu to toolbar menu menu.insert(m_menu.label().c_str(), &m_menu); -- cgit v0.11.2