aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormarkt <markt>2007-05-17 20:51:43 (GMT)
committermarkt <markt>2007-05-17 20:51:43 (GMT)
commit0f23536effc48781644c2548d9bb4f14aa149ce6 (patch)
tree9eff8f7941b431663663d8419a8edb2d5570e0af /src
parentcd73887b11cdb34dc107e658a490f4e1246f4d93 (diff)
downloadfluxbox_paul-0f23536effc48781644c2548d9bb4f14aa149ce6.zip
fluxbox_paul-0f23536effc48781644c2548d9bb4f14aa149ce6.tar.bz2
make sure included menus get remembered, in case they're modified
Diffstat (limited to 'src')
-rw-r--r--src/MenuCreator.cc3
1 files changed, 3 insertions, 0 deletions
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,
477 if (require_begin && !getStart(parser, label, m_stringconvertor)) 477 if (require_begin && !getStart(parser, label, m_stringconvertor))
478 return false; 478 return false;
479 479
480 // save menu filename, so we can check if it changes
481 Fluxbox::instance()->saveMenuFilename(real_filename.c_str());
482
480 startFile(); 483 startFile();
481 parseMenu(parser, inject_into, m_stringconvertor); 484 parseMenu(parser, inject_into, m_stringconvertor);
482 endFile(); 485 endFile();