aboutsummaryrefslogtreecommitdiff
path: root/src/MenuCreator.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2004-07-05 09:27:04 (GMT)
committerfluxgen <fluxgen>2004-07-05 09:27:04 (GMT)
commitced22314b8b83faab5cf380e32fb406b6b00de68 (patch)
treedc85ad1bd48eefc6984071a1d857e6157cc130d3 /src/MenuCreator.cc
parent20c5f35a0f75ede2abdec78e6f832523d8aa11d9 (diff)
downloadfluxbox-ced22314b8b83faab5cf380e32fb406b6b00de68.zip
fluxbox-ced22314b8b83faab5cf380e32fb406b6b00de68.tar.bz2
save menu filename, so we can reload the menu, patch from Mathias Gumz
Diffstat (limited to 'src/MenuCreator.cc')
-rw-r--r--src/MenuCreator.cc4
1 files changed, 3 insertions, 1 deletions
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 @@
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: MenuCreator.cc,v 1.9 2004/06/10 11:43:24 fluxgen Exp $ 23// $Id: MenuCreator.cc,v 1.10 2004/07/05 09:27:04 fluxgen Exp $
24 24
25#include "MenuCreator.hh" 25#include "MenuCreator.hh"
26 26
@@ -302,6 +302,8 @@ FbTk::Menu *MenuCreator::createFromFile(const std::string &filename, int screen_
302 if (!parser.isLoaded()) 302 if (!parser.isLoaded())
303 return 0; 303 return 0;
304 304
305 Fluxbox::instance()->saveMenuFilename(real_filename.c_str());
306
305 std::string label; 307 std::string label;
306 if (!getStart(parser, label)) 308 if (!getStart(parser, label))
307 return 0; 309 return 0;