diff options
Diffstat (limited to 'src/gvcore/externaltooldialog.cpp')
-rw-r--r-- | src/gvcore/externaltooldialog.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gvcore/externaltooldialog.cpp b/src/gvcore/externaltooldialog.cpp index 47ca826..35b4bc9 100644 --- a/src/gvcore/externaltooldialog.cpp +++ b/src/gvcore/externaltooldialog.cpp @@ -105,17 +105,17 @@ struct ExternalToolDialogPrivate { void writeServiceTypes(KDesktopFile* desktopFile) { TQButton* button=mContent->mFileAssociationGroup->selected(); if (!button) { - desktopFile->writeEntry("ServiceTypes", "*"); + desktopFile->writeEntry("X-TDE-ServiceTypes", "*"); return; } int id=mContent->mFileAssociationGroup->id(button); if (id==ID_ALL_IMAGES) { - desktopFile->writeEntry("ServiceTypes", "image/*"); + desktopFile->writeEntry("X-TDE-ServiceTypes", "image/*"); return; } if (id==ID_ALL_FILES) { - desktopFile->writeEntry("ServiceTypes", "*"); + desktopFile->writeEntry("X-TDE-ServiceTypes", "*"); return; } @@ -126,7 +126,7 @@ struct ExternalToolDialogPrivate { mimeTypes.append(item->text(0)); } } - desktopFile->writeEntry("ServiceTypes", mimeTypes); + desktopFile->writeEntry("X-TDE-ServiceTypes", mimeTypes); } @@ -213,7 +213,7 @@ struct ExternalToolDialogPrivate { mContent->mName->setText(desktopFile->readName()); mContent->mCommand->setURL(desktopFile->readEntry("Exec")); mContent->mIconButton->setIcon(desktopFile->readIcon()); - TQStringList serviceTypes=desktopFile->readListEntry("ServiceTypes"); + TQStringList serviceTypes=desktopFile->readListEntry("X-TDE-ServiceTypes"); updateFileAssociationGroup(serviceTypes); return; } |