From ced22314b8b83faab5cf380e32fb406b6b00de68 Mon Sep 17 00:00:00 2001 From: fluxgen Date: Mon, 5 Jul 2004 09:27:04 +0000 Subject: save menu filename, so we can reload the menu, patch from Mathias Gumz --- src/MenuCreator.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc index 557cb63..57ef32c 100644 --- a/src/MenuCreator.cc +++ b/src/MenuCreator.cc @@ -20,7 +20,7 @@ // FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER // DEALINGS IN THE SOFTWARE. -// $Id: MenuCreator.cc,v 1.9 2004/06/10 11:43:24 fluxgen Exp $ +// $Id: MenuCreator.cc,v 1.10 2004/07/05 09:27:04 fluxgen Exp $ #include "MenuCreator.hh" @@ -302,6 +302,8 @@ FbTk::Menu *MenuCreator::createFromFile(const std::string &filename, int screen_ if (!parser.isLoaded()) return 0; + Fluxbox::instance()->saveMenuFilename(real_filename.c_str()); + std::string label; if (!getStart(parser, label)) return 0; -- cgit v0.11.2