How to set application icon



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

Hi,

i guess this must be a faq, so shame on me. How do I set the application
icon (the little thingie some window managers show on the upper-left of
teh app windows and on a task bar when iconified?)

I already do:

  gtk_window_set_default_icon_name("foobar");

just before gtk_main() and I dropped some png in
/usr/share/icons/hicolor/48x48/apps/foobar/foobar.png -- but with no
results. The worse part is that I'm at a loss as to how troubleshoot the
problem. <http://standards.freedesktop.org/icon-theme-spec/icon-theme-spec-latest.html>
gives some hints, but not enough for dumb people like me.

I'm in a working Gnome environment, just in case this matters.

Regards
- -- tomÃs
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)

iD8DBQFFZYUVBcgs9XrR2kYRAjNeAJ9kHT+MHGKDuTmigCJSL72ca2BgrQCfc6wC
pCqz6NNgqC5HWPovsHW9aaU=
=xcVv
-----END PGP SIGNATURE-----




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