diff options
author | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-11 17:26:54 -0500 |
---|---|---|
committer | Timothy Pearson <kb9vqf@pearsoncomputing.net> | 2014-10-11 17:26:54 -0500 |
commit | 910b602ca120402a9e6fccd1301ebb4346597024 (patch) | |
tree | 971cca16fa244f33d63fefa926011d4d97a4900c /tdeioslave/media/libmediacommon | |
parent | ee9dade9cf387a60b5c2a591500f68d8096ad9dc (diff) | |
download | tdebase-910b602ca120402a9e6fccd1301ebb4346597024.tar.gz tdebase-910b602ca120402a9e6fccd1301ebb4346597024.zip |
Second part of prior commit
Diffstat (limited to 'tdeioslave/media/libmediacommon')
-rw-r--r-- | tdeioslave/media/libmediacommon/notifierserviceaction.cpp | 2 | ||||
-rw-r--r-- | tdeioslave/media/libmediacommon/notifiersettings.cpp | 6 |
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() ) { |