From ba24f20831afc9b07535b4a4fb8116b08cd1058f Mon Sep 17 00:00:00 2001 From: fluxgen Date: Sat, 10 Jan 2004 02:58:01 +0000 Subject: clear root menu --- src/Screen.cc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/Screen.cc b/src/Screen.cc index 1cec4d7..c6ec4e7 100644 --- a/src/Screen.cc +++ b/src/Screen.cc @@ -22,7 +22,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: Screen.cc,v 1.258 2004/01/03 00:28:02 fluxgen Exp $ +// $Id: Screen.cc,v 1.259 2004/01/10 02:58:01 fluxgen Exp $ #include "Screen.hh" @@ -627,6 +627,9 @@ BScreen::~BScreen() { if (! managed) return; + if (m_rootmenu.get() != 0) + m_rootmenu->removeAll(); + if (geom_pixmap != None) imageControl().removeImage(geom_pixmap); -- cgit v0.11.2