Bug 179546 - Pastebin applet: support for Imageshack.us
Summary: Pastebin applet: support for Imageshack.us
Status: RESOLVED FIXED
Alias: None
Product: plasma4
Classification: Unclassified
Component: widget-misc (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR wishlist (vote)
Target Milestone: ---
Assignee: Artur Souza (MoRpHeUz)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-03 21:39 UTC by Michal Ziabkowski
Modified: 2009-01-08 19:59 UTC (History)
2 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Adds support for Imageshack.us to Pastebin applet (9.73 KB, application/octet-stream)
2009-01-03 21:40 UTC, Michal Ziabkowski
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michal Ziabkowski 2009-01-03 21:39:14 UTC
Version:            (using Devel)
OS:                Linux
Installed from:    Compiled sources

Seeing that the Pastebin applet is pretty handy, I took a stab at implementing support for Imageshack.us and it seems to work :) Attaching patch. It's mostly a copy-paste of the Imagebin backend, with some code-duplication of the original code.
Comment 1 Michal Ziabkowski 2009-01-03 21:40:09 UTC
Created attachment 29873 [details]
Adds support for Imageshack.us to Pastebin applet
Comment 2 Aaron J. Seigo 2009-01-03 23:13:35 UTC
cool; this introduces new strings and is a feature, so will have to wait until trunk re-opens for features (another week or so). CC'ing Artur since he's been working on this plasmoid and will probably remember this better than i will ;)
Comment 3 Artur Souza (MoRpHeUz) 2009-01-08 19:59:10 UTC
SVN commit 907807 by asouza:

Adding support for Imageshack.us as image backend on pastebin applet

Patch by Michal Ziabkowski (mziab@o2.pl) - thanks ;)
There is a lot of code duplication here what means that we can make the
basic image backend better. This will be done asap.

BUG:179546


 M  +1 -0      CMakeLists.txt  
 M  +1 -0      backends/backends.h  
 A             backends/imageshack.cpp   [License: GPL (v2+)]
 A             backends/imageshack.h   [License: GPL (v2+)]
 M  +4 -0      pastebin.cpp  
 M  +1 -1      pastebin.h  
 M  +5 -0      pastebinConfig.ui  


WebSVN link: http://websvn.kde.org/?view=rev&revision=907807