diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/IconbarTool.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ | |||
20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER | 20 | // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER |
21 | // DEALINGS IN THE SOFTWARE. | 21 | // DEALINGS IN THE SOFTWARE. |
22 | 22 | ||
23 | // $Id: IconbarTool.cc,v 1.17 2003/11/29 00:36:09 fluxgen Exp $ | 23 | // $Id: IconbarTool.cc,v 1.18 2003/12/03 00:16:56 fluxgen Exp $ |
24 | 24 | ||
25 | #include "IconbarTool.hh" | 25 | #include "IconbarTool.hh" |
26 | 26 | ||
@@ -202,6 +202,8 @@ IconbarTool::IconbarTool(const FbTk::FbWindow &parent, IconbarTheme &theme, BScr | |||
202 | RefCount<Command> s_and_reconfig(save_and_reconfig); | 202 | RefCount<Command> s_and_reconfig(save_and_reconfig); |
203 | m_menu.insert(new BoolMenuItem("Show Pictures", *m_rc_use_pixmap, s_and_reconfig)); | 203 | m_menu.insert(new BoolMenuItem("Show Pictures", *m_rc_use_pixmap, s_and_reconfig)); |
204 | m_menu.update(); | 204 | m_menu.update(); |
205 | // must be internal menu, otherwise toolbar main menu tries to delete it. | ||
206 | m_menu.setInternalMenu(); | ||
205 | 207 | ||
206 | // add iconbar menu to toolbar menu | 208 | // add iconbar menu to toolbar menu |
207 | menu.insert(m_menu.label().c_str(), &m_menu); | 209 | menu.insert(m_menu.label().c_str(), &m_menu); |