Commit fbaf78d6 authored by Jorge Suárez de Lis's avatar Jorge Suárez de Lis 💭
Browse files

Merge branch 'patch-1' into 'master'

Fixed icon size in Ubuntu Mate 18.04

See merge request !1
parents 410238d9 4eb6a76d
......@@ -791,7 +791,7 @@ def update_temperature():
# Resize icon if environment don't resize it properly
# Known environments: Gnome Fallback/Flashback in Ubuntu 12.04/14.04
if os.environ["DESKTOP_SESSION"] == "gnome-fallback-compiz" or os.environ["DESKTOP_SESSION"] == "gnome-fallback":
if os.environ["DESKTOP_SESSION"] == "gnome-fallback-compiz" or os.environ["DESKTOP_SESSION"] == "gnome-fallback" os.environ["DESKTOP_SESSION"] == "mate":
img_point = img_point.resize((20,20), Image.ANTIALIAS)
# Write icon and remove old icon if present
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment