diff options
author | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-22 22:23:25 +0000 |
---|---|---|
committer | Martin Whitaker <mageia@martin-whitaker.me.uk> | 2018-01-23 08:35:41 +0000 |
commit | 9e8b9f04dd1af454644f9f2e255c25c2d3d3a30a (patch) | |
tree | 566c8a2894021f16bb57f9e28824ae1204f5f727 | |
parent | 5c27bc10a0d5e3c364e441dc96c78668f5c69f8f (diff) | |
download | mgaonline-9e8b9f04dd1af454644f9f2e255c25c2d3d3a30a.tar mgaonline-9e8b9f04dd1af454644f9f2e255c25c2d3d3a30a.tar.gz mgaonline-9e8b9f04dd1af454644f9f2e255c25c2d3d3a30a.tar.bz2 mgaonline-9e8b9f04dd1af454644f9f2e255c25c2d3d3a30a.tar.xz mgaonline-9e8b9f04dd1af454644f9f2e255c25c2d3d3a30a.zip |
mgaapplet-upgrade-helper: force use of Adwaita theme (mga#21425)
Prevents display issues if current theme (e.g. oxygen-gtk) is obsoleted.
(cherry picked from commit 9c7cafa99410cc7cba5541f444d66279da8583b3)
-rw-r--r-- | NEWS | 3 | ||||
-rwxr-xr-x | mgaapplet-upgrade-helper | 4 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,6 @@ +- mgaapplet-upgrade-helper: force use of Adwaita theme (mga#21425) + o prevents display issues if current theme (e.g. oxygen-gtk) is obsoleted + Version 3.15 - 18 May 2015, Thierry Vignaud - updated translations diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index fb2a1ec0..d0ed79f4 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -20,6 +20,10 @@ # along with this program; if not, see <http://www.gnu.org/licenses/>. # ################################################################################ +# Force use of default GTK theme to avoid display problems if the current +# theme gets removed during the upgrade (mga#21425). +BEGIN { $ENV{GTK_THEME} = 'Adwaita' } + use strict; use POSIX ":sys_wait_h"; use lib qw(/usr/lib/libDrakX); |