Hi Jon,
Thanks for the quick reply. I have had a look at src/widgets/icon.cpp, and I still don't see any IconFactory code. In fact, grep returns no hits at all in src/. I found a commit in the bzr log that appears to have removed the functionality.[1] Any thoughts?
AV
[1] http://bazaar.launchpad.net/~inkscape.dev/inkscape/trunk/revision/7779#src/w...
On 23 July 2011 17:06, Jon Cruz <jon@...18...> wrote:
On Jul 23, 2011, at 8:20 AM, Alex Valavanis wrote:
I had a quick look at using gdl_dock_item_new_with_stock() rather than using pixbuf icons... but I'm new to stock-items, so it's tricky for me. Jon mentioned previously that we already register our icons as stock, but I can't seem to find where or how this is done. As I understand it, we should register a GtkIconFactory somewhere, so that our icons can added to the list of stock icons. In main.cpp, we add our Icon theme to the default icon search path, but I don't see anything about stock icons... Am I
Yes,
Most of that code has been working in src/icon.cpp. Over time other people have removed parts of our icon code as 'redundant', but most should be back now. One thing we want is that our icons take last priority when the system is loading. Also the stock items use one 'icon '-ish thing with several sizes and/or variants in them. I know that when the code was written, it all functioned correctly. I have not tested that aspect recently, though. Let me know if it had gotten broken again.
Thanks.