[or-cvs] r11362: Register KPDF as external PDF viewer. (in incognito/trunk/root_overlay/var/lib: firefox-config/firefox/m7m1jk79.Default User thunderbird-config/qmuzmhh7.default)

double at seul.org double at seul.org
Mon Sep 3 16:27:23 UTC 2007


Author: double
Date: 2007-09-03 12:27:23 -0400 (Mon, 03 Sep 2007)
New Revision: 11362

Modified:
   incognito/trunk/root_overlay/var/lib/firefox-config/firefox/m7m1jk79.Default User/mimeTypes.rdf
   incognito/trunk/root_overlay/var/lib/thunderbird-config/qmuzmhh7.default/mimeTypes.rdf
Log:
Register KPDF as external PDF viewer.


Modified: incognito/trunk/root_overlay/var/lib/firefox-config/firefox/m7m1jk79.Default User/mimeTypes.rdf
===================================================================
--- incognito/trunk/root_overlay/var/lib/firefox-config/firefox/m7m1jk79.Default User/mimeTypes.rdf	2007-09-03 16:26:33 UTC (rev 11361)
+++ incognito/trunk/root_overlay/var/lib/firefox-config/firefox/m7m1jk79.Default User/mimeTypes.rdf	2007-09-03 16:27:23 UTC (rev 11362)
@@ -1,11 +1,27 @@
-<?xml version="1.0"?>  
-
-<RDF xmlns="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:NC="http://home.netscape.com/NC-rdf#">
-
-  <Description about="urn:mimetypes"> 
-    <NC:MIME-types> 
-	    <Seq about="urn:mimetypes:root"> 
-	    </Seq> 
-    </NC:MIME-types> 
-  </Description> 
-</RDF>
+<?xml version="1.0"?>
+<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
+         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+  <RDF:Seq RDF:about="urn:mimetypes:root">
+    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
+  </RDF:Seq>
+  <RDF:Description RDF:about="urn:mimetype:application/pdf"
+                   NC:value="application/pdf"
+                   NC:editable="true"
+                   NC:fileExtensions="pdf"
+                   NC:description="">
+    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
+  </RDF:Description>
+  <RDF:Description RDF:about="urn:mimetypes">
+    <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
+  </RDF:Description>
+  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
+                   NC:path="/usr/kde/3.5/bin/kpdf"
+                   NC:prettyName="kpdf" />
+  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
+                   NC:alwaysAsk="false"
+                   NC:saveToDisk="false"
+                   NC:useSystemDefault="false"
+                   NC:handleInternal="false">
+    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
+  </RDF:Description>
+</RDF:RDF>

Modified: incognito/trunk/root_overlay/var/lib/thunderbird-config/qmuzmhh7.default/mimeTypes.rdf
===================================================================
--- incognito/trunk/root_overlay/var/lib/thunderbird-config/qmuzmhh7.default/mimeTypes.rdf	2007-09-03 16:26:33 UTC (rev 11361)
+++ incognito/trunk/root_overlay/var/lib/thunderbird-config/qmuzmhh7.default/mimeTypes.rdf	2007-09-03 16:27:23 UTC (rev 11362)
@@ -1,60 +1,27 @@
-<?xml version="1.0"?>  
-
-<!--
- This file is used as a persistent data store for helper application
- information.
-
- The root of the data is the <RDF:Seq about="urn:mimetypes:root"/>. This
- contains one <RDF:li/> entry per MIME type.  Each <RDF:li/> entry corresponds
- to the "urn:mimetype:major/minor" resource, where "major/minor" is the MIME
- type.  For example, for HTML we would have "urn:mimetype:text/html".
- Typically, this resource will be in the <RDF:Description/> node which has the
- corresponding "about" attribute.
-
- Each "urn:mimetype:major/minor" resource can have the following properties:
-
-   NC:Value - the MIME type string
-   NC:editable - a "true" or "false" depending on whether this entry is
-                 editable
-   NC:description - a description of the type ("HTML Document" for text/html)
-   NC:fileExtensions - there will be one of these properties per extension that
-                       corresponds to this MIME type, each one having a single
-                       extension as its value.
-   NC:handlerProp - the way the type should be handled.  This corresponds to a
-                    "urn:mimetype:handler:major/minor" resource.  Eg, the way
-                    HTML is handled would be stored in the
-                    "urn:mimetype:handler:text/html" resource
-
- Each "urn:mimetype:handler:major/minor" resource can have the following
- properties:
-
-   NC:useSystemDefault - "true" if we should handle per default OS setting,
-                          "false" or not set otherwise
-   NC:saveToDisk - "true" if the data should be saved to disk, "false" or not
-                   set otherwise.
-     (Note - if both of these are false, that means "open in helper app")
-   NC:alwaysAsk - "true" if the user should always be prompted before handling
-                  data of this type, false otherwise.
-   NC:externalApplication - the helper application to use for this type.  This
-                            corresponds to a
-                            "urn:mimetype:externalApplication:major/minor"
-			    resource
-
- Each "urn:mimetype:externalApplication:major/minor" resource can have the
- following properties:
-
-   NC:path - the path to the application
-   NC:prettyName - the "pretty name" of the application ("Acrobat Reader" for
-                   /usr/bin/acroread, eg).
--->
-			
-<RDF:RDF xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
-         xmlns:NC="http://home.netscape.com/NC-rdf#">
-
-  <RDF:Description about="urn:mimetypes"> 
-    <NC:MIME-types> 
-      <RDF:Seq about="urn:mimetypes:root"> 
-      </RDF:Seq>
-    </NC:MIME-types> 
-  </RDF:Description> 
+<?xml version="1.0"?>
+<RDF:RDF xmlns:NC="http://home.netscape.com/NC-rdf#"
+         xmlns:RDF="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
+  <RDF:Seq RDF:about="urn:mimetypes:root">
+    <RDF:li RDF:resource="urn:mimetype:application/pdf"/>
+  </RDF:Seq>
+  <RDF:Description RDF:about="urn:mimetype:application/pdf"
+                   NC:value="application/pdf"
+                   NC:editable="true"
+                   NC:fileExtensions="pdf"
+                   NC:description="">
+    <NC:handlerProp RDF:resource="urn:mimetype:handler:application/pdf"/>
+  </RDF:Description>
+  <RDF:Description RDF:about="urn:mimetypes">
+    <NC:MIME-types RDF:resource="urn:mimetypes:root"/>
+  </RDF:Description>
+  <RDF:Description RDF:about="urn:mimetype:externalApplication:application/pdf"
+                   NC:path="/usr/kde/3.5/bin/kpdf"
+                   NC:prettyName="kpdf" />
+  <RDF:Description RDF:about="urn:mimetype:handler:application/pdf"
+                   NC:alwaysAsk="false"
+                   NC:saveToDisk="false"
+                   NC:useSystemDefault="false"
+                   NC:handleInternal="false">
+    <NC:externalApplication RDF:resource="urn:mimetype:externalApplication:application/pdf"/>
+  </RDF:Description>
 </RDF:RDF>



More information about the tor-commits mailing list