diff options
author | fluxgen <fluxgen> | 2004-07-05 09:27:04 (GMT) |
---|---|---|
committer | fluxgen <fluxgen> | 2004-07-05 09:27:04 (GMT) |
commit | ced22314b8b83faab5cf380e32fb406b6b00de68 (patch) | |
tree | dc85ad1bd48eefc6984071a1d857e6157cc130d3 | |
parent | 20c5f35a0f75ede2abdec78e6f832523d8aa11d9 (diff) | |
download | fluxbox-ced22314b8b83faab5cf380e32fb406b6b00de68.zip fluxbox-ced22314b8b83faab5cf380e32fb406b6b00de68.tar.bz2 |
save menu filename, so we can reload the menu, patch from Mathias Gumz
-rw-r--r-- | src/MenuCreator.cc | 4 |
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; |