mirror of
https://github.com/ShareX/ShareX.git
synced 2024-10-01 09:47:22 +13:00
Added StumbleUpon
This commit is contained in:
parent
fd7769d91e
commit
2b25cf7ed3
3 changed files with 640 additions and 635 deletions
1260
ShareX/Forms/MainForm.Designer.cs
generated
1260
ShareX/Forms/MainForm.Designer.cs
generated
File diff suppressed because it is too large
Load diff
|
@ -1069,12 +1069,15 @@ public void ShareURL(string url)
|
|||
case URLSharingServices.LinkedIn:
|
||||
URLHelpers.OpenURL("https://www.linkedin.com/shareArticle?url=" + encodedUrl);
|
||||
break;
|
||||
case URLSharingServices.VK:
|
||||
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl);
|
||||
case URLSharingServices.StumbleUpon:
|
||||
URLHelpers.OpenURL("http://www.stumbleupon.com/submit?url=" + encodedUrl);
|
||||
break;
|
||||
case URLSharingServices.Delicious:
|
||||
URLHelpers.OpenURL("https://delicious.com/save?v=5&url=" + encodedUrl);
|
||||
break;
|
||||
case URLSharingServices.VK:
|
||||
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -160,10 +160,12 @@ public enum URLSharingServices
|
|||
Tumblr,
|
||||
[Description("LinkedIn")]
|
||||
LinkedIn,
|
||||
[Description("VK")]
|
||||
VK,
|
||||
[Description("StumbleUpon")]
|
||||
StumbleUpon,
|
||||
[Description("Delicious")]
|
||||
Delicious
|
||||
Delicious,
|
||||
[Description("VK")]
|
||||
VK
|
||||
}
|
||||
|
||||
public enum HttpMethod
|
||||
|
|
Loading…
Reference in a new issue