Announcement

Collapse
No announcement yet.

Black menus with gtk2-engines-gtk-qt

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Black menus with gtk2-engines-gtk-qt

    Any version of gtk2-engines-gtk-qt on both the Ubuntu and Debian repositories will cause menus to have a black background with black text. The typical warning given by STDERR is "Gdk-WARNING **: gdk_window_set_back_pixmap(): pixmap must have a colormap". This problem seems to exist on any version of GTK/GDK starting from 2.8 and above. Someone has posted a patch on kde-look.org, and I've also emailed the debian-qt mailing list, but no actual patched versions of the GTK-Qt engine are available, and I can't get the damn thing to compile for the life of me.

    Anyone have any suggestions? Is it possible for Kubuntu to release a patched version of gtk2-engines-gtk-qt?

    --------BEGIN PATCH--------
    diff -urN gtk-qt-engine-0.6.orig/src/qt_theme_draw.c
    gtk-qt-engine-0.6/src/qt_theme_draw.c
    --- gtk-qt-engine-0.6.orig/src/qt_theme_draw.c 2004-12-21 21:28:34 +0600
    +++ gtk-qt-engine-0.6/src/qt_theme_draw.c 2005-09-30 08:20:50 +0700
    @@ -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);
    ---------END PATCH---------
Working...
X