Homebank icons problem

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.


Posted on 9 May 2010, 18:37


Comments:

Posted on 9 May 2010, 18:56 by BarryK
Homebank icons fix
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.



Posted on 9 May 2010, 18:57 by BarryK
Homebank icons
Note that it did not help updating the GTK icon cache:

# gtk-update-icon-cache -f /usr/share/icons/hicolor/



Posted on 10 May 2010, 4:35 by dweez
Homebank icons
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.


Posted on 10 May 2010, 8:57 by BarryK
Homebank
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:

# gtk-update-icon-cache -f /usr/share/icons/hicolor/



Posted on 10 May 2010, 23:28 by dweez
Homebank
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



Posted on 11 May 2010, 9:05 by BarryK
Homebank
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.



Posted on 13 May 2010, 2:10 by dweez
Homebank
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!