diff options
author | fluxgen <fluxgen> | 2003-12-03 00:16:56 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2003-12-03 00:16:56 (GMT) |
commit | 5ce6c4e7629e5b2f82c7a343b458f9dd394fa089 (patch) | |
tree | 86fcac9df0d65442cbbee9530fb5828d076bdd38 /src/IconbarTool.cc | |
parent | 1473cb0f0615cac9148c47a115e067d95b549325 (diff) | |
download | fluxbox_pavel-5ce6c4e7629e5b2f82c7a343b458f9dd394fa089.zip fluxbox_pavel-5ce6c4e7629e5b2f82c7a343b458f9dd394fa089.tar.bz2 |
internal menu
Diffstat (limited to 'src/IconbarTool.cc')
-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); |