From 01612b22b643694497951f56e63bc12826525912 Mon Sep 17 00:00:00 2001 From: simonb Date: Fri, 24 Mar 2006 02:40:09 +0000 Subject: save apps file using the user's configured option rather than hardcoded... --- ChangeLog | 3 +++ src/Remember.cc | 7 ++++--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index e0cb37b..f9c92f6 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ (Format: Year/Month/Day) Changes for 0.9.16: +*06/03/24: + * Fixed apps filename on save (Thanks mal at komcept com) + Remember.cc *06/03/23: * Fixed duplicate ClickToFocus menu item (Thanks mal at komcept com) * Fix some tab stacking alignment and rendering on tab resize (Simon) diff --git a/src/Remember.cc b/src/Remember.cc index 07487fb..c134741 100644 --- a/src/Remember.cc +++ b/src/Remember.cc @@ -543,11 +543,12 @@ void Remember::load() { } void Remember::save() { + + string apps_string = FbTk::StringUtil::expandFilename(Fluxbox::instance()->getAppsFilename()); + #ifdef DEBUG - cerr<<__FILE__<<"("<<__FUNCTION__<<"): Saving apps file..."<getDefaultDataFilename("apps", apps_string); ofstream apps_file(apps_string.c_str()); // first of all we output all the startup commands -- cgit v0.11.2