aboutsummaryrefslogtreecommitdiff
path: root/lmlib.py
diff options
context:
space:
mode:
Diffstat (limited to 'lmlib.py')
-rw-r--r--lmlib.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/lmlib.py b/lmlib.py
index 67b207f..2b0d6f9 100644
--- a/lmlib.py
+++ b/lmlib.py
@@ -11,12 +11,11 @@
# Reference:
# platform info https://stackoverflow.com/questions/110362/how-can-i-find-the-current-os-in-python/10091465#10091465
# Improve:
-# detect if el7, use icon_category = "apps". This should be an internal variable (not listed in .conf)
# Documentation:
import configparser, platform
-logout_manager_version="2019-06-14a"
+logout_manager_version="2019-06-14b"
class Actions:
@@ -225,6 +224,7 @@ def Initialize_config():
# written primarily for el7 which uses "app" for the system-reboot icons, etc.
a = platform.dist()
try:
+ # WORKHERE: after moving in the gtk3 default icon theme check to lmlib, do a check here, for of the theme=default and gtk3_default=hicolor, to make category=apps
if a[0] == "redhat" and int(a[1].split(".")[0]) <= 7:
config.set_icon_category("apps")
except:
bgstack15