koffice/kplato

Bo Thorsen <[email protected]>
Newsgroups gmane.comp.kde.kplato,gmane.comp.kde.koffice
Message-ID <[email protected]>
CVS commit by thorsen: 

Change the default file extension to .kplato and template extension to
.kplatot. as reasonably requested by Nicolas.

CCMAIL: [email protected], [email protected]


  M +2 -2      kplato.desktop   1.8
  M +2 -2      kptpart.cc   1.8
  M +3 -3      x-kplato.desktop   1.2


--- koffice/kplato/kplato.desktop  #1.7:1.8
@@ -8,7 +8,7 @@
 Exec=kplato
 X-KDE-Library=libkplatopart
-MimeType=application/x-kplato
+MimeType=application/x-vnd.kde.kplato
 Type=Application
 Icon=kword
 ServiceTypes=KOfficePart,KParts/ReadOnlyPart,KParts/ReadWritePart
-X-KDE-NativeMimeType=application/x-kplato
+X-KDE-NativeMimeType=application/x-vnd.kde.kplato

--- koffice/kplato/kptpart.cc  #1.7:1.8
@@ -58,5 +58,5 @@ bool KPTPart::initDoc() {
 
     ret = KoTemplateChooseDia::choose(KPTFactory::global(), templateDoc,
-                                      "application/x-kplato", "*.kpt",
+                                      "application/x-kplato", "*.kplato",
                                       i18n("KPlato"),
                                       KoTemplateChooseDia::Everything,
@@ -65,5 +65,5 @@ bool KPTPart::initDoc() {
         QFileInfo fileInfo(templateDoc);
         QString fileName(fileInfo.dirPath(true) + "/" + fileInfo.baseName()
-                         + ".kptt" );
+                         + ".kplatot" );
         resetURL();
         result = loadNativeFormat(fileName);

--- koffice/kplato/x-kplato.desktop  #1.1:1.2
@@ -2,10 +2,10 @@
 [Desktop Entry]
 Encoding=UTF-8
-MimeType=application/x-kplato
+MimeType=application/x-vnd.kde.kplato
 #Comment=...
 Type=MimeType
-Patterns=*.plato;
+Patterns=*.kplato;*.kplatot;
 X-KDE-AutoEmbed=false
 [Property::X-KDE-NativeExtension]
 Type=QString
-Value=.plato
+Value=.kplato
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.