aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
Diffstat (limited to 'util')
-rw-r--r--util/fluxbox-update_configs.cc10
1 files changed, 10 insertions, 0 deletions
diff --git a/util/fluxbox-update_configs.cc b/util/fluxbox-update_configs.cc
index eb080de..be22383 100644
--- a/util/fluxbox-update_configs.cc
+++ b/util/fluxbox-update_configs.cc
@@ -291,6 +291,16 @@ int run_updates(int old_version, FbTk::ResourceManager &rm) {
291 new_version = 7; 291 new_version = 7;
292 } 292 }
293 293
294 if (old_version < 8) { // disable icons in tabs for backwards compatibility
295 FbTk::Resource<bool> *show =
296 new FbTk::Resource<bool>(rm, false,
297 "session.screen0.tabs.usePixmap",
298 "Session.Screen0.Tabs.UsePixmap");
299 if (!*show) // only change if the setting didn't already exist
300 *show = false;
301 new_version = 8;
302 }
303
294 return new_version; 304 return new_version;
295} 305}
296 306