[Geany-devel] Question about building Geany on Windows

Nick Treleaven nick.treleaven at xxxxx
Tue Apr 27 11:46:40 UTC 2010


On Mon, 26 Apr 2010 10:56:15 +0200
Krasimir Angelov <kr.angelov at gmail.com> wrote:

> I successfully compiled and run Geany on Windows using MinGW. However
> I have a small problem. When I run the newly built Geany it uses
> different theme than the one that comes with the binary distribution
> of Geany. The binary distribution uses native theme which makes the
> editor look like native application. For the compiled version I
> changed the theme by copying
> C:\libs\share\themes\MS-Windows\gtk-2.0\gtkrc to
> C:\libs\etc\gtk-2.0\gtkrc. With this theme it looks more native but it
> is still not quite the same. However if I copy the compiled Geany
> version to c:\Program Files\Geany\bin i.e. in the binary distribution
> directory it runs with the native look that I want. Unfortunately in
> this case there is some rendering problem. Some widgets, for example
> the notepad widget in the bottom, doesn't redraw properly. Probably
> this is caused by some difference in the GTK+ versions. Still, I
> suspect that there is some other configuration file or what ever in
> the binary distribution that makes the difference in the look and
> feel. Could someone give me a hint?

This might be because GTK 2.18 theming is broken on Windows:
http://old.nabble.com/Windows-theme-not-working-in-GTK-2.18.7-td28100899.html

If so, use 2.16 instead.

Regards,
Nick



More information about the Devel mailing list