diff options
author | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-21 07:07:46 (GMT) |
---|---|---|
committer | Mark Tiefenbruck <mark@fluxbox.org> | 2007-12-21 07:07:46 (GMT) |
commit | 0a14d911c64a8f6378665bf3e49b868b9175b51f (patch) | |
tree | 43190276675fd6c4a29c451c50d6f511be8a94cf /util/fluxbox-update_configs.cc | |
parent | c7b698757faeffcfe1a2487edbbb79074f93e545 (diff) | |
download | fluxbox-0a14d911c64a8f6378665bf3e49b868b9175b51f.zip fluxbox-0a14d911c64a8f6378665bf3e49b868b9175b51f.tar.bz2 |
added key command StartTabbing
Diffstat (limited to 'util/fluxbox-update_configs.cc')
-rw-r--r-- | util/fluxbox-update_configs.cc | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc index 921530a..75be474 100644 --- a/util/fluxbox-update_configs.cc +++ b/util/fluxbox-update_configs.cc | |||
@@ -275,6 +275,19 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) { | |||
275 | new_version = 6; | 275 | new_version = 6; |
276 | } | 276 | } |
277 | 277 | ||
278 | if (old_version < 7) { // added StartTabbing command | ||
279 | string whole_keyfile = read_file(keyfilename); | ||
280 | string new_keyfile = ""; | ||
281 | // let's put our new keybindings first, so they're easy to find | ||
282 | new_keyfile += "# start tabbing windows together\n"; | ||
283 | new_keyfile += "OnTitlebar Mouse2 :StartTabbing\n\n"; | ||
284 | new_keyfile += whole_keyfile; // don't forget user's old keybindings | ||
285 | |||
286 | write_file(keyfilename, new_keyfile); | ||
287 | |||
288 | new_version = 7; | ||
289 | } | ||
290 | |||
278 | return new_version; | 291 | return new_version; |
279 | } | 292 | } |
280 | 293 | ||