summaryrefslogtreecommitdiffstats
path: root/kate/part
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2014-01-09 00:24:34 +0100
committerSlávek Banko <slavek.banko@axis.cz>2014-01-09 00:24:34 +0100
commitbf4e405e03859bf383f55715944f4f71bd338c34 (patch)
tree293783d05c079b477b9ef396bbd851ca01714e2d /kate/part
parentc5189a79b8621b38b53e3cec952d49630e16dd3a (diff)
downloadtdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.tar.gz
tdelibs-bf4e405e03859bf383f55715944f4f71bd338c34.zip
Update kate syntax highlight files
Diffstat (limited to 'kate/part')
-rw-r--r--kate/part/katedialogs.cpp9
-rw-r--r--kate/part/katefactory.cpp2
2 files changed, 3 insertions, 8 deletions
diff --git a/kate/part/katedialogs.cpp b/kate/part/katedialogs.cpp
index 1b8ce89eb..d5b5b91db 100644
--- a/kate/part/katedialogs.cpp
+++ b/kate/part/katedialogs.cpp
@@ -108,8 +108,7 @@
#include <tqwhatsthis.h>
#include <tqwidgetstack.h>
-// trailing slash is important
-#define HLDOWNLOADPATH "http://kate.kde.org/syntax/"
+#define HLDOWNLOADPATH "http://git.trinitydesktop.org/cgit/tdelibs/plain/kate/data/update-files.xml"
//END
@@ -1453,11 +1452,7 @@ KateHlDownloadDialog::KateHlDownloadDialog(TQWidget *parent, const char *name, b
new TQLabel(i18n("<b>Note:</b> New versions are selected automatically."), vbox);
actionButton (User1)->setIconSet(SmallIconSet("ok"));
- transferJob = TDEIO::get(
- KURL(TQString(HLDOWNLOADPATH)
- + TQString("update-")
- + TQString(KATEPART_VERSION)
- + TQString(".xml")), true, true );
+ transferJob = TDEIO::get(KURL(TQString(HLDOWNLOADPATH)), true, true);
connect(transferJob, TQT_SIGNAL(data(TDEIO::Job *, const TQByteArray &)),
this, TQT_SLOT(listDataReceived(TDEIO::Job *, const TQByteArray &)));
// void data( TDEIO::Job *, const TQByteArray &data);
diff --git a/kate/part/katefactory.cpp b/kate/part/katefactory.cpp
index d6a9e0d59..32ff35846 100644
--- a/kate/part/katefactory.cpp
+++ b/kate/part/katefactory.cpp
@@ -69,7 +69,7 @@ KateFactory *KateFactory::s_self = 0;
KateFactory::KateFactory ()
: m_aboutData ("katepart", I18N_NOOP("Kate Part"), KATEPART_VERSION,
I18N_NOOP( "Embeddable editor component" ), TDEAboutData::License_LGPL_V2,
- I18N_NOOP( "(c) 2000-2004 The Kate Authors" ), 0, "http://kate.kde.org")
+ I18N_NOOP( "(c) 2000-2004 The Kate Authors" ), 0, "http://kate-editor.org/")
, m_instance (&m_aboutData)
, m_plugins (TDETrader::self()->query("KTextEditor/Plugin"))
, m_jscript (0)