From acdf5ab2885f0b73af7bf384c55582f4ec871baa Mon Sep 17 00:00:00 2001 From: Roman Shevchenko Date: Wed, 8 Feb 2012 22:04:56 +0100 Subject: [PATCH] Fix message dialogs painting under GTK+ --- .../platform-api/src/com/intellij/openapi/ui/Messages.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java index e6c97ca5db6a..b9118e713be8 100644 --- a/platform/platform-api/src/com/intellij/openapi/ui/Messages.java +++ b/platform/platform-api/src/com/intellij/openapi/ui/Messages.java @@ -1,5 +1,5 @@ /* - * Copyright 2000-2011 JetBrains s.r.o. + * Copyright 2000-2012 JetBrains s.r.o. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -1011,7 +1011,7 @@ public class Messages { messageComponent.setCaretPosition(0); } - if (UIUtil.isUnderNimbusLookAndFeel() || UIUtil.isUnderGTKLookAndFeel()) { + if (UIUtil.isUnderNimbusLookAndFeel()) { messageComponent.setOpaque(false); messageComponent.setBackground(UIUtil.TRANSPARENT_COLOR); }