save apps file using the user's configured option rather than hardcoded...
simonb simonb
2 files changed,
7 insertions(+),
3 deletions(-)
M
ChangeLog
→
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)
M
src/Remember.cc
→
src/Remember.cc
@@ -543,11 +543,12 @@ }
} void Remember::save() { + + string apps_string = FbTk::StringUtil::expandFilename(Fluxbox::instance()->getAppsFilename()); + #ifdef DEBUG - cerr<<__FILE__<<"("<<__FUNCTION__<<"): Saving apps file..."<<endl; + cerr<<__FILE__<<"("<<__FUNCTION__<<"): Saving apps file ["<<apps_string<<"]"<<endl; #endif // DEBUG - string apps_string; - Fluxbox::instance()->getDefaultDataFilename("apps", apps_string); ofstream apps_file(apps_string.c_str()); // first of all we output all the startup commands