all repos — fluxbox @ 01612b22b643694497951f56e63bc12826525912

custom fork of the fluxbox windowmanager

save apps file using the user's configured option rather than hardcoded...
simonb simonb
commit

01612b22b643694497951f56e63bc12826525912

parent

1e8f74520c29d7d5cae33b568107e395cb664439

2 files changed, 7 insertions(+), 3 deletions(-)

jump to
M ChangeLogChangeLog

@@ -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.ccsrc/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