*.oafinfo renamed to *.oaf



Hi,

In bonobo and nautilus (and presummably everything which uses
xml-i18n-tools now) those files that used to be installed as *.oafinfo
are now installed as *.oaf

The problem with this is that oafd doesn't read .oaf files, only
.oafinfo

The attached patch will allow oafd to read these .oaf files, but perhaps
the correct solution is to rename the .oaf files back to .oafinfo? I
guess that's up to whoever is in charge of this stuff. I can commit the
patch if I'm told to though.

Ian.


-- 
Ian Campbell
Churchill College, Cambridge.
--- od-load.c.orig	Thu Jan 11 02:01:44 2001
+++ od-load.c	Thu Jan 11 02:13:28 2001
@@ -227,7 +227,7 @@
 			xmlNodePtr curnode;
 
 			ext = strrchr (dent->d_name, '.');
-			if (!ext || strcasecmp (ext, ".oafinfo"))
+			if (!ext || ( strcasecmp (ext, ".oafinfo") && strcasecmp(ext, ".oaf")))
 				continue;
 
 			g_snprintf (tmpstr, sizeof (tmpstr), "%s/%s",


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