Patch to fix a few problems



I just checked in the following patch, which fixes a few obvious
problems. Apologies for not waiting for approval, but some of them are
totally breaking use of the text-plain component right now. I'll
revert any part of this the maintainers don't like.

The fact that the oafinfo file for the text/plain component stopped
being installed seems to be indicative of a lack of sufficient testing
in this area when making changes.

 - Maciej

Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.501
diff -u -r1.501 ChangeLog
--- ChangeLog	2000/09/05 22:14:54	1.501
+++ ChangeLog	2000/09/06 01:02:13
@@ -1,3 +1,16 @@
+2000-09-05  Maciej Stachowiak  <mjs eazel com>
+
+	* components/text-plain/Makefile.am: Install text-plain.oafinfo
+	again (someone accidentally made it stop installing).
+	
+	* components/text-plain/text-plain.oafinfo: Replace
+	special/webdav-directory with x-directory/webdav (this mime type
+	has been renamed in gnome-vfs). Also, add "text/plain" to
+	supported mime types. Even though this is redundant with "text/*",
+	it's still useful to have it in to make sure this component is
+	preferred as a handler for plain text to ones that merely support
+	"text/*".
+
 2000-09-05  Michael Meeks  <michael helixcode com>
 
 	* components/text-plain/bonobo-text-plain.c (create_view_menus): fix
Index: components/text-plain/Makefile.am
===================================================================
RCS file: /cvs/gnome/bonobo/components/text-plain/Makefile.am,v
retrieving revision 1.13
diff -u -r1.13 Makefile.am
--- components/text-plain/Makefile.am	2000/08/12 19:57:29	1.13
+++ components/text-plain/Makefile.am	2000/09/06 01:02:13
@@ -20,5 +20,7 @@
 
 OAF_FILES = text-plain.oafinfo
 
+oaf_DATA = $(OAF_FILES)
+
 EXTRA_DIST = $(OAF_FILES)
 
Index: components/text-plain/text-plain.oafinfo
===================================================================
RCS file: /cvs/gnome/bonobo/components/text-plain/text-plain.oafinfo,v
retrieving revision 1.4
diff -u -r1.4 text-plain.oafinfo
--- components/text-plain/text-plain.oafinfo	2000/08/02 21:31:31	1.4
+++ components/text-plain/text-plain.oafinfo	2000/09/06 01:02:13
@@ -20,7 +20,8 @@
 <oaf_attribute name="description" type="string" value="text/plain component"/>
 <oaf_attribute name="bonobo:editable" type="boolean" value="true"/>
 <oaf_attribute name="bonobo:supported_mime_types" type="stringv">
-<item value="special/webdav-directory"/>
+<item value="x-directory/webdav"/>
+<item value="text/plain"/>
 <item value="text/*"/>
 </oaf_attribute>
 <oaf_attribute name="nautilus:view_as_name" type="string" value="Text"/>








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