aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMathias Gumz <akira at fluxbox dot org>2010-09-11 20:04:15 (GMT)
committerMathias Gumz <akira at fluxbox dot org>2010-09-11 20:04:15 (GMT)
commit24e4e98dbea3952e0a0c02fd940ffbe14df5acb6 (patch)
tree6f8326140e97f4435bf902b4cce91c53b058e421 /src
parent51f054e7778aa49f72436d9b489ef60c58401cc3 (diff)
downloadfluxbox_paul-24e4e98dbea3952e0a0c02fd940ffbe14df5acb6.zip
fluxbox_paul-24e4e98dbea3952e0a0c02fd940ffbe14df5acb6.tar.bz2
updated config version to '13' and adjusted 'fluxbox-update_configs' accordingly
our users should migrate seamlessly to our new windows-cycling behaviour without losing their current way of doing things. so, 'fluxbox-update_configs' tries its best to add '(workspace=[current])' wherever it looks like a valid place for it. such changed lines are marked by '!! FBCV13' at the end and can be easily spotted in case the updater got it wrong. addtional changes: * added '-check' to 'fluxbox-update_configs' to check the version number in '~/.fluxbox/init' vs. the version number of 'fluxbox-update_configs' * moved the update-code for each version into its own function, easier housekeeping
Diffstat (limited to 'src')
-rw-r--r--src/fluxbox.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fluxbox.cc b/src/fluxbox.cc
index 2c63ddb..fbffc92 100644
--- a/src/fluxbox.cc
+++ b/src/fluxbox.cc
@@ -602,7 +602,7 @@ void Fluxbox::setupConfigFiles() {
602 if (create_windowmenu) 602 if (create_windowmenu)
603 FbTk::FileUtil::copyFile(DEFAULT_WINDOWMENU, windowmenu_file.c_str()); 603 FbTk::FileUtil::copyFile(DEFAULT_WINDOWMENU, windowmenu_file.c_str());
604 604
605#define CONFIG_VERSION 12 605#define CONFIG_VERSION 13
606 FbTk::Resource<int> config_version(m_resourcemanager, 0, 606 FbTk::Resource<int> config_version(m_resourcemanager, 0,
607 "session.configVersion", "Session.ConfigVersion"); 607 "session.configVersion", "Session.ConfigVersion");
608 if (*config_version < CONFIG_VERSION) { 608 if (*config_version < CONFIG_VERSION) {