How to set application icon

2006-11-23 Thread tomas
-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:

Re: How to set application icon

2006-11-23 Thread Carlo Agrusti
[EMAIL PROTECTED] ha scritto lo scorso 23/11/2006 12:25: 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:

Re: How to set application icon

2006-11-23 Thread Ed Catmur
Carlo Agrusti writes: [EMAIL PROTECTED] ha scritto lo scorso 23/11/2006 12:25: 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

Re: How to set application icon

2006-11-23 Thread Jim George
Here's how I make it work (not sure if this is the right way): int register_stock_icon(GtkIconFactory *icon_factory, const char *name, const char *filename) { GdkPixbuf *pixbuf; gchar *pathname; GError *error = NULL; pathname = g_strdup_printf(%s%s%s,