SPECS: gtk2-theme-engine-qt.spec - fixed black menus

Kiesiu kiesyoo at o2.pl
Mon Oct 31 16:06:56 CET 2005


W załączniku patch na źródła i patch na spec poprawiający błąd z
czarnymi menu. Autor poprawki to raikou (raikou at o2.pl). Buduje się.

Proszę władnych o dodanie i przebudowanie. W razie potrzeby zwrócenie
uwagi na ewentualny błąd.

-- 
pozdrawiam,
Łukasz Kieś
-------------- next part --------------
--- gtk-qt-engine-0.6/src/qt_theme_draw.c.orig	2004-12-21 16:28:34.000000000 +0100
+++ gtk-qt-engine-0.6/src/qt_theme_draw.c	2005-10-30 09:16:46.272365624 +0100
@@ -1777,6 +1777,7 @@
         {
           pixmap = pix_test;
           parent_relative = FALSE;
+		  gdk_drawable_set_colormap(pixmap, style->colormap);
         }
       
       gdk_window_set_back_pixmap (window, pixmap, parent_relative);
-------------- next part --------------
--- gtk2-theme-engine-qt.spec.orig	2005-03-15 23:44:54.000000000 +0100
+++ gtk2-theme-engine-qt.spec	2005-10-31 15:58:02.000000000 +0100
@@ -6,11 +6,12 @@
 Summary(pl):	Silnik graficzny wykorzystujący Qt do rysowania kontrolek GTK+
 Name:		gtk2-theme-engine-qt
 Version:	0.6
-Release:	0.5
+Release:	0.6
 License:	GPL
 Group:		Themes/GTK+
 Source0:	http://www.freedesktop.org/~davidsansome/gtk-qt-engine-%{version}.tar.bz2
 # Source0-md5:	9c02c95a6e8d304b1f2801429759e1c0
+Patch0:		gtk2-theme-engine-qt-balck-menus.patch
 URL:		http://www.freedesktop.org/Software/gtk-qt
 BuildRequires:	gtk+2-devel >= 1:2.0.0
 BuildRequires:	kdelibs-devel
@@ -29,6 +30,7 @@
 
 %prep
 %setup -q -n gtk-qt-engine-%{version}
+%patch0 -p1
 
 %build
 %configure


More information about the pld-devel-pl mailing list