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

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?

Masafumi Oyamada

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