summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsimonb <simonb>2006-03-24 02:40:09 (GMT)
committersimonb <simonb>2006-03-24 02:40:09 (GMT)
commit01612b22b643694497951f56e63bc12826525912 (patch)
tree66846ce31b6caf21306d906cf9fee52dd8a0aba1
parent1e8f74520c29d7d5cae33b568107e395cb664439 (diff)
downloadfluxbox_lack-01612b22b643694497951f56e63bc12826525912.zip
fluxbox_lack-01612b22b643694497951f56e63bc12826525912.tar.bz2
save apps file using the user's configured option rather than hardcoded...
-rw-r--r--ChangeLog3
-rw-r--r--src/Remember.cc7
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 @@
1(Format: Year/Month/Day) 1(Format: Year/Month/Day)
2Changes for 0.9.16: 2Changes for 0.9.16:
3*06/03/24:
4 * Fixed apps filename on save (Thanks mal at komcept com)
5 Remember.cc
3*06/03/23: 6*06/03/23:
4 * Fixed duplicate ClickToFocus menu item (Thanks mal at komcept com) 7 * Fixed duplicate ClickToFocus menu item (Thanks mal at komcept com)
5 * Fix some tab stacking alignment and rendering on tab resize (Simon) 8 * 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() {
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