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:
|
case URLSharingServices.LinkedIn:
|
||||||
URLHelpers.OpenURL("https://www.linkedin.com/shareArticle?url=" + encodedUrl);
|
URLHelpers.OpenURL("https://www.linkedin.com/shareArticle?url=" + encodedUrl);
|
||||||
break;
|
break;
|
||||||
case URLSharingServices.VK:
|
case URLSharingServices.StumbleUpon:
|
||||||
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl);
|
URLHelpers.OpenURL("http://www.stumbleupon.com/submit?url=" + encodedUrl);
|
||||||
break;
|
break;
|
||||||
case URLSharingServices.Delicious:
|
case URLSharingServices.Delicious:
|
||||||
URLHelpers.OpenURL("https://delicious.com/save?v=5&url=" + encodedUrl);
|
URLHelpers.OpenURL("https://delicious.com/save?v=5&url=" + encodedUrl);
|
||||||
break;
|
break;
|
||||||
|
case URLSharingServices.VK:
|
||||||
|
URLHelpers.OpenURL("http://vk.com/share.php?url=" + encodedUrl);
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -160,10 +160,12 @@ public enum URLSharingServices
|
||||||
Tumblr,
|
Tumblr,
|
||||||
[Description("LinkedIn")]
|
[Description("LinkedIn")]
|
||||||
LinkedIn,
|
LinkedIn,
|
||||||
[Description("VK")]
|
[Description("StumbleUpon")]
|
||||||
VK,
|
StumbleUpon,
|
||||||
[Description("Delicious")]
|
[Description("Delicious")]
|
||||||
Delicious
|
Delicious,
|
||||||
|
[Description("VK")]
|
||||||
|
VK
|
||||||
}
|
}
|
||||||
|
|
||||||
public enum HttpMethod
|
public enum HttpMethod
|
||||||
|
|
Loading…
Reference in a new issue