From 94f3dbe7c5a7dc282c22d347d91e4851cabe77d8 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Fri, 8 Jun 2012 15:46:01 -0500 Subject: Update XDG information in support of bug report 892. --- kcontrol/kded/kcmkded.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'kcontrol/kded/kcmkded.cpp') diff --git a/kcontrol/kded/kcmkded.cpp b/kcontrol/kded/kcmkded.cpp index 51d742894..c74b46e08 100644 --- a/kcontrol/kded/kcmkded.cpp +++ b/kcontrol/kded/kcmkded.cpp @@ -159,7 +159,7 @@ void KDEDConfig::load( bool useDefaults ) { if ( KDesktopFile::isDesktopFile( *it ) ) { KDesktopFile file( *it, true, "services" ); - if ( file.readBoolEntry("X-KDE-Kded-autoload") ) { + if ( file.readBoolEntry("X-TDE-Kded-autoload") ) { clitem = new CheckListItem(_lvStartup, TQString::null); connect(clitem, TQT_SIGNAL(changed(TQCheckListItem*)), TQT_SLOT(slotItemChecked(TQCheckListItem*))); clitem->setOn(autoloadEnabled(&kdedrc, *it)); @@ -167,13 +167,13 @@ void KDEDConfig::load( bool useDefaults ) { item->setText(1, file.readName()); item->setText(2, file.readComment()); item->setText(3, NOT_RUNNING); - item->setText(4, file.readEntry("X-KDE-Library")); + item->setText(4, file.readEntry("X-TDE-Library")); } - else if ( file.readBoolEntry("X-KDE-Kded-load-on-demand") ) { + else if ( file.readBoolEntry("X-TDE-Kded-load-on-demand") ) { item = new TQListViewItem(_lvLoD, file.readName()); item->setText(1, file.readComment()); item->setText(2, NOT_RUNNING); - item->setText(4, file.readEntry("X-KDE-Library")); + item->setText(4, file.readEntry("X-TDE-Library")); } } } @@ -199,9 +199,9 @@ void KDEDConfig::save() { KConfig file( *it, false, false, "services" ); file.setGroup("Desktop Entry"); - if (file.readBoolEntry("X-KDE-Kded-autoload")){ + if (file.readBoolEntry("X-TDE-Kded-autoload")){ - item = static_cast(_lvStartup->findItem(file.readEntry("X-KDE-Library"),4)); + item = static_cast(_lvStartup->findItem(file.readEntry("X-TDE-Library"),4)); if (item) { // we found a match, now compare and see what changed setAutoloadEnabled(&kdedrc, *it, item->isOn()); -- cgit v1.2.1