mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 02:37:03 -07:00
Some oAuth fixes for Imgur & Photobucket. Still having problems with Photobucket...
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2026 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
daf24cdca0
commit
f447fb8b72
11 changed files with 165 additions and 118 deletions
|
@ -157,11 +157,13 @@ namespace GreenshotImgurPlugin {
|
|||
|
||||
imgurInfo.Image = ImageHelper.CreateThumbnail(image, 90, 90);
|
||||
IniConfig.Save();
|
||||
uploadURL = imgurInfo.Page;
|
||||
uploadURL = null;
|
||||
try {
|
||||
if (config.UsePageLink) {
|
||||
uploadURL = imgurInfo.Page;
|
||||
Clipboard.SetText(imgurInfo.Page);
|
||||
} else {
|
||||
uploadURL = imgurInfo.Original;
|
||||
Clipboard.SetText(imgurInfo.Original);
|
||||
}
|
||||
} catch (Exception ex) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue