Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
CiTIUS
temperaturas
Commits
fbaf78d6
Commit
fbaf78d6
authored
Jul 20, 2020
by
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
Changes
1
Hide whitespace changes
Inline
Side-by-side
temperaturas.py
View file @
fbaf78d6
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment