site  contact  subhomenews

Homebank icons problem

May 09, 2010 — BarryK
I have compiled Homebank 4.2.1 and it works, except the icons are missing in the Preferences window. Starting from a terminal, I get messages like this:

(homebank:21695): Gtk-WARNING **: Error loading theme icon 'prf-euro' for stock: Icon 'prf-euro' not present in theme

...which I don't understand at all, as the icons are present, in /usr/share/icons/hicolor.

I looked at the Homebank bug reporter:
https://bugs.launchpad.net/homebank/

...but there is no bug report related to this. So why just me? Has anyone compiled this and figured out the icons?

Note, I configured like this:
# ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --without-ofx

Also, before running "make install" you have to set the execute attributes on all the top-level scripts -- it's dumb that they have never fixed that -- could be they are developing in Windows, which might account for my icons problem.

Comments

Homebank icons fix
Username: BarryK
Well, it's a workaround. I moved all the icons from /usr/share/icons/hicolor/22x22/status to /usr/share/icons, then they are found. The Homebank source should really be fixed, but at least now I can make a PET package that works. Username: 9 May 2010, 18:56
"01571"114.129.167.148'Homebank icons"BarryK"Note that it did not help updating the GTK icon cache: # gtk-update-icon-cache -f /usr/share/icons/hicolor/ Username: 9 May 2010, 18:57
"01571"114.129.167.148'Homebank icons"dweez"Hello Barry I compiled homebank 4.2.1 in puppy 4.1.2 (with a newer gtk) like you did, with --build=i486-t2-linux-gnu and the icons are in /usr/share/homebank/icons/hicolor/16x16 22x22 and 48x48. No problems at all and running well. I also had to set the execute attributes."10 May 2010, 4:35"01571"84.175.31.183'Homebank"BarryK"dweez, Did you run it from a terminal to see if there are any error messages? Most of the icons do appear. Just some of them can't be found, in the Preferences window and one or two other dialogs. The path that you gave has the icons, but the install program also duplicates them in /usr/share/icons/hicolor. I think if you delete /usr/share/homebank/icons, the program still works. You might need to run this: [i]# gtk-update-icon-cache -f /usr/share/icons/hicolor/ [/i] Username: 10 May 2010, 8:57
"01571"114.129.167.148'Homebank"dweez"Compiled it again in my modded puppy and found the trick (hope so): only make the install.sh executable All icons are in /usr/share/homebank/icons and I get no error messages in console. Works with no problems as far as I could test it. If you want I can make a .pet for it. It's also possible to make it with the old gtk by modifying the configure (gtk+-2.0 >= 2.12 glib-2.0 >= 2.14) so it works in puppy 4.1.2 Hope I could help Username: 10 May 2010, 23:28
"01571"91.36.185.10'Homebank"BarryK"Hmmm, I wonder what I did wrong. I can't be bothered doing anything more -- I have a working PET after I relocated the images. I also reduced the number of images considerably. Username: 11 May 2010, 9:05
"01571"114.129.167.148'Homebank"dweez"Please have a look at: http://www.murga-linux.com/puppy/index.php?f=49 if you want. Thank you very much for all the work you did and still do!"13 May 2010, 2:10"01571"91.36.207.114'

Tags: quirky