summaryrefslogtreecommitdiffstats
path: root/tdeioslave/media/libmediacommon
diff options
context:
space:
mode:
Diffstat (limited to 'tdeioslave/media/libmediacommon')
-rw-r--r--tdeioslave/media/libmediacommon/notifierserviceaction.cpp2
-rw-r--r--tdeioslave/media/libmediacommon/notifiersettings.cpp6
2 files changed, 4 insertions, 4 deletions
diff --git a/tdeioslave/media/libmediacommon/notifierserviceaction.cpp b/tdeioslave/media/libmediacommon/notifierserviceaction.cpp
index 2405dfb39..c0b11043c 100644
--- a/tdeioslave/media/libmediacommon/notifierserviceaction.cpp
+++ b/tdeioslave/media/libmediacommon/notifierserviceaction.cpp
@@ -159,7 +159,7 @@ void NotifierServiceAction::save() const
desktopFile.setDesktopGroup();
- desktopFile.writeEntry(TQString("ServiceTypes"), m_mimetypes, ",");
+ desktopFile.writeEntry(TQString("X-TDE-ServiceTypes"), m_mimetypes, ",");
desktopFile.writeEntry(TQString("Actions"),
TQStringList(m_service.m_strName),";");
}
diff --git a/tdeioslave/media/libmediacommon/notifiersettings.cpp b/tdeioslave/media/libmediacommon/notifiersettings.cpp
index a7dc7ee21..53d5e63ab 100644
--- a/tdeioslave/media/libmediacommon/notifiersettings.cpp
+++ b/tdeioslave/media/libmediacommon/notifiersettings.cpp
@@ -297,7 +297,7 @@ TQValueList<NotifierServiceAction*> NotifierSettings::loadActions( KDesktopFile
TQValueList<NotifierServiceAction*> services;
const TQString filename = desktop.fileName();
- const TQStringList mimetypes = desktop.readListEntry( "ServiceTypes" );
+ const TQStringList mimetypes = desktop.readListEntry( "X-TDE-ServiceTypes" );
TQValueList<KDEDesktopMimeType::Service> type_services
= KDEDesktopMimeType::userDefinedServices(filename, true);
@@ -325,7 +325,7 @@ bool NotifierSettings::shouldLoadActions( KDesktopFile &desktop, const TQString
desktop.setDesktopGroup();
if ( desktop.hasKey( "Actions" )
- && desktop.hasKey( "ServiceTypes" )
+ && desktop.hasKey( "X-TDE-ServiceTypes" )
&& !desktop.readBoolEntry( "X-TDE-MediaNotifierHide", false ) )
{
const TQStringList actions = desktop.readListEntry( "Actions" );
@@ -335,7 +335,7 @@ bool NotifierSettings::shouldLoadActions( KDesktopFile &desktop, const TQString
return false;
}
- const TQStringList types = desktop.readListEntry( "ServiceTypes" );
+ const TQStringList types = desktop.readListEntry( "X-TDE-ServiceTypes" );
if ( mimetype.isEmpty() )
{