[Glade-users] libglade seems to search glade file from current directory

Masafumi Oyamada stillpedant at gmail.com
Sun Aug 26 04:15:50 EDT 2007


Hi all,
    Recently, I started to use libglade instead of writing the native
C code and It goes good except one problem. The problem is that the
libglade seems to search the glade file from current directory. For
example, If I gave the glade file path like
    xml = glade_xml_new("test.glade", NULL, NULL);
and put the test.glade on ~/sample (program also in here), this
program not always works well. If I open the program from home or
something not ~/sample, there will be some warning messages like
    libglade-WARNING **: could not find glade file 'test.glade'

    It seems little strange for me that the libglade search the glade
file from the current directory and not from 'directory same as the
program'. Are there are any solutions?

Thanks
Masafumi Oyamada


More information about the Glade-users mailing list