Hello, Geany Developers
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?
Best Regards, Krasimir
On Mon, 26 Apr 2010 10:56:15 +0200 Krasimir Angelov kr.angelov@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.htm...
If so, use 2.16 instead.
Regards, Nick
I use GTK 2.20. By the way I attached pictures of the two versions of the editor.
On Tue, Apr 27, 2010 at 1:46 PM, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Mon, 26 Apr 2010 10:56:15 +0200 Krasimir Angelov kr.angelov@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.htm...
If so, use 2.16 instead.
Regards, Nick _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov kr.angelov@gmail.com wrote:
I use GTK 2.20. By the way I attached pictures of the two versions of the editor.
Just to check, do you use 2.20 for the development files as well, not just runtime?
Regards, Nick
yes
On Tue, Apr 27, 2010 at 1:59 PM, Nick Treleaven nick.treleaven@btinternet.com wrote:
Just to check, do you use 2.20 for the development files as well, not just runtime?
On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov kr.angelov@gmail.com wrote:
I use GTK 2.20.
From the ChangeLog:
Win32 – XP themes have been disabled since they don’t work http://www.gtk.org/
Regards, Nick
P.S. Please don't top-post ;-)
On Tue, 27 Apr 2010 15:28:05 +0100, Nick wrote:
On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov kr.angelov@gmail.com wrote:
I use GTK 2.20.
From the ChangeLog: Win32 – XP themes have been disabled since they don’t work http://www.gtk.org/
I can't state on GTK 2.20 but as Nick said, GTK 2.16 is currently probably the better choice. Be sure to compile Geany also against GTK 2.16 development files and run it with GTK 2.16 libraries (or use a prebuilt version).
See also http://sourceforge.net/tracker/index.php?func=detail&aid=2954190&gro... where a similar problem has been reported.
Regards, Enrico
2010/4/27 Enrico Tröger enrico.troeger@uvena.de:
I can't state on GTK 2.20 but as Nick said, GTK 2.16 is currently probably the better choice. Be sure to compile Geany also against GTK 2.16 development files and run it with GTK 2.16 libraries (or use a prebuilt version).
I will try to downgrade GTK then. It would be nice to put a sentence about this problem in the build instructions for Win32.
On Tue, 27 Apr 2010 16:45:31 +0200, Krasimir wrote:
2010/4/27 Enrico Tröger enrico.troeger@uvena.de:
I can't state on GTK 2.20 but as Nick said, GTK 2.16 is currently probably the better choice. Be sure to compile Geany also against GTK 2.16 development files and run it with GTK 2.16 libraries (or use a prebuilt version).
I will try to downgrade GTK then. It would be nice to put a sentence about this problem in the build instructions for Win32.
Yes. Feel free to send a patch :).
Regards, Enrico
Okay. Thanks. After few days of using Geany I got used to the different look. Not a big deal. Thanks for the excellent software.
Another question. I just added syntax coloring for GF (www.grammaticalframework.org/) and I will probably add supports for tags as well. What is the normal procedure for submitting patches. Should I submit a ticket in the issue tracker?
On Tue, Apr 27, 2010 at 4:28 PM, Nick Treleaven nick.treleaven@btinternet.com wrote:
On Tue, 27 Apr 2010 13:51:58 +0200 Krasimir Angelov kr.angelov@gmail.com wrote:
I use GTK 2.20.
From the ChangeLog: Win32 – XP themes have been disabled since they don’t work http://www.gtk.org/
Regards, Nick
P.S. Please don't top-post ;-) _______________________________________________ Geany-devel mailing list Geany-devel@uvena.de http://lists.uvena.de/cgi-bin/mailman/listinfo/geany-devel
On Tue, 27 Apr 2010 16:40:25 +0200, Krasimir wrote:
Okay. Thanks. After few days of using Geany I got used to the different look. Not a big deal. Thanks for the excellent software.
Another question. I just added syntax coloring for GF (www.grammaticalframework.org/) and I will probably add supports for tags as well. What is the normal procedure for submitting patches. Should I submit a ticket in the issue tracker?
Or just here on the list (but in a new thread).
I personally prefer handling patches and related discussions on the list than in the tracker. But that's just me.
Regards, Enrico