From bf4e405e03859bf383f55715944f4f71bd338c34 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Thu, 9 Jan 2014 00:24:34 +0100 Subject: Update kate syntax highlight files --- kate/part/katedialogs.cpp | 9 ++------- kate/part/katefactory.cpp | 2 +- 2 files changed, 3 insertions(+), 8 deletions(-) (limited to 'kate/part') 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 #include -// 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("Note: 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) -- cgit v1.2.3