summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDarrell Anderson <[email protected]>2012-06-16 00:05:58 -0500
committerDarrell Anderson <[email protected]>2012-06-16 00:05:58 -0500
commit75692d2d11ecc5f31c55adbd0daeef02e510143b (patch)
treeca5eb617dc6381e87a25a2c939163b6acf1878ca /src
parent68fff8abfc49c896e07c75acdb1b05f89fa965b5 (diff)
downloaddolphin-75692d2d11ecc5f31c55adbd0daeef02e510143b.tar.gz
dolphin-75692d2d11ecc5f31c55adbd0daeef02e510143b.zip
Fix straggling XDG references missed in patch set from June 8, 2012.
Diffstat (limited to 'src')
-rw-r--r--src/dolphincontextmenu.cpp4
-rw-r--r--src/infosidebarpage.cpp4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/dolphincontextmenu.cpp b/src/dolphincontextmenu.cpp
index 5a7d248..3d7f68f 100644
--- a/src/dolphincontextmenu.cpp
+++ b/src/dolphincontextmenu.cpp
@@ -367,7 +367,7 @@ void DolphinContextMenu::insertActionItems(KPopupMenu* popup,
for (TQStringList::ConstIterator entryIt = entries.begin(); entryIt != entries.end(); ++entryIt) {
KSimpleConfig cfg(*dirIt + *entryIt, true);
cfg.setDesktopGroup();
- if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
+ if ((cfg.hasKey("Actions") || cfg.hasKey("X-TDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
const TQStringList types = cfg.readListEntry("ServiceTypes");
for (TQStringList::ConstIterator it = types.begin(); it != types.end(); ++it) {
// check whether the mime type is equal or whether the
@@ -413,7 +413,7 @@ void DolphinContextMenu::insertActionItems(KPopupMenu* popup,
if (insert) {
menu = actionsMenu;
- const TQString submenuName = cfg.readEntry( "X-KDE-Submenu" );
+ const TQString submenuName = cfg.readEntry( "X-TDE-Submenu" );
if (!submenuName.isEmpty()) {
menu = new KPopupMenu();
actionsMenu->insertItem(submenuName, menu, submenuID);
diff --git a/src/infosidebarpage.cpp b/src/infosidebarpage.cpp
index ad9a46e..8efcba5 100644
--- a/src/infosidebarpage.cpp
+++ b/src/infosidebarpage.cpp
@@ -443,7 +443,7 @@ void InfoSidebarPage::insertActions()
for (TQStringList::ConstIterator entryIt = entries.begin(); entryIt != entries.end(); ++entryIt) {
KSimpleConfig cfg(*dirIt + *entryIt, true);
cfg.setDesktopGroup();
- if ((cfg.hasKey("Actions") || cfg.hasKey("X-KDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
+ if ((cfg.hasKey("Actions") || cfg.hasKey("X-TDE-GetActionMenu")) && cfg.hasKey("ServiceTypes")) {
const TQStringList types = cfg.readListEntry("ServiceTypes");
for (TQStringList::ConstIterator it = types.begin(); it != types.end(); ++it) {
// check whether the mime type is equal or whether the
@@ -481,7 +481,7 @@ void InfoSidebarPage::insertActions()
}
if (insert) {
- const TQString submenuName = cfg.readEntry( "X-KDE-Submenu" );
+ const TQString submenuName = cfg.readEntry( "X-TDE-Submenu" );
TQPopupMenu* popup = 0;
if (!submenuName.isEmpty()) {
// create a sub menu containing all actions