x11-themes/gtk-qt-engine black menus on gtk apps [patch]

When using gtk apps with x11-themes/gtk-qt-engine menus go black, and sometimes even the background of the app.

    This happened after upgrade to gnome 2.12 (only libs, since I use KDE)

    Also get warnings like:

    Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap

    found a patch in:

    http://www.kde-look.org/content/show.php?content=9714

    That solves this problem (I've alredy tried it)

PR:		ports/88816
Submitted by:	Axel Gonzalez <loox@e-shell.net>
Approved by:	Danny Pansters <danny@ricin.com>
This commit is contained in:
Edwin Groothuis 2005-11-13 21:41:24 +00:00
parent 49a81eebfa
commit 471a5480e8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=148161
6 changed files with 24 additions and 2 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= gtk-qt-engine
PORTVERSION= 0.6
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-themes
MASTER_SITES= http://www.freedesktop.org/~davidsansome/ \
http://freebsd.ricin.com/ports/distfiles/

View File

@ -1,2 +1,3 @@
MD5 (gtk-qt-engine-0.6.tar.bz2) = 9c02c95a6e8d304b1f2801429759e1c0
SHA256 (gtk-qt-engine-0.6.tar.bz2) = 1e8aa85f03a4c57d28482aea5ce70b458483cc8d15cb36b5f38b499ecb4d0eff
SIZE (gtk-qt-engine-0.6.tar.bz2) = 435510

View File

@ -0,0 +1,10 @@
--- src/qt_theme_draw.c.orig Thu Nov 10 16:23:45 2005
+++ src/qt_theme_draw.c Thu Nov 10 16:24:55 2005
@@ -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);

View File

@ -7,7 +7,7 @@
PORTNAME= gtk-qt-engine
PORTVERSION= 0.6
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= x11-themes
MASTER_SITES= http://www.freedesktop.org/~davidsansome/ \
http://freebsd.ricin.com/ports/distfiles/

View File

@ -1,2 +1,3 @@
MD5 (gtk-qt-engine-0.6.tar.bz2) = 9c02c95a6e8d304b1f2801429759e1c0
SHA256 (gtk-qt-engine-0.6.tar.bz2) = 1e8aa85f03a4c57d28482aea5ce70b458483cc8d15cb36b5f38b499ecb4d0eff
SIZE (gtk-qt-engine-0.6.tar.bz2) = 435510

View File

@ -0,0 +1,10 @@
--- src/qt_theme_draw.c.orig Thu Nov 10 16:23:45 2005
+++ src/qt_theme_draw.c Thu Nov 10 16:24:55 2005
@@ -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);