summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-21 18:19:17 -0500
committerTimothy Pearson <kb9vqf@pearsoncomputing.net>2014-09-21 18:19:17 -0500
commit5d2b928c87745fb676f87070a2c0aea66b4fde9a (patch)
treeac9b5b0cdbfddfd13f3842c63b91431ee90c067b
parent6d8d7bc0070aea8a420b66e910d6c3d420d353f4 (diff)
downloadtdebase-5d2b928c87745fb676f87070a2c0aea66b4fde9a.tar.gz
tdebase-5d2b928c87745fb676f87070a2c0aea66b4fde9a.zip
Use TDE data source for Kate and KDesktop new stuff
This relates to Bug 2093
-rw-r--r--kate/data/katerc4
-rw-r--r--kcontrol/background/bgdialog.cpp8
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 <twin.h>
#include <twinmodule.h>
#include <kimagefilepreview.h>
-#include <knewstuff/downloaddialog.h>
+#include <tdenewstuff/downloaddialog.h>
#include <stdlib.h>
@@ -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();
}