mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 14:03:23 -07:00
Added "credits left" for Imgur to the form, this might give us a better idea of why the upload sometimes takes so long.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2006 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
e654c38eb8
commit
480b32f586
4 changed files with 27 additions and 2 deletions
|
@ -31,7 +31,7 @@ namespace GreenshotImgurPlugin {
|
|||
/// <summary>
|
||||
/// Description of ImgurHistory.
|
||||
/// </summary>
|
||||
public partial class ImgurHistory : Form {
|
||||
public partial class ImgurHistory : ImgurForm {
|
||||
private static readonly log4net.ILog LOG = log4net.LogManager.GetLogger(typeof(ImgurHistory));
|
||||
private GreenshotColumnSorter columnSorter;
|
||||
private static ImgurConfiguration config = IniConfig.GetIniSection<ImgurConfiguration>();
|
||||
|
@ -48,6 +48,7 @@ namespace GreenshotImgurPlugin {
|
|||
}
|
||||
|
||||
private ImgurHistory() {
|
||||
this.ManualLanguageApply = true;
|
||||
//
|
||||
// The InitializeComponent() call is required for Windows Forms designer support.
|
||||
//
|
||||
|
@ -63,6 +64,10 @@ namespace GreenshotImgurPlugin {
|
|||
if (listview_imgur_uploads.Items.Count > 0) {
|
||||
listview_imgur_uploads.Items[0].Selected = true;
|
||||
}
|
||||
ApplyLanguage();
|
||||
if (config.Credits > 0) {
|
||||
this.Text = this.Text + " (" + config.Credits + " credits)";
|
||||
}
|
||||
}
|
||||
|
||||
private void redraw() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue