summaryrefslogtreecommitdiffstats
path: root/redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch
diff options
context:
space:
mode:
authorFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
committerFrançois Andriot <albator78@libertysurf.fr>2013-06-24 19:50:32 +0200
commitb4359e8bf97799f83dc1ca62744db7cfcc81bc87 (patch)
tree3346872613490cc467c19e1645d0026c1221bce7 /redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch
parent4cc71d79c5718d59078d06c497a56d7c05b41576 (diff)
downloadtde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.tar.gz
tde-packaging-b4359e8bf97799f83dc1ca62744db7cfcc81bc87.zip
RPM Packaging: rename directories
Diffstat (limited to 'redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch')
-rw-r--r--redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch46
1 files changed, 0 insertions, 46 deletions
diff --git a/redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch b/redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch
deleted file mode 100644
index d205ede38..000000000
--- a/redhat/kdenetwork/kdenetwork-3.5.13-fix_html_specialchar_in_kopete_nowlistening.patch
+++ /dev/null
@@ -1,46 +0,0 @@
-commit 0a2892edc380aa11fb5474004e02fd4d86abdec1
-Author: Slávek Banko <slavek.banko@axis.cz>
-Date: 1340214777 +0200
-
- Fix html special chars in kopete nowlistening plugin
- This partially resolves Bug 944
-
-diff --git a/kopete/plugins/nowlistening/nowlisteningplugin.cpp b/kopete/plugins/nowlistening/nowlisteningplugin.cpp
-index a914818..1f1fed5 100644
---- a/kopete/plugins/nowlistening/nowlisteningplugin.cpp
-+++ b/kopete/plugins/nowlistening/nowlisteningplugin.cpp
-@@ -20,6 +20,7 @@
-
- #include <tqtimer.h>
- #include <tqstringlist.h>
-+#include <tqstylesheet.h>
- #include <tqregexp.h>
-
- #include <kdebug.h>
-@@ -189,7 +190,7 @@ void NowListeningPlugin::slotOutgoingMessage(Kopete::Message& msg)
- if(!NowListeningConfig::self()->chatAdvertising())
- return;
-
-- TQString originalBody = msg.plainBody();
-+ TQString originalBody = msg.escapedBody();
-
- // If it is a /media message, don't process it
- if(originalBody.startsWith(NowListeningConfig::self()->header()))
-@@ -222,7 +223,7 @@ void NowListeningPlugin::slotOutgoingMessage(Kopete::Message& msg)
- {
- TQString advert = mediaPlayerAdvert(false); // false since newTrackPlaying() did the update
- if( !advert.isEmpty() )
-- newBody = originalBody + "<br>" + advert;
-+ newBody = originalBody + "<br>" + TQStyleSheet::escape(advert);
-
- // If we send because the information has changed since it was last sent, we must
- // rebuild the list of contacts the latest information was sent to.
-@@ -501,7 +502,7 @@ void NowListeningPlugin::advertiseToChat( Kopete::ChatSession *theChat, TQString
- pl,
- message,
- Kopete::Message::Outbound,
-- Kopete::Message::RichText );
-+ Kopete::Message::PlainText );
- theChat->sendMessage( msg );
- }
-