eric7/Preferences/__init__.py

branch
eric7
changeset 8583
aac629a05f8b
parent 8582
ae6032e4b4ef
child 8587
78971b458d25
--- a/eric7/Preferences/__init__.py	Sun Sep 05 18:07:03 2021 +0200
+++ b/eric7/Preferences/__init__.py	Mon Sep 06 19:52:37 2021 +0200
@@ -116,7 +116,7 @@
         "ViewManager": "tabview",
         "LayoutType": "Sidebars",           # "Toolboxes" or "Sidebars"
         "ShellPosition": "bottom",          # "left", "right" or "bottom"
-        "SidebarDelay": 200,
+        "IconBarColor": QColor("#008800"),
         "BrowsersListFoldersFirst": True,
         "BrowsersHideNonPublic": False,
         "BrowsersListContentsByOccurrence": False,
@@ -1914,7 +1914,7 @@
     elif key in ["TabViewManagerFilenameLength", "CaptionFilenameLength",
                  "ProxyPort/Http", "ProxyPort/Https", "ProxyPort/Ftp",
                  "OpenOnStartup", "PerformVersionCheck", "RecentNumber",
-                 "NotificationTimeout", "SidebarDelay",
+                 "NotificationTimeout",
                  "KeyboardInputInterval", "BackgroundServiceProcesses",
                  "MinimumMessageTypeSeverity"]:
         return int(Prefs.settings.value(
@@ -1928,7 +1928,7 @@
         return pwConvert(
             Prefs.settings.value("UI/" + key, Prefs.uiDefaults[key]),
             encode=False)
-    elif key in ("LogStdErrColour",):
+    elif key in ("LogStdErrColour", "IconBarColor"):
         col = Prefs.settings.value("UI/" + key)
         if col is not None:
             return QColor(col)
@@ -1995,7 +1995,7 @@
                 profiles[name][2].append(bytes(ba.toBase64()).decode())
             profiles[name][2] += value[name][2][3:]     # side bars
         Prefs.settings.setValue("UI/" + key, json.dumps(profiles))
-    elif key in ("LogStdErrColour",):
+    elif key in ("LogStdErrColour", "IconBarColor"):
         Prefs.settings.setValue("UI/" + key, value.name())
     elif key in ["ProxyPassword/Http", "ProxyPassword/Https",
                  "ProxyPassword/Ftp", ]:

eric ide

mercurial