|
|
@ -319,7 +319,7 @@ def QubesVm_label_setter(self, _):
|
|
|
|
|
|
|
|
|
|
|
|
# Apparently desktop environments heavily caches the icons,
|
|
|
|
# Apparently desktop environments heavily caches the icons,
|
|
|
|
# see #751 for details
|
|
|
|
# see #751 for details
|
|
|
|
if os.environ.get("DESKTOP_SESSION", "") == "kde-plasma":
|
|
|
|
if "plasma" in os.environ.get("DESKTOP_SESSION", ""):
|
|
|
|
try:
|
|
|
|
try:
|
|
|
|
os.unlink(os.path.expandvars(
|
|
|
|
os.unlink(os.path.expandvars(
|
|
|
|
"$HOME/.kde/cache-$HOSTNAME/icon-cache.kcache"))
|
|
|
|
"$HOME/.kde/cache-$HOSTNAME/icon-cache.kcache"))
|
|
|
@ -337,7 +337,7 @@ def QubesVm_label_setter(self, _):
|
|
|
|
dbus_interface="org.freedesktop.Notifications")
|
|
|
|
dbus_interface="org.freedesktop.Notifications")
|
|
|
|
except:
|
|
|
|
except:
|
|
|
|
pass
|
|
|
|
pass
|
|
|
|
elif os.environ.get("DESKTOP_SESSION", "") == "xfce":
|
|
|
|
elif "xfce" in os.environ.get("DESKTOP_SESSION", ""):
|
|
|
|
self.appmenus_remove()
|
|
|
|
self.appmenus_remove()
|
|
|
|
self.appmenus_create()
|
|
|
|
self.appmenus_create()
|
|
|
|
|
|
|
|
|
|
|
|