eric7/Globals/__init__.py

branch
eric7
changeset 8958
ba80dceeb560
parent 8881
54e42bc2437a
child 9016
6f079c524e99
--- a/eric7/Globals/__init__.py	Sun Feb 27 11:10:22 2022 +0100
+++ b/eric7/Globals/__init__.py	Sun Feb 27 11:43:28 2022 +0100
@@ -101,6 +101,9 @@
     
     currDesktop = os.environ.get("KDE_FULL_SESSION", "")
     if currDesktop:
+        if currDesktop == "true":
+            return "KDE"
+        
         return currDesktop
     
     currDesktop = os.environ.get("DESKTOP_SESSION", "")

eric ide

mercurial