summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-22 22:23:25 +0000
committerMartin Whitaker <mageia@martin-whitaker.me.uk>2018-01-23 08:32:30 +0000
commit9c7cafa99410cc7cba5541f444d66279da8583b3 (patch)
tree3872eab21ba2191c1da0bc8282f9caba0d7933ac
parent91e4a0283e55cdef079f3dfc506326d33c158904 (diff)
downloadmgaonline-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.
-rw-r--r--NEWS3
-rwxr-xr-xmgaapplet-upgrade-helper4
2 files changed, 7 insertions, 0 deletions
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 <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);