
On Sun, 2 Jan 2005, Andreas Nilsson wrote:
I really hope that the developers will not reinvent theming and that the move to gtkmm and the greater use of standard widgets will make it easier to support the existing standards for icons and themes as GTK already includes support for SVG themes.
This is exactly what Bryce and I are trying to do with our work in the Gtkmm codebase.
On Sun, 2005-01-02 at 10:42 -0800, Bryce Harrington wrote:
Can you please do some research and see if you can scare up some officialish documentation on toolbar theming with Gtkmm for us? We're about to a point where we could start implementing it if we had the docs on hand.
I've got it pretty much figured out by now. I had to complete the task of fleshing out all the necessary StockIDs before I could get started, though. We need to use IconFactory/IconSet objects to tie Inkscape- specific icons to Inkscape-specific StockIDs (for an end result similar to Gtk::Stock::* or GTK_STOCK_*).
I need one thing to finish the icon work in the Gtkmm code: Could anybody here write up a script to rip apart icons.svg into separate files?
A single icons.svg file is convenient for artists (a single place to work on all the icons), and its where the legacy code gets all its SVG icons, but it doesn't play well with IconFactory. I need separate .svg files per icon.
Can someone script this up, so we can automate the creation of the separate icon files from icons.svg?
As soon as I get separate icons files, I'll get them implemented in the Gtkmm codebase (and we'll have icon themes as an inherent byproduct of properly implementing StockID/IconFactory).
Thanks,
Derek
(Btw, the Gtkmm code now has theme-able keybindings via '/usr/share/inkscape/ui/keybindings.rc'. The morning of New Year's Eve, I decided to finish all the menu-related StockIDs/StockItems and implement loading keybindings from a file at runtime via AccelMap before the Old Year was up. I completed my goal with 45 minutes to spare, while riding in a car from one New Year's party to another. *grin*)