Problems with STOCK ICONS



Hi,

I'm using this snippet

        icon_theme = gtk_icon_theme_get_default ();

play_icon = gtk_icon_theme_load_icon (icon_theme, GTK_STOCK_MEDIA_PLAY, 16, 0, &error);
        if (error != NULL) {
                printf("error %s\n",error->message);
                g_error_free(error);
                error = NULL;
        }

And from the console I'm getting this error

error Icon 'gtk-media-play' not present in theme

The icon theme I'm using is ClearLooks and the icon I seem to want exists in

/usr/share/icons/gnome/16x16/actions

as stock_media-play.png

So what is the proper way to deal with this?

Thanks,

Kevin

--
Get my public GnuPG key from
http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x7D0BD5D1



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