From 5d2b928c87745fb676f87070a2c0aea66b4fde9a Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Sun, 21 Sep 2014 18:19:17 -0500 Subject: [PATCH] Use TDE data source for Kate and KDesktop new stuff This relates to Bug 2093 --- kate/data/katerc | 4 ++-- kcontrol/background/bgdialog.cpp | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/kate/data/katerc b/kate/data/katerc index 331a30496..0585097ff 100644 --- a/kate/data/katerc +++ b/kate/data/katerc @@ -1,2 +1,2 @@ -[KNewStuff] -ProvidersUrl=http://kate.kde.org/share/providers.xml \ No newline at end of file +[TDENewStuff] +ProvidersUrl=https://www.trinitydesktop.org/ocs/providers.xml diff --git a/kcontrol/background/bgdialog.cpp b/kcontrol/background/bgdialog.cpp index c221a50fe..b2f825184 100644 --- a/kcontrol/background/bgdialog.cpp +++ b/kcontrol/background/bgdialog.cpp @@ -55,7 +55,7 @@ #include #include #include -#include +#include #include @@ -1252,12 +1252,12 @@ void BGDialog::slotGetNewStuff() //should really be in a .rc file but could be either //tdecmshellrc or kcontrolrc TDEConfig* config = TDEGlobal::config(); - config->setGroup("KNewStuff"); - config->writeEntry( "ProvidersUrl", "http://download.kde.org/khotnewstuff/wallpaper-providers.xml" ); + config->setGroup("TDENewStuff"); + config->writeEntry( "ProvidersUrl", "https://www.trinitydesktop.org/ocs/providers.xml" ); config->writeEntry( "StandardResource", "wallpaper" ); config->sync(); - KNS::DownloadDialog::open("wallpapers", i18n("Get New Wallpapers")); + KNS::DownloadDialog::open("wallpaper", i18n("Get New Wallpapers")); loadWallpaperFilesList(); }