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:32:30 +0000 |
commit | 9c7cafa99410cc7cba5541f444d66279da8583b3 (patch) | |
tree | 3872eab21ba2191c1da0bc8282f9caba0d7933ac /mgaapplet-upgrade-helper | |
parent | 91e4a0283e55cdef079f3dfc506326d33c158904 (diff) | |
download | mgaonline-9c7cafa99410cc7cba5541f444d66279da8583b3.tar mgaonline-9c7cafa99410cc7cba5541f444d66279da8583b3.tar.gz mgaonline-9c7cafa99410cc7cba5541f444d66279da8583b3.tar.bz2 mgaonline-9c7cafa99410cc7cba5541f444d66279da8583b3.tar.xz mgaonline-9c7cafa99410cc7cba5541f444d66279da8583b3.zip |
mgaapplet-upgrade-helper: force use of Adwaita theme (mga#21425)
Prevents display issues if current theme (e.g. oxygen-gtk) is obsoleted.
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-x | mgaapplet-upgrade-helper | 4 |
1 files changed, 4 insertions, 0 deletions
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 <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); |