summaryrefslogtreecommitdiffstats
path: root/mgaapplet-upgrade-helper
diff options
context:
space:
mode:
Diffstat (limited to 'mgaapplet-upgrade-helper')
-rwxr-xr-xmgaapplet-upgrade-helper4
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);