Re: The theme of GTK+ 3.13.3 seems not right
- From: LRN <lrn1986 gmail com>
- To: gtk-list gnome org
- Subject: Re: The theme of GTK+ 3.13.3 seems not right
- Date: Fri, 01 Aug 2014 08:29:17 +0400
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 03.07.2014 8:40, qlb1234 wrote:
Dear ladies and gentlemen,
Recently I've migrated my GTK+ programs from 3.13.2 to 3.13.3. And this
is what it looks like. I'm showing you gtk3-demo.exe.
This is what 3.13.3 looks like.
And this is what 3.13.2 looks like.
Next time please attach images as files, or upload them somewhere and link
here. Not everyone reads messages in HTML.
Yes. I'm using Windows XP 32-bit. My question is, how can I keep programs
compiled and linked with 3.13.3, look as pretty as 3.13.2?
I also noticed that the default theme of 3.13.3 has changed to Adwaita.
Does this has anything to do with the theme? Is it because of my OS is
Windows and I don't have the theme Adwaita installed?
My guess (without looking at the screenshots) is that you've witnessed the
difference between Adwaita (the new default theme everywhere) and gtk-win32
(the old default theme on Windows).
You can force GTK to use a different theme by settings GTK_THEME=gtk-win32
environment variable or by adding
[Settings]
gtk-theme-name=gtk-win32
to (root)/etc/gtk-3.0/settings.ini
Note, however, that gtk-win32 theme was broken along the way. Currently most
widgets have 0 padding (which makes them kind of small-ish).
Also, one of the releases (3.13.5, i think, or somewhere around) lacks the
gtk-win32 theme (someone forgot to add it to the EXTRA_DIST). This was fixed
in master.
I've managed to make && make install adwaita-icon-theme-3.13.3 and
gnome-themes-standard-3.13.3. After installation, I created a folder named
"share" alongside to my GTK+ program, and copied /share/themes and
/share/icons into it. When I run my program, it remains the same. Did I
have the wrong packages installed, or a wrong way to solve it?
Maybe you need to rebuild icon cache?
Like this:
(root)/bin/gtk-update-icon-cache-3.0 -f -t (root)/share/icons/hicolor
(root)/bin/gtk-update-icon-cache-3.0 -f -t (root)/share/icons/gnome
(root)/bin/gtk-update-icon-cache-3.0 -f -t (root)/share/icons/Adwaita
And don't forget to update immodules and glib schemas.
Also, you may need gnome-icon-theme-symbolic (beside gnome-icon-theme). I'm
not sure how many icon themes are required these days. And you'll need
librsvg with a gdk-pixbuf loader for svg files (otherwise you won't see
symbolic icons).
- --
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)
iQEcBAEBAgAGBQJT2xecAAoJEOs4Jb6SI2Cw1awIAL6sq1p8cELUrhMd0ihHptLf
vdZbiV/mxwQaQEUmNCxpfu5y6EHmEsUlwid5bRalyYm7B/NUVlZ2tLaGYK3VdOCz
ADtVvmPrQotPHZmq7w7W3s1G4rPeLJoIK7xbfISvGVlhPs6pkVeUazoXQgjgEeka
Wk+K+6GL/N5IQDpLtV4lB1sUcMOvncvzRpLcnykm6hWfMW2YweI7EA7Lm5WPNoeN
KwsBocGI9k047YuwMaHq8roCv9pBZABAIxNO+3SHXq9Kuuig1/KDfaehEBb/fTdz
YWfQnThOJlM4pjofIowpi0c/sVtx0V8772iMGkdbZROvfwpPTMu8c2gJuOr1qdk=
=DcQn
-----END PGP SIGNATURE-----
[Date Prev][
Date Next] [Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]