Package: gtk2-engines-gtk-qt Version: 0.60-1.2 Followup-For: Bug #266521 (the version of the package is one I built myself - based of yours with the patch to prevent the 'black menus'. The problem is the same with the standard debian package)
The file generated with the Plastik theme and the Crystal icon theme is missing comma's at three lines, which causes errors when starting gtk applications, and even makes some crash (the XFCE4 settings manager seems very sensitive to these errors for some reason...). In all cases, a comma (,) was missing. /home/devilkin/.gtk_qt_engine_rc:136: error: unexpected character `{', expected character `} -- stock["gtk-index"]={ { "22x22/actions/contents.png", *, *, "gtk-large-toolbar" } { "22x22/actions/contents.png" } -- /home/devilkin/.gtk_qt_engine_rc:190: error: unexpected character `{', expected character `} -- stock["gtk-redo"]={ { "22x22/actions/redo.png", *, *, "gtk-large-toolbar" } { "22x22/actions/redo.png" } } -- /home/devilkin/.gtk_qt_engine_rc:222: error: unexpected character `{', expected character `}' -- stock["gtk-undo"]={ { "22x22/actions/undo.png", *, *, "gtk-large-toolbar" } { "22x22/actions/undo.png" } } -- The attached patch solves that problem for me, I have no idea if it's 100% correct - I've tried it with the themes I have here, and it causes no problems. Jan -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable'), (1, 'experimental') Architecture: i386 (i686) Shell: /bin/sh linked to /bin/bash Kernel: Linux 2.6.15 Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968) Versions of packages gtk2-engines-gtk-qt depends on: ii kdelibs4c2a 4:3.5.0-3 core libraries for all KDE applica ii libc6 2.3.5-11 GNU C Library: Shared libraries an ii libglib2.0-0 2.8.5-1 The GLib library of C routines ii libgtk2.0-0 2.8.9-2 The GTK+ graphical user interface ii libpango1.0-0 1.10.2-1 Layout and rendering of internatio ii libqt3-mt 3:3.3.5-3 Qt GUI Library (Threaded runtime v ii libstdc++6 4.0.2-6 The GNU Standard C++ Library v3 ii libx11-6 6.9.0.dfsg.1-3 X Window System protocol client li gtk2-engines-gtk-qt recommends no packages. -- no debconf information
diff -Nur /tmp/gtk-qt-engine-0.60/src/qt_qt_wrapper.cpp gtk-qt-engine-0.60/src/qt_qt_wrapper.cpp --- /tmp/gtk-qt-engine-0.60/src/qt_qt_wrapper.cpp 2006-01-11 08:19:15.403589592 +0100 +++ gtk-qt-engine-0.60/src/qt_qt_wrapper.cpp 2006-01-11 08:24:18.804465648 +0100 @@ -1505,10 +1505,7 @@ if (sizes & 2) { - ret += "\t{ \"22x22/" + path +"\", *, *, \"gtk-large-toolbar\" }"; - /*if (sizes != 2) ret += ",\n"; - else ret += "\n";*/ - ret += ",\n"; + ret += "\t{ \"22x22/" + path +"\", *, *, \"gtk-large-toolbar\" },\n"; } if (sizes & 4)