summaryrefslogtreecommitdiffstats
path: root/nsplugins
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-06-08 15:46:01 -0500
committerDarrell Anderson <[email protected]>2012-06-08 15:46:01 -0500
commit94f3dbe7c5a7dc282c22d347d91e4851cabe77d8 (patch)
tree4c2b211ee14b20c0c30e0d80cbd813fb40c8f240 /nsplugins
parent5c3cd105bf9a3f6a1089e18e5edbe2b4ebff68a1 (diff)
downloadtdebase-94f3dbe7c5a7dc282c22d347d91e4851cabe77d8.tar.gz
tdebase-94f3dbe7c5a7dc282c22d347d91e4851cabe77d8.zip
Update XDG information in support of bug report 892.
Diffstat (limited to 'nsplugins')
-rw-r--r--nsplugins/khtml_plugins.desktop14
-rw-r--r--nsplugins/pluginscan.cpp12
2 files changed, 13 insertions, 13 deletions
diff --git a/nsplugins/khtml_plugins.desktop b/nsplugins/khtml_plugins.desktop
index ac3dd765a..9a2e0813a 100644
--- a/nsplugins/khtml_plugins.desktop
+++ b/nsplugins/khtml_plugins.desktop
@@ -4,12 +4,12 @@ DocPath=kcontrol/khtml/index.html#kbrowse-plugins
Icon=konqueror
Exec=kcmshell khtml_plugins
-X-KDE-ModuleType=Library
-X-KDE-Library=konqhtml
-X-KDE-FactoryName=khtml_plugins
-X-KDE-Init-Library=nsplugins
-X-KDE-Init=nsplugin
-X-KDE-ParentApp=kcontrol
+X-TDE-ModuleType=Library
+X-TDE-Library=konqhtml
+X-TDE-FactoryName=khtml_plugins
+X-TDE-Init-Library=nsplugins
+X-TDE-Init=nsplugin
+X-TDE-ParentApp=kcontrol
Name=Plugins
Name[af]=Inprop modules
@@ -230,4 +230,4 @@ Keywords[zh_CN]=konqueror,kfm,browser,html,web,www,fonts,plugins,浏览器,字�
Keywords[zh_TW]=konqueror,kfm,browser,html,web,www,fonts,plugins,征服家,瀏覽器,網頁,字型,外掛程式
Keywords[zu]=komqueror,kfm,umcingi,html,web,www,izinhlobo zamagama, ama-plugin
-Categories=Qt;KDE;X-KDE-settings-webbrowsing;
+Categories=Qt;TDE;X-TDE-settings-webbrowsing;
diff --git a/nsplugins/pluginscan.cpp b/nsplugins/pluginscan.cpp
index 6914deb93..6570c3912 100644
--- a/nsplugins/pluginscan.cpp
+++ b/nsplugins/pluginscan.cpp
@@ -114,7 +114,7 @@ bool isPluginMimeType( TQString fname )
{
KDesktopFile cfg( fname, true );
cfg.setDesktopGroup();
- return cfg.hasKey( "X-KDE-nsplugin" );
+ return cfg.hasKey( "X-TDE-nsplugin" );
}
@@ -132,7 +132,7 @@ void deletePluginMimeTypes()
for ( unsigned int i=0; i<dirs.count(); i++ ) {
if ( !dirs[i].contains(".") ) {
- // check all mime types for X-KDE-nsplugin flag
+ // check all mime types for X-TDE-nsplugin flag
kdDebug(1433) << " - Looking in " << dirs[i] << endl;
TQDir files( dirs.absFilePath(dirs[i]), TQString::null,
TQDir::Name|TQDir::IgnoreCase, TQDir::Files );
@@ -183,8 +183,8 @@ void generateMimeType( TQString mime, TQString extensions, TQString pluginName,
ts << "MimeType=" << mime << endl;
ts << "Icon=netscape_doc" << endl;
ts << "Comment=Netscape " << pluginName << endl;
- ts << "X-KDE-AutoEmbed=true" << endl;
- ts << "X-KDE-nsplugin=true" << endl;
+ ts << "X-TDE-AutoEmbed=true" << endl;
+ ts << "X-TDE-nsplugin=true" << endl;
if (!extensions.isEmpty()) {
TQStringList exts = TQStringList::split(",", extensions);
@@ -469,10 +469,10 @@ void writeServicesFile( TQStringList mimeTypes )
ts << "Type=Service" << endl;
ts << "Icon=netscape" << endl;
ts << "Comment=" << i18n("Netscape plugin viewer") << endl;
- ts << "X-KDE-Library=libnsplugin" << endl;
+ ts << "X-TDE-Library=libnsplugin" << endl;
ts << "InitialPreference=7" << endl;
ts << "ServiceTypes=KParts/ReadOnlyPart,Browser/View" << endl;
- ts << "X-KDE-BrowserView-PluginsInfo=nsplugins/pluginsinfo" << endl;
+ ts << "X-TDE-BrowserView-PluginsInfo=nsplugins/pluginsinfo" << endl;
if (mimeTypes.count() > 0)
ts << "MimeType=" << mimeTypes.join(";") << endl;