On Sat, Dec 20, 2008 at 9:17 PM, Hans Breuer <[email protected]> wrote:
>> The correct fix is to extract the code in >> lib/sheet.c into a new function called dia_get_sheets_directory(), >> which can be used wherever the name of the sheets directory is >> required. >> > A patch which cleans up SISSI would be appreciated. But as said above the > fix should be local to the plug-in. I started creating a new function in sissi.c, called "sissi_get_sheets_directory()". This will be used by whichever SISSI file needs to access the sheet location. But I noticed that SISSI/sissi_object.c (and also other files) use strings such as "sheets/SISSI/1.xml" ... now the question is, why does this work on Windows? Is there some compatibility available in Windows for this? I suppose the clean thing to do here is to replace the forward slash with G_DIR_SEPARATOR. Sameer. -- http://www.it.iitb.ac.in/~sameerds/ _______________________________________________ dia-list mailing list [email protected] http://mail.gnome.org/mailman/listinfo/dia-list FAQ at http://live.gnome.org/Dia/Faq Main page at http://live.gnome.org/Dia
