You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openoffice.apache.org by af...@apache.org on 2014/04/01 13:41:32 UTC

svn commit: r1583635 - /openoffice/branches/AOO410/main/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx

Author: af
Date: Tue Apr  1 11:41:32 2014
New Revision: 1583635

URL: http://svn.apache.org/r1583635
Log:
i124482: Special handling of input field backgrounds of Adwaita theme.

Modified:
    openoffice/branches/AOO410/main/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx

Modified: openoffice/branches/AOO410/main/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx
URL: http://svn.apache.org/viewvc/openoffice/branches/AOO410/main/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx?rev=1583635&r1=1583634&r2=1583635&view=diff
==============================================================================
--- openoffice/branches/AOO410/main/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx (original)
+++ openoffice/branches/AOO410/main/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx Tue Apr  1 11:41:32 2014
@@ -3615,7 +3615,9 @@ void GtkSalGraphics::updateSettings( All
     bNeedButtonStyleAsEditBackgroundWorkaround = false;
 
     // setup some workarounds for "blueprint" theme
-    if( pThemeName && strncasecmp( pThemeName, "blueprint", 9 ) == 0 )
+    if( pThemeName
+        && (   strncasecmp( pThemeName, "blueprint", 9 ) == 0
+            || strncasecmp( pThemeName, "Adwaita", 7 ) == 0 ))
     {
         bNeedButtonStyleAsEditBackgroundWorkaround = true;
         if( GetX11SalData()->GetDisplay()->GetServerVendor() == vendor_sun )