[Glade-users] Icons in Glade



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 07.04.2014 8:42, Bertus Dries wrote:
I want to alter the icon I use in a Gtk program using glade. I do
have an .ico file for this icon. In Glade I found two boxes which
suggests they have influence on the icons, they are named
?Pictogram? and ?Pictogram name? in the first you can find a
filename but entering the name of my icon does not alter the used
GTK icon. The second gets me a list with standard icons which I can
choose and which will be used, but I cannot enter my icon in it. 
How can I alter the standard GTK icon into my icon.

Try converting the file into png and putting it somewhere into
<prefix>/share/icons/gnome/... directory (preferably under
'applications' category?).
Then re-run gtk-update-icon-cache.exe -f -t <prefix>/share/icons/gnome
Then change the icon name in glade to the name of the icon you've
added (without extension) and see if it works. Usually glade should
list that icon as one of the known icons in the "Select Named Icon"
dialog.


- -- 
O< ascii ribbon - stop html email! - www.asciiribbon.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (MingW32)

iQEcBAEBAgAGBQJTQjAbAAoJEOs4Jb6SI2CwVNkIAJ/+OMltsiQ0I0zjCgDWodmr
KX0ciEfpvL5NqGTCSF7XxxLq+DYEtg0O5MqxjrWXvbEFA5uA2x0eYWMH54sObxBv
U18b+aab/ecgdqPdfgEOvq1rRhUZTE7DINVmpf8eJBj71agbRF2pgnzq2RdEtfKO
KPIuDtHWAmfCM1SB9YLZDomdX/LrWArjK/TWHXRHr3vftAqYxaHr82dgypzpoVRK
glexBpbFFSBmT0mxLrLs1P0JgYdkFdcbx1qOu35qUgGlj0DlBcBmN3lM/2eNxp+f
SI1faeacbCLVxstUFA+CtZUXIa/h/vuvi9pe8OLwZU2ln6jVKXlwOFkpu9+b1VY=
=qu/O
-----END PGP SIGNATURE-----




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]