aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/Remember.cc7
1 files changed, 4 insertions, 3 deletions
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() {
543} 543}
544 544
545void Remember::save() { 545void Remember::save() {
546
547 string apps_string = FbTk::StringUtil::expandFilename(Fluxbox::instance()->getAppsFilename());
548
546#ifdef DEBUG 549#ifdef DEBUG
547 cerr<<__FILE__<<"("<<__FUNCTION__<<"): Saving apps file..."<<endl; 550 cerr<<__FILE__<<"("<<__FUNCTION__<<"): Saving apps file ["<<apps_string<<"]"<<endl;
548#endif // DEBUG 551#endif // DEBUG
549 string apps_string;
550 Fluxbox::instance()->getDefaultDataFilename("apps", apps_string);
551 ofstream apps_file(apps_string.c_str()); 552 ofstream apps_file(apps_string.c_str());
552 553
553 // first of all we output all the startup commands 554 // first of all we output all the startup commands