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", PACKAGE_PIXMA
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'
[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:
>
> gtk_w
-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(