May I ask what version of GTK binded with GnuCash 2.3.12 Windows Edition?

Tao Wang dancefire at gmail.com
Wed Apr 28 11:28:35 EDT 2010


I did some research on the problem. I found the problem might come
from gtk+ 2.16.

I tried replace each file related to gtk+ with other 2.16 theme
working copy. And found after swap
lib/gtk-2.0/2.10.0/engines/libwimp.dll, the theme function finally
working, but buggy. and after replace all different related *.dll, the
theme works ok. So, downgrade to 2.16 might fix the problem.

One more thing need to be notice, the content of etc/gtk-2.0/gtkrc
should be replace by
---
gtk-theme-name = "MS-Windows"
---
Otherwise, gtk2-prefs seems cannot change the theme.

I also found some links related:

might be the same bug in gtk+ bugzilla
https://bugzilla.gnome.org/show_bug.cgi?id=598299

http://live.gnome.org/gtkmm/MSWindows
comments on gtk+ 2.18:
=====
Please use version 2.16 for now, not 2.18 except if you really need
2.18 stuff. This is because GTK+ 2.18 contains serious regressions on
Windows. Some applications were reported to behave badly because of
the new client-side-windows code in GDK, and also the XP Windows theme
does not work with 2.18 and is therefore disabled.
=====

And comments on gtk-win
=====
You'll notice that it is still based on gtk+-2.16.6. This is due a
fact that, unfortunately, gtk+-2.18.x has some problems under Windows
(see bug #598299, some other bugs too). I will release a new version
as soon as these problems are resolved by GTK+ developers.
=====

So, my suggestion for this problem is back to gtk+ 2.16, until those
bugs on Windows fixed.

For better result, I also suggest that we should include gtk+ themes,
themes engines and GTK+ Preference Tool, which are available at
http://gtk-win.sourceforge.net/home/index.php/en/Home . Because there
is no way to change the theme for Windows user until include these
parts. And they are not big, juse 2 MB in the installer, and 5 MB in
the working place. And it's better put a shortcut of "GTK Preference
Tool" in start menu, so it's easy for user to change the theme.


2010/4/26 Christian Stimming <stimming at tuhh.de>:
> Am Sonntag, 25. April 2010 schrieb Dancefire:
>> I'm trying to change the Gtk theme of GnuCash, however, I found it
>> looks like only color has changed, and the shape is keeping square,
>> which is really not pretty.
>>
>> Is it that the GTK binding too low? or no theme engine has integrated?
>
> You can look up all gtk version numbers in the SVN file
> packaging/win32/defaults.sh :
>
> set_default GTK_URL "$GNOME_WIN32_URL/gtk+/2.18/gtk+_2.18.7-1_win32.zip"
> ...
> set_default LIBGNOME_URL
> "$GNOME_WIN32_URL/libgnome/2.24/libgnome_2.24.1-1_win32:
> ...
>
>> What I'm comparing are GnuCash and Inkscape. Both of them use GTK, but
>> the appearance on Windows is different. Inkscape looks better.
>
> Sure. Feel free to report how higher versions can get us a better look'n'feel.
>
> Regards,
>
> Christian
>
>



-- 
Regards

Tao Wang


More information about the gnucash-devel mailing list