[Patch] Stop twitter data engine from eating ':' and following text

Ivo Anjo ( [Knuckles] ) knuckles at gmail.com
Sun Jan 13 01:10:56 CET 2008


My second plasma patch, again goes to twitter :)

The twitter data engine receives the text to be sent to the twitter
server in the format "username:text", and splits this string using the
':', but the way this was implemented, if the text contained a ':'
character, all text after it (including the character) would
disappear.

This patch fixes this by splitting the string, obtaining the first
part, and then joining the rest again, ensuring that no text or ':'
characters are omitted.

Keep up the good work, plasma looks cooler every day :)
Ivo Anjo
-------------- next part --------------
A non-text attachment was scrubbed...
Name: twitter_dataengine_colonfix.patch
Type: text/x-patch
Size: 724 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/panel-devel/attachments/20080113/babf5feb/attachment.bin 


More information about the Panel-devel mailing list