summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2013-09-30 17:28:42 -0300
committerIvan Alejandro <ivanalejandro0@gmail.com>2013-09-30 17:30:49 -0300
commitf59ddb7788509de1e84fcee90be7a1df700dd7b0 (patch)
tree67496069820b16bd8380198d1ccb9e9f0975c571
parentfb453925ff45ff37e58f41c1877c2069f4f58f89 (diff)
Force cleanlooks only from bundle.
-rw-r--r--changes/feature-3981_cleanlooks-for-bundle-only2
-rw-r--r--src/leap/bitmask/app.py2
2 files changed, 3 insertions, 1 deletions
diff --git a/changes/feature-3981_cleanlooks-for-bundle-only b/changes/feature-3981_cleanlooks-for-bundle-only
new file mode 100644
index 00000000..c762b8f3
--- /dev/null
+++ b/changes/feature-3981_cleanlooks-for-bundle-only
@@ -0,0 +1,2 @@
+ o Force cleanlooks style for kde only if the app is running from bundle.
+ Closes #3981.
diff --git a/src/leap/bitmask/app.py b/src/leap/bitmask/app.py
index d5132731..c1859478 100644
--- a/src/leap/bitmask/app.py
+++ b/src/leap/bitmask/app.py
@@ -211,7 +211,7 @@ def main():
# We force the style if on KDE so that it doesn't load all the kde
# libs, which causes a compatibility issue in some systems.
# For more info, see issue #3194
- if os.environ.get("KDE_SESSION_UID") is not None:
+ if flags.STANDALONE and os.environ.get("KDE_SESSION_UID") is not None:
sys.argv.append("-style")
sys.argv.append("Cleanlooks")