bonobo-moniker-extender-file.c change.
- From: Dave Camp <dave ximian com>
- To: gnome-components-list gnome org
- Subject: bonobo-moniker-extender-file.c change.
- Date: 19 Jun 2001 13:08:01 -0400
I just committed this one-liner to bonobo, to improve the mime handling
of bonobo-moniker-extender-file:
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/bonobo/ChangeLog,v
retrieving revision 1.1072
retrieving revision 1.1073
diff -u -r1.1072 -r1.1073
--- ChangeLog 2001/06/13 17:52:29 1.1072
+++ ChangeLog 2001/06/19 15:40:12 1.1073
@@ -1,3 +1,10 @@
+2001-06-19 Dave Camp <dave ximian com>
+
+ * monikers/bonobo-moniker-extender-file.c
(bonobo_file_extender_resolve):
+ Use gnome_mime_type_of_file() rather than gnome_mime_type(),
+ because the former checks magic database in addition to the
+ extension, while the latter only checks the extension.
+
2001-06-13 jacob berkman <jacob ximian com>
* doc/api/tmpl/bonobo-moniker-extender.sgml: fix some
incorrectly
Index: monikers/bonobo-moniker-extender-file.c
===================================================================
RCS file: /cvs/gnome/bonobo/monikers/bonobo-moniker-extender-file.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -r1.10 -r1.11
--- monikers/bonobo-moniker-extender-file.c 2001/05/02 19:17:28
1.10
+++ monikers/bonobo-moniker-extender-file.c 2001/06/19 15:40:13
1.11
@@ -44,7 +44,7 @@
g_warning ("Filename : '%s'", fname);
- mime_type = gnome_mime_type (fname);
+ mime_type = gnome_mime_type_of_file (fname);
mime_type_major = bonobo_internal_get_major_mime_type
(mime_type);
oaf_requirements = g_strdup_printf (
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]