From 6ed1ea98db6b1b369e7561efcc2c666b810e5446 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:51:46 -0500 Subject: Update XDG information in support of bug report 892. --- kparts/browserview.desktop | 30 +++++++++++++++--------------- kparts/kpart.desktop | 2 +- kparts/krop.desktop | 4 ++-- kparts/krwp.desktop | 4 ++-- kparts/plugin.cpp | 2 +- kparts/plugin.h | 2 +- kparts/tests/notepad.desktop | 2 +- 7 files changed, 23 insertions(+), 23 deletions(-) (limited to 'kparts') diff --git a/kparts/browserview.desktop b/kparts/browserview.desktop index f3e8239b9..bfd874147 100644 --- a/kparts/browserview.desktop +++ b/kparts/browserview.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=Browser/View -X-KDE-Derived=KParts/ReadOnlyPart +X-TDE-ServiceType=Browser/View +X-TDE-Derived=KParts/ReadOnlyPart Name=Browser View Name[af]=Blaaier Besigtig Name[ar]=عرض تصفحي @@ -85,58 +85,58 @@ Name[zh_TW]=瀏覽器視圖 Name[zu]=Umbonisi Womgcingi # Arguments passed to the factory (e.g. view sub-type) -[PropertyDef::X-KDE-BrowserView-Args] +[PropertyDef::X-TDE-BrowserView-Args] Type=TQString # If false, this component won't be used when clicking on a file, # the user will have to use "Embed in..." to use it (or the application # will have to explicitely embed this particular service, like for the sidebar) -[PropertyDef::X-KDE-BrowserView-AllowAsDefault] +[PropertyDef::X-TDE-BrowserView-AllowAsDefault] Type=bool # If true, this component won't appear in the "Embed in..." popupmenu -[PropertyDef::X-KDE-BrowserView-HideFromMenus] +[PropertyDef::X-TDE-BrowserView-HideFromMenus] Type=bool # If true, the view will have its "linked" checkbox checked in Konqueror # (Was initially for the sidebar, but it's a FollowActive nowadays) -[PropertyDef::X-KDE-BrowserView-LinkedView] +[PropertyDef::X-TDE-BrowserView-LinkedView] Type=bool # If true, this view shows a hierarchical view, i.e. more than one dir at a time # This is used by KonqPopupMenu to know whether to offer "Create Directory" # in the RMB menu on a directory (since it depends on whether the user would # see that new dir). -[PropertyDef::X-KDE-BrowserView-HierarchicalView] +[PropertyDef::X-TDE-BrowserView-HierarchicalView] Type=bool # If true, the view is passive (can't be made the current active view) -[PropertyDef::X-KDE-BrowserView-PassiveMode] +[PropertyDef::X-TDE-BrowserView-PassiveMode] Type=bool # If true, the view can only be there 0 or 1 time in a given window, # and a toggle action for it will be created (examples: sidebar, konsolepart) -[PropertyDef::X-KDE-BrowserView-Toggable] +[PropertyDef::X-TDE-BrowserView-Toggable] Type=bool # If the view is toggable, this defines its orientation (Horizontal or Vertical) -[PropertyDef::X-KDE-BrowserView-ToggableView-Orientation] +[PropertyDef::X-TDE-BrowserView-ToggableView-Orientation] Type=TQString # The name of the property in the view, which the application should set # in order to quickly switch the view mode (only meaningful in views that # support multiple modes in the same widget, like the iconview) -[PropertyDef::X-KDE-BrowserView-ModeProperty] +[PropertyDef::X-TDE-BrowserView-ModeProperty] Type=TQString # The value to set for the above property -[PropertyDef::X-KDE-BrowserView-ModePropertyValue] +[PropertyDef::X-TDE-BrowserView-ModePropertyValue] Type=TQString # If true, this view will always "follow the active view" (and vice versa: # when the active view goes to another url, this view will follow). # Mostly used by the sidebar. -[PropertyDef::X-KDE-BrowserView-FollowActive] +[PropertyDef::X-TDE-BrowserView-FollowActive] Type=bool # If this property is set, this view is "builtin" to the application using it @@ -146,12 +146,12 @@ Type=bool # that this view was used last. We don't want special-purpose views # (like Cervisia) to be reactivated (possibly on another directory) next time # (famous bug). -[PropertyDef::X-KDE-BrowserView-Built-Into] +[PropertyDef::X-TDE-BrowserView-Built-Into] Type=TQString # If the part has a plugin for KHTML Javascript's window.navigator.plugins # array, it should create a plugin info file and set this propery to the # file path here. The path should be relative to KDE's data dir # ($TDEDIR/share/apps) -[PropertyDef::X-KDE-BrowserView-PluginsInfo] +[PropertyDef::X-TDE-BrowserView-PluginsInfo] Type=TQString diff --git a/kparts/kpart.desktop b/kparts/kpart.desktop index 60f464d80..ba69bd704 100644 --- a/kparts/kpart.desktop +++ b/kparts/kpart.desktop @@ -1,6 +1,6 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KPart +X-TDE-ServiceType=KPart Comment=TDE Component Comment[af]=Tde Komponent Comment[ar]=عنصر كيدي diff --git a/kparts/krop.desktop b/kparts/krop.desktop index 531bb6e2b..62de2d454 100644 --- a/kparts/krop.desktop +++ b/kparts/krop.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KParts/ReadOnlyPart -X-KDE-Derived=KPart +X-TDE-ServiceType=KParts/ReadOnlyPart +X-TDE-Derived=KPart Comment=TDE Component Comment[af]=Tde Komponent Comment[ar]=عنصر كيدي diff --git a/kparts/krwp.desktop b/kparts/krwp.desktop index d25f43052..5c6bfee1a 100644 --- a/kparts/krwp.desktop +++ b/kparts/krwp.desktop @@ -1,7 +1,7 @@ [Desktop Entry] Type=ServiceType -X-KDE-ServiceType=KParts/ReadWritePart -X-KDE-Derived=KParts/ReadOnlyPart +X-TDE-ServiceType=KParts/ReadWritePart +X-TDE-Derived=KParts/ReadOnlyPart Comment=TDE Component Comment[af]=Tde Komponent Comment[ar]=عنصر كيدي diff --git a/kparts/plugin.cpp b/kparts/plugin.cpp index c9b0d2e36..b5c50be2c 100644 --- a/kparts/plugin.cpp +++ b/kparts/plugin.cpp @@ -259,7 +259,7 @@ void Plugin::loadPlugins( TQObject *parent, KXMLGUIClient* parentGUIClient, KIns KSimpleConfig desktop( desktopfile, true ); desktop.setDesktopGroup(); pluginEnabled = desktop.readBoolEntry( - "X-KDE-PluginInfo-EnabledByDefault", enableNewPluginsByDefault ); + "X-TDE-PluginInfo-EnabledByDefault", enableNewPluginsByDefault ); } else { diff --git a/kparts/plugin.h b/kparts/plugin.h index c332df14b..0da0a46e0 100644 --- a/kparts/plugin.h +++ b/kparts/plugin.h @@ -115,7 +115,7 @@ public: * plugins are enabled and which are disabled. What happens by default (i.e. * for new plugins that are not in that config file) is controlled by * @p enableNewPluginsByDefault. It can be overridden by the plugin if it - * sets the X-KDE-PluginInfo-EnabledByDefault key in the .desktop file + * sets the X-TDE-PluginInfo-EnabledByDefault key in the .desktop file * (with the same name as the .rc file) * * If a disabled plugin is already loaded it will be removed from the GUI diff --git a/kparts/tests/notepad.desktop b/kparts/tests/notepad.desktop index e7f1bb432..a529d69a1 100644 --- a/kparts/tests/notepad.desktop +++ b/kparts/tests/notepad.desktop @@ -82,5 +82,5 @@ Name[zh_TW]=記事本(範例) Name[zu]=Incwadi yokubhala (umfanekiso) MimeType=text/english;text/plain;text/x-makefile;text/x-c++hdr;text/x-c++src;text/x-chdr;text/x-csrc;text/x-java;text/x-moc;text/x-pascal;text/x-tcl;text/x-tex;application/x-shellscript;text/x-c;text/x-c++; ServiceTypes=KParts/ReadOnlyPart -X-KDE-Library=libnotepadpart +X-TDE-Library=libnotepadpart Type=Service -- cgit v1.2.1