Hi, that you can do something like below in your gtkdialog program you need sys-apps/slocate. Please don't make gtkdialog dependent on slocate but add an einfo to the pkg_postinst procedure that you need it for certain purposes. <button> <input file>/usr/share/GUIcompletion/button_save.xpm</input> </button> Btw, I don't see actually a reason why gtkdialog should need slocate but it complains if the locate-binary isn't there, if you refer to external files like above. Maybe someone could patch gtkdialog to not use locate or better; to is only if a corresponding useflag is set. Regards Sebastian Noack
Acording to the code (see src/stringman.c) gtkdialog needs locate to find a pixmap when not specified by full path (it first tries with access() call, if that fails, it tries to find the pixmap in /usr/share/icons/Bluecurve/16x16/stock/ and finally with locate). It's up to gtkdialog devs to fix that function. And yes: locate is optional.
Ok, I see. But could we implement nevertheless an slocate-useflag and patch gtkdialog this way that it use find instead of locate if it is enabled? Best Regards Sebastian Noack