From 0f23536effc48781644c2548d9bb4f14aa149ce6 Mon Sep 17 00:00:00 2001
From: markt <markt>
Date: Thu, 17 May 2007 20:51:43 +0000
Subject: make sure included menus get remembered, in case they're modified

---
 src/MenuCreator.cc | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/MenuCreator.cc b/src/MenuCreator.cc
index 5264a4d..552e514 100644
--- a/src/MenuCreator.cc
+++ b/src/MenuCreator.cc
@@ -477,6 +477,9 @@ bool MenuCreator::createFromFile(const string &filename,
     if (require_begin && !getStart(parser, label, m_stringconvertor))
         return false;
 
+    // save menu filename, so we can check if it changes
+    Fluxbox::instance()->saveMenuFilename(real_filename.c_str());
+
     startFile();
     parseMenu(parser, inject_into, m_stringconvertor);
     endFile();
-- 
cgit v0.11.2