From f20f225f8238c4c5d39ed128344f7e7ba696fa31 Mon Sep 17 00:00:00 2001 From: Darrell Anderson Date: Sat, 2 Mar 2013 23:05:13 -0600 Subject: [PATCH] Remove obsolete Quanta "Missing Apps" links. This resolves bug report 1256. --- quanta/src/quanta_init.cpp | 18 ++++-------------- 1 file changed, 4 insertions(+), 14 deletions(-) diff --git a/quanta/src/quanta_init.cpp b/quanta/src/quanta_init.cpp index 0a4d0262..8a75ceb1 100644 --- a/quanta/src/quanta_init.cpp +++ b/quanta/src/quanta_init.cpp @@ -1391,21 +1391,18 @@ void QuantaInit::checkRuntimeDependencies() Dependency dependency; dependency.name = "Kommander"; dependency.execName = "kmdr-executor"; - dependency.url = "http://kommander.tdewebdev.org"; dependency.description = i18n("various script based dialogs including the Quick Start dialog"); dependency.type = Dependency::Executable; dependencies.append(dependency); dependency.name = "Tidy"; dependency.execName = "tidy"; - dependency.url = "http://tidy.sourceforge.net"; dependency.description = i18n("HTML syntax checking"); dependency.type = Dependency::Executable; dependencies.append(dependency); dependency.name = "Kompare"; dependency.execName = "kompare"; - dependency.url = "http://bruggie.dnsalias.org/kompare"; dependency.description = i18n("comparing of files by content"); dependency.type = Dependency::Executable; dependencies.append(dependency); @@ -1413,28 +1410,24 @@ void QuantaInit::checkRuntimeDependencies() dependency.name = i18n("Control Center (tdebase)"); dependency.execName = "tdecmshell"; - dependency.url = "http://www.kde.org"; dependency.description = i18n("preview browser configuration"); dependency.type = Dependency::Executable; dependencies.append(dependency); dependency.name = "GPG (OpenPGP)"; dependency.execName = "gpg"; - dependency.url = "http://www.gnupg.de"; dependency.description = i18n("preview browser configuration"); dependency.type = Dependency::Executable; dependencies.append(dependency); dependency.name = "KFileReplace"; dependency.execName = "KFileReplace"; - dependency.url = "http://tdefilereplace.tdewebdev.org"; dependency.description = i18n("search and replace in files"); dependency.type = Dependency::Plugin; dependencies.append(dependency); dependency.name = "KXSLDbg"; dependency.execName = "XSLT Debugger"; - dependency.url = "http://xsldbg.sourceforge.net/"; dependency.description = i18n("XSLT debugging"); dependency.type = Dependency::Plugin; dependencies.append(dependency); @@ -1442,7 +1435,6 @@ void QuantaInit::checkRuntimeDependencies() dependency.name = "KImageMapEditor"; dependency.execName = "KImageMapEditor"; - dependency.url = "http://www.nongnu.org/kimagemap/"; dependency.description = i18n("editing HTML image maps"); dependency.type = Dependency::Plugin; dependencies.append(dependency); @@ -1450,33 +1442,31 @@ void QuantaInit::checkRuntimeDependencies() dependency.name = "KLinkStatus"; dependency.execName = "Link Checker"; - dependency.url = "http://kde-apps.org/content/show.php?content=12318"; dependency.description = i18n("link validity checking"); dependency.type = Dependency::Plugin; dependencies.append(dependency); dependency.name = "Cervisia"; dependency.execName = "CVS Management (Cervisia)"; - dependency.url = "http://www.kde.org/apps/cervisia"; dependency.description = i18n("CVS management plugin"); dependency.type = Dependency::Plugin; dependencies.append(dependency); TQString errorStr; - TQString stdErrorMsg = i18n("
- %1 [%2] - %3 will not be available;"); + TQString stdErrorMsg = i18n("
- %1 [%2] will not be available;"); for (TQValueList::ConstIterator it = dependencies.constBegin(); it != dependencies.constEnd(); ++it) { dependency = *it; if (dependency.type == Dependency::Executable) { if (TDEStandardDirs::findExe(dependency.execName).isNull()) - errorStr += TQString(stdErrorMsg).arg(dependency.name).arg(dependency.url).arg(dependency.description); + errorStr += TQString(stdErrorMsg).arg(dependency.name).arg(dependency.description); } else if (dependency.type == Dependency::Plugin) { if (!QuantaPlugin::validatePlugin(m_quanta->m_pluginInterface->plugin(dependency.execName))) - errorStr += TQString(stdErrorMsg).arg(dependency.name).arg(dependency.url).arg(dependency.description); + errorStr += TQString(stdErrorMsg).arg(dependency.name).arg(dependency.description); } } @@ -1505,7 +1495,7 @@ void QuantaInit::checkRuntimeDependencies() { m_quanta->slotHideSplash(); errorStr[errorStr.length() - 1] = '.'; - KMessageBox::information(m_quanta, "" + i18n("Some applications required for full functionality are missing:
") + errorStr + i18n("

You may download the applications from the specified locations.
"), i18n("Missing Applications"), "RuntimeDependencyCheck"); + KMessageBox::information(m_quanta, "" + i18n("Some applications required for full functionality are missing or installed incorrectly:
") + errorStr + i18n("

Please verify the package contents.
"), i18n("Missing Applications"), "RuntimeDependencyCheck"); } }