Re: [gtk-osx-devel] Problem with dialog box icons




On Feb 10, 2014, at 11:19 AM, Jim Charlton <jim jimc dyndns org> wrote:

On 14-02-10 10:48 AM, John Ralls wrote:
On Feb 10, 2014, at 9:42 AM, Jim Charlton <jim jimc dyndns org> wrote:

The difference in the two installations, one of which displays the icons, the other does not, is the 
presence of /usr/share/icons/gnome/* and /usr/share/icons/hicolor/* on the machine that does display the 
icons.  Copying these directories from their position at 'gtk-prefix'/gtk/inst.share/icons to 
/usr/share/icons/ allows the program to display icons (black and white).  Is there a flag for the 
compiler or an environment variable that I need to set to get the program to find the themes/icons at 
'gtk-prefix'/gtk/inst/share/icons instead of /usr/share/icons ???
$XDG_DATA_DIRS, which is automatically set up by jhbuild shell and by the bundle launcher script.

Regards,
John Ralls

Hmmmm...  I am not compiling my program within a jhbuild shell.  I get a bunch of problems if I try to do 
that.  And setting the $XDG_DATA_DIRS either in the bash shell or in the Makefile does not seem to work.  
If I put gtk_icon_theme_get_search_path() in my code and print the result it gives me 
/Users/jim/.local/share/icons which does not exist.  I am not sure why the compiled code gives this path as 
it is not in my environment variables anywhere.  ??

Me either, but I can’t support non-standard environments. You either have to do it my way or you’re on your 
own. Sorry.

Regards,
John Ralls



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