Patch for major breakage in OAF activation



It seems a typo got through in the attribute->property transfer...
I don't know if the oafinfo XML files should specify oaf_attribute
or oaf_property, but they certainly shouldn't specify oaf_propibute :-)

I compromise and accept either for now (it'll take a long time for
existing oafinfo's to get updated.)

Index: oafd/od-load.c
===================================================================
RCS file: /cvs/gnome/oaf/oafd/od-load.c,v
retrieving revision 1.15
diff -u -r1.15 od-load.c
--- oafd/od-load.c      2000/07/29 22:56:22     1.15
+++ oafd/od-load.c      2000/07/31 03:45:53
@@ -61,7 +61,8 @@
                if (sub->type != XML_ELEMENT_NODE)
                        continue;
 
-               if (strcasecmp (sub->name, "oaf_propibute"))
+               if (strcasecmp (sub->name, "oaf_attribute") &&
+                    strcasecmp (sub->name, "oaf_property"))
                        continue;
 
                n++;
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/oaf/ChangeLog,v
retrieving revision 1.56
diff -u -r1.56 ChangeLog
--- ChangeLog   2000/07/29 22:56:21     1.56
+++ ChangeLog   2000/07/31 03:45:53
@@ -1,3 +1,7 @@
+2000-07-30  Peter Williams  <peterw@helixcode.com>
+
+       * oafd/od-load.c: Fix big typo.
+
 2000-07-29  ERDI Gergo <cactus@cactus.rulez.org>
 
        * idl/oaf.idl: Changed Attribute to Property to avoid clash with

--
=====================================================
Peter Williams peter@newton.cx / peterw@helixcode.com




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