From 4aa2303727ec7231c39618e17c2a36ee11a4e2d9 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:55:51 -0500 Subject: Update XDG information in support of bug report 892. --- kopete/libkopete/kopeteplugin.desktop | 4 ++-- kopete/libkopete/kopeteplugin.h | 20 ++++++++++---------- kopete/libkopete/kopetepluginmanager.cpp | 2 +- kopete/libkopete/kopetepluginmanager.h | 4 ++-- kopete/libkopete/kopeteprotocol.desktop | 4 ++-- kopete/libkopete/kopeteui.desktop | 4 ++-- 6 files changed, 19 insertions(+), 19 deletions(-) (limited to 'kopete/libkopete') diff --git a/kopete/libkopete/kopeteplugin.desktop b/kopete/libkopete/kopeteplugin.desktop index f5c29fd4..e9f19dca 100644 --- a/kopete/libkopete/kopeteplugin.desktop +++ b/kopete/libkopete/kopeteplugin.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=Kopete/Plugin -X-KDE-Derived=KPluginInfo +X-TDE-ServiceType=Kopete/Plugin +X-TDE-Derived=KPluginInfo Comment=Kopete Plugin Comment[ar]=توصيلة Kopete Comment[be]=Модуль Kopete diff --git a/kopete/libkopete/kopeteplugin.h b/kopete/libkopete/kopeteplugin.h index 932c8174..7744ca7e 100644 --- a/kopete/libkopete/kopeteplugin.h +++ b/kopete/libkopete/kopeteplugin.h @@ -50,16 +50,16 @@ Type=Service X-Kopete-Version=1000900 Icon=icon ServiceTypes=Kopete/Plugin -X-KDE-Library=kopete_myplugin -X-KDE-PluginInfo-Author=Your Name -X-KDE-PluginInfo-Email=your@mail.com -X-KDE-PluginInfo-Name=kopete_myplugin -X-KDE-PluginInfo-Version=0.0.1 -X-KDE-PluginInfo-Website=http://yoursite.com -X-KDE-PluginInfo-Category=Plugins -X-KDE-PluginInfo-Depends= -X-KDE-PluginInfo-License=GPL -X-KDE-PluginInfo-EnabledByDefault=false +X-TDE-Library=kopete_myplugin +X-TDE-PluginInfo-Author=Your Name +X-TDE-PluginInfo-Email=your@mail.com +X-TDE-PluginInfo-Name=kopete_myplugin +X-TDE-PluginInfo-Version=0.0.1 +X-TDE-PluginInfo-Website=http://yoursite.com +X-TDE-PluginInfo-Category=Plugins +X-TDE-PluginInfo-Depends= +X-TDE-PluginInfo-License=GPL +X-TDE-PluginInfo-EnabledByDefault=false Name=MyPlugin Comment=Plugin that do some nice stuff \endverbatim diff --git a/kopete/libkopete/kopetepluginmanager.cpp b/kopete/libkopete/kopetepluginmanager.cpp index 844cdcf8..12b3822a 100644 --- a/kopete/libkopete/kopetepluginmanager.cpp +++ b/kopete/libkopete/kopetepluginmanager.cpp @@ -377,7 +377,7 @@ Plugin *PluginManager::loadPluginInternal( const TQString &pluginId ) int error = 0; Plugin *plugin = KParts::ComponentFactory::createInstanceFromQuery( TQString::fromLatin1( "Kopete/Plugin" ), - TQString::fromLatin1( "[X-KDE-PluginInfo-Name]=='%1'" ).arg( pluginId ), this, 0, TQStringList(), &error ); + TQString::fromLatin1( "[X-TDE-PluginInfo-Name]=='%1'" ).arg( pluginId ), this, 0, TQStringList(), &error ); if ( plugin ) { diff --git a/kopete/libkopete/kopetepluginmanager.h b/kopete/libkopete/kopetepluginmanager.h index d0eceb29..3d34f0b1 100644 --- a/kopete/libkopete/kopetepluginmanager.h +++ b/kopete/libkopete/kopetepluginmanager.h @@ -74,7 +74,7 @@ public: PluginList loadedPlugins( const TQString &category = TQString() ) const; /** - * @brief Search by plugin name. This is the key used as X-KDE-PluginInfo-Name in + * @brief Search by plugin name. This is the key used as X-TDE-PluginInfo-Name in * the .desktop file, e.g. "kopete_jabber" * * @return The @ref Kopete::Plugin object found by the search, or a null @@ -113,7 +113,7 @@ public: * config file. * * @param name is the name of the plugin as it is listed in the .desktop - * file in the X-KDE-Library field. + * file in the X-TDE-Library field. * @param enabled sets whether or not the plugin is enabled * * Returns false when no appropriate plugin can be found. diff --git a/kopete/libkopete/kopeteprotocol.desktop b/kopete/libkopete/kopeteprotocol.desktop index ecd98a1a..785e4729 100644 --- a/kopete/libkopete/kopeteprotocol.desktop +++ b/kopete/libkopete/kopeteprotocol.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=Kopete/Protocol -X-KDE-Derived=Kopete/Plugin +X-TDE-ServiceType=Kopete/Protocol +X-TDE-Derived=Kopete/Plugin Comment=Kopete Protocol Plugin Comment[ar]=توصيلة بروتوكول KDE Comment[be]=Пратакол Kopete diff --git a/kopete/libkopete/kopeteui.desktop b/kopete/libkopete/kopeteui.desktop index 6818fc35..19e167b0 100644 --- a/kopete/libkopete/kopeteui.desktop +++ b/kopete/libkopete/kopeteui.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=Kopete/UI -X-KDE-Derived=Kopete/Plugin +X-TDE-ServiceType=Kopete/UI +X-TDE-Derived=Kopete/Plugin Comment=A Kopete UI Plugin Comment[ar]=توصيلة واجهة استخدام Kopete Comment[be]=Модуль інтэрфэйсу Kopete -- cgit v1.2.1