Re: Icon theming for Balsa



On 12/19/2004 04:10:35 PM, Andrew Conkling wrote:
On 12/12/04 11:22:17, Craig Routledge wrote:

From source, the balsa-specific icons can be found in balsa/src/pixmaps.

OK, thanks. I was able to make replacement icons for all listed therein, but when I start Balsa, they are not used in the message lists (replied, forwarded, attachment, etc. icons), nor in the menus. I have them listed properly in my GTK theme's iconrc, so this seems to be a problem in Balsa; it should be pulling icons from the theme where it can.

Can anyone confirm this?

Creating an icon theme for Balsa may be a little more involved than that. If you look at one of Balsa's distributed xpm files, say src/pixmaps/info_lock_encr.xpm, you'll see that it defines a symbol initialized as a character string; in this case the symbol is info_encr_xpm. If you check src/balsa-icons.c for that symbol, you'll see that it's associated with the BALSA_PIXMAP_INFO_ENCR stock item, and that stock item is defined in src/balsa-icons.h to be "balsa_info_encr". If the icon theme system associates stock items with file names, the file containing a themed version of that icon may need to be named /path/to/theme/16x16/balsa_info_encr.xpm (or .png, if you convert it).

HTH!

Peter




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