From 9c7cafa99410cc7cba5541f444d66279da8583b3 Mon Sep 17 00:00:00 2001 From: Martin Whitaker Date: Mon, 22 Jan 2018 22:23:25 +0000 Subject: mgaapplet-upgrade-helper: force use of Adwaita theme (mga#21425) Prevents display issues if current theme (e.g. oxygen-gtk) is obsoleted. --- NEWS | 3 +++ mgaapplet-upgrade-helper | 4 ++++ 2 files changed, 7 insertions(+) diff --git a/NEWS b/NEWS index 38e6cdfe..3aa45d38 100644 --- a/NEWS +++ b/NEWS @@ -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.25 - 1 August 2017, RĂ©mi Verschelde - fix the context menu in mgaapplet diff --git a/mgaapplet-upgrade-helper b/mgaapplet-upgrade-helper index e709d8f3..d0e1d8f4 100755 --- a/mgaapplet-upgrade-helper +++ b/mgaapplet-upgrade-helper @@ -20,6 +20,10 @@ # along with this program; if not, see . # ################################################################################ +# 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); -- cgit v1.2.1