From f59ddb7788509de1e84fcee90be7a1df700dd7b0 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Mon, 30 Sep 2013 17:28:42 -0300 Subject: Force cleanlooks only from bundle. --- changes/feature-3981_cleanlooks-for-bundle-only | 2 ++ src/leap/bitmask/app.py | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 changes/feature-3981_cleanlooks-for-bundle-only 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") -- cgit v1.2.3