[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/openoffice.org/devel openoffice.org-1.9.112.ooo50857.gtkslowunderkde.vcl.patch, NONE, 1.1 openoffice.org-1.9.112.ooo50875.gtkslowunderkde.vcl.patch, 1.1, NONE



Author: caolanm

Update of /cvs/dist/rpms/openoffice.org/devel
In directory cvs.devel.redhat.com:/tmp/cvs-serv26010

Added Files:
	openoffice.org-1.9.112.ooo50857.gtkslowunderkde.vcl.patch 
Removed Files:
	openoffice.org-1.9.112.ooo50875.gtkslowunderkde.vcl.patch 
Log Message:
patch renamed

openoffice.org-1.9.112.ooo50857.gtkslowunderkde.vcl.patch:
 salnativewidgets-gtk.cxx |   13 +++++++++----
 1 files changed, 9 insertions(+), 4 deletions(-)

--- NEW FILE openoffice.org-1.9.112.ooo50857.gtkslowunderkde.vcl.patch ---
Index: unx/gtk/gdi/salnativewidgets-gtk.cxx
===================================================================
RCS file: /cvs/gsl/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx,v
retrieving revision 1.14
diff -u -p -r1.14 salnativewidgets-gtk.cxx
--- openoffice.org.origvcl/unx/gtk/gdi/salnativewidgets-gtk.cxx	12 Apr 2005 12:19:49 -0000	1.14
+++ openoffice.org/vcl/unx/gtk/gdi/salnativewidgets-gtk.cxx	27 Jun 2005 14:12:52 -0000
@@ -392,10 +392,15 @@ void GtkData::initNWF( void )
     pSVData->maNWFData.mbDockingAreaSeparateTB = true;
     
     if( SalGetDesktopEnvironment().equalsAscii( "KDE" ) )
-        // KDE 3.3 invented a bug in the qt<->gtk theme engine
-        // that makes direct rendering impossible: they totally
-        // ignore the clip rectangle passed to the paint methods
-        GtkSalGraphics::bNeedPixmapPaint = true;
+    {
+        if( g_type_from_name( "QtEngineStyle" ) )
+        {
+            // KDE 3.3 invented a bug in the qt<->gtk theme engine
+            // that makes direct rendering impossible: they totally
+            // ignore the clip rectangle passed to the paint methods
+            GtkSalGraphics::bNeedPixmapPaint = true;
+        }
+    }
     
     #if OSL_DEBUG_LEVEL > 1
     fprintf( stderr, "GtkPlugin: using %s NWF\n",


--- openoffice.org-1.9.112.ooo50875.gtkslowunderkde.vcl.patch DELETED ---


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]