summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPapoteur <papoteur@mageia.org>2025-06-02 08:17:26 +0200
committerPapoteur <papoteur@mageia.org>2025-06-02 08:17:26 +0200
commit574ab31ddcb9cc343cb08c8b39658462a1f91f5b (patch)
tree64a4a0a8826b616d5f11e9916608d31e848c8260 /src
parent9ea77f158e4b8f48cc61ee89236f01b4277d5f61 (diff)
downloadmageiawelcome-574ab31ddcb9cc343cb08c8b39658462a1f91f5b.tar
mageiawelcome-574ab31ddcb9cc343cb08c8b39658462a1f91f5b.tar.gz
mageiawelcome-574ab31ddcb9cc343cb08c8b39658462a1f91f5b.tar.bz2
mageiawelcome-574ab31ddcb9cc343cb08c8b39658462a1f91f5b.tar.xz
mageiawelcome-574ab31ddcb9cc343cb08c8b39658462a1f91f5b.zip
Fix detection of startup status
Diffstat (limited to 'src')
-rw-r--r--src/helpers.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/helpers.py b/src/helpers.py
index 4232cfb..af81d90 100644
--- a/src/helpers.py
+++ b/src/helpers.py
@@ -89,7 +89,7 @@ class Autostart():
def isEnabled(self):
if os.path.exists(self.desktop_file):
desktop = DesktopEntry(self.desktop_file)
- return desktop.getHidden()
+ return not desktop.getHidden()
else:
return True