mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Added a "check for unstable" updates checkbox in the expert settings, as suggested in Feature Request #3527216
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1856 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
3e82b268e1
commit
f686a6d568
4 changed files with 36 additions and 17 deletions
42
Greenshot/Forms/SettingsForm.Designer.cs
generated
42
Greenshot/Forms/SettingsForm.Designer.cs
generated
|
@ -124,6 +124,7 @@ namespace Greenshot {
|
||||||
this.button_pluginconfigure = new GreenshotPlugin.Controls.GreenshotButton();
|
this.button_pluginconfigure = new GreenshotPlugin.Controls.GreenshotButton();
|
||||||
this.tab_expert = new GreenshotPlugin.Controls.GreenshotTabPage();
|
this.tab_expert = new GreenshotPlugin.Controls.GreenshotTabPage();
|
||||||
this.groupbox_expert = new GreenshotPlugin.Controls.GreenshotGroupBox();
|
this.groupbox_expert = new GreenshotPlugin.Controls.GreenshotGroupBox();
|
||||||
|
this.checkbox_suppresssavedialogatclose = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
||||||
this.label_counter = new GreenshotPlugin.Controls.GreenshotLabel();
|
this.label_counter = new GreenshotPlugin.Controls.GreenshotLabel();
|
||||||
this.textbox_counter = new GreenshotPlugin.Controls.GreenshotTextBox();
|
this.textbox_counter = new GreenshotPlugin.Controls.GreenshotTextBox();
|
||||||
this.label_footerpattern = new GreenshotPlugin.Controls.GreenshotLabel();
|
this.label_footerpattern = new GreenshotPlugin.Controls.GreenshotLabel();
|
||||||
|
@ -135,7 +136,7 @@ namespace Greenshot {
|
||||||
this.checkbox_enableexpert = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
this.checkbox_enableexpert = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
||||||
this.listview_clipboardformats = new System.Windows.Forms.ListView();
|
this.listview_clipboardformats = new System.Windows.Forms.ListView();
|
||||||
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
this.columnHeader1 = ((System.Windows.Forms.ColumnHeader)(new System.Windows.Forms.ColumnHeader()));
|
||||||
this.checkbox_suppresssavedialogatclose = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
this.checkbox_checkunstableupdates = new GreenshotPlugin.Controls.GreenshotCheckBox();
|
||||||
this.groupbox_preferredfilesettings.SuspendLayout();
|
this.groupbox_preferredfilesettings.SuspendLayout();
|
||||||
this.groupbox_applicationsettings.SuspendLayout();
|
this.groupbox_applicationsettings.SuspendLayout();
|
||||||
this.groupbox_qualitysettings.SuspendLayout();
|
this.groupbox_qualitysettings.SuspendLayout();
|
||||||
|
@ -1037,6 +1038,7 @@ namespace Greenshot {
|
||||||
//
|
//
|
||||||
// groupbox_expert
|
// groupbox_expert
|
||||||
//
|
//
|
||||||
|
this.groupbox_expert.Controls.Add(this.checkbox_checkunstableupdates);
|
||||||
this.groupbox_expert.Controls.Add(this.checkbox_suppresssavedialogatclose);
|
this.groupbox_expert.Controls.Add(this.checkbox_suppresssavedialogatclose);
|
||||||
this.groupbox_expert.Controls.Add(this.label_counter);
|
this.groupbox_expert.Controls.Add(this.label_counter);
|
||||||
this.groupbox_expert.Controls.Add(this.textbox_counter);
|
this.groupbox_expert.Controls.Add(this.textbox_counter);
|
||||||
|
@ -1056,6 +1058,17 @@ namespace Greenshot {
|
||||||
this.groupbox_expert.TabStop = false;
|
this.groupbox_expert.TabStop = false;
|
||||||
this.groupbox_expert.Text = "Expert";
|
this.groupbox_expert.Text = "Expert";
|
||||||
//
|
//
|
||||||
|
// checkbox_suppresssavedialogatclose
|
||||||
|
//
|
||||||
|
this.checkbox_suppresssavedialogatclose.LanguageKey = "expertsettings_suppresssavedialogatclose";
|
||||||
|
this.checkbox_suppresssavedialogatclose.Location = new System.Drawing.Point(10, 182);
|
||||||
|
this.checkbox_suppresssavedialogatclose.Name = "checkbox_suppresssavedialogatclose";
|
||||||
|
this.checkbox_suppresssavedialogatclose.PropertyName = "SuppressSaveDialogAtClose";
|
||||||
|
this.checkbox_suppresssavedialogatclose.SectionName = "Editor";
|
||||||
|
this.checkbox_suppresssavedialogatclose.Size = new System.Drawing.Size(394, 24);
|
||||||
|
this.checkbox_suppresssavedialogatclose.TabIndex = 28;
|
||||||
|
this.checkbox_suppresssavedialogatclose.UseVisualStyleBackColor = true;
|
||||||
|
//
|
||||||
// label_counter
|
// label_counter
|
||||||
//
|
//
|
||||||
this.label_counter.AutoSize = true;
|
this.label_counter.AutoSize = true;
|
||||||
|
@ -1095,7 +1108,7 @@ namespace Greenshot {
|
||||||
// checkbox_thumbnailpreview
|
// checkbox_thumbnailpreview
|
||||||
//
|
//
|
||||||
this.checkbox_thumbnailpreview.LanguageKey = "expertsettings_thumbnailpreview";
|
this.checkbox_thumbnailpreview.LanguageKey = "expertsettings_thumbnailpreview";
|
||||||
this.checkbox_thumbnailpreview.Location = new System.Drawing.Point(10, 185);
|
this.checkbox_thumbnailpreview.Location = new System.Drawing.Point(10, 163);
|
||||||
this.checkbox_thumbnailpreview.Name = "checkbox_thumbnailpreview";
|
this.checkbox_thumbnailpreview.Name = "checkbox_thumbnailpreview";
|
||||||
this.checkbox_thumbnailpreview.PropertyName = "ThumnailPreview";
|
this.checkbox_thumbnailpreview.PropertyName = "ThumnailPreview";
|
||||||
this.checkbox_thumbnailpreview.Size = new System.Drawing.Size(394, 24);
|
this.checkbox_thumbnailpreview.Size = new System.Drawing.Size(394, 24);
|
||||||
|
@ -1106,7 +1119,7 @@ namespace Greenshot {
|
||||||
// checkbox_optimizeforrdp
|
// checkbox_optimizeforrdp
|
||||||
//
|
//
|
||||||
this.checkbox_optimizeforrdp.LanguageKey = "expertsettings_optimizeforrdp";
|
this.checkbox_optimizeforrdp.LanguageKey = "expertsettings_optimizeforrdp";
|
||||||
this.checkbox_optimizeforrdp.Location = new System.Drawing.Point(10, 166);
|
this.checkbox_optimizeforrdp.Location = new System.Drawing.Point(10, 144);
|
||||||
this.checkbox_optimizeforrdp.Name = "checkbox_optimizeforrdp";
|
this.checkbox_optimizeforrdp.Name = "checkbox_optimizeforrdp";
|
||||||
this.checkbox_optimizeforrdp.PropertyName = "OptimizeForRDP";
|
this.checkbox_optimizeforrdp.PropertyName = "OptimizeForRDP";
|
||||||
this.checkbox_optimizeforrdp.Size = new System.Drawing.Size(394, 24);
|
this.checkbox_optimizeforrdp.Size = new System.Drawing.Size(394, 24);
|
||||||
|
@ -1117,7 +1130,7 @@ namespace Greenshot {
|
||||||
// checkbox_autoreducecolors
|
// checkbox_autoreducecolors
|
||||||
//
|
//
|
||||||
this.checkbox_autoreducecolors.LanguageKey = "expertsettings_autoreducecolors";
|
this.checkbox_autoreducecolors.LanguageKey = "expertsettings_autoreducecolors";
|
||||||
this.checkbox_autoreducecolors.Location = new System.Drawing.Point(10, 147);
|
this.checkbox_autoreducecolors.Location = new System.Drawing.Point(10, 125);
|
||||||
this.checkbox_autoreducecolors.Name = "checkbox_autoreducecolors";
|
this.checkbox_autoreducecolors.Name = "checkbox_autoreducecolors";
|
||||||
this.checkbox_autoreducecolors.PropertyName = "OutputFileAutoReduceColors";
|
this.checkbox_autoreducecolors.PropertyName = "OutputFileAutoReduceColors";
|
||||||
this.checkbox_autoreducecolors.Size = new System.Drawing.Size(394, 24);
|
this.checkbox_autoreducecolors.Size = new System.Drawing.Size(394, 24);
|
||||||
|
@ -1158,7 +1171,7 @@ namespace Greenshot {
|
||||||
this.listview_clipboardformats.Location = new System.Drawing.Point(109, 44);
|
this.listview_clipboardformats.Location = new System.Drawing.Point(109, 44);
|
||||||
this.listview_clipboardformats.Name = "listview_clipboardformats";
|
this.listview_clipboardformats.Name = "listview_clipboardformats";
|
||||||
this.listview_clipboardformats.ShowGroups = false;
|
this.listview_clipboardformats.ShowGroups = false;
|
||||||
this.listview_clipboardformats.Size = new System.Drawing.Size(291, 97);
|
this.listview_clipboardformats.Size = new System.Drawing.Size(291, 80);
|
||||||
this.listview_clipboardformats.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
this.listview_clipboardformats.Sorting = System.Windows.Forms.SortOrder.Ascending;
|
||||||
this.listview_clipboardformats.TabIndex = 0;
|
this.listview_clipboardformats.TabIndex = 0;
|
||||||
this.listview_clipboardformats.UseCompatibleStateImageBehavior = false;
|
this.listview_clipboardformats.UseCompatibleStateImageBehavior = false;
|
||||||
|
@ -1169,17 +1182,15 @@ namespace Greenshot {
|
||||||
this.columnHeader1.Text = "Destination";
|
this.columnHeader1.Text = "Destination";
|
||||||
this.columnHeader1.Width = 280;
|
this.columnHeader1.Width = 280;
|
||||||
//
|
//
|
||||||
// checkbox_suppresssavedialogatclose
|
// checkbox_checkunstableupdates
|
||||||
//
|
//
|
||||||
this.checkbox_suppresssavedialogatclose.LanguageKey = "expertsettings_suppresssavedialogatclose";
|
this.checkbox_checkunstableupdates.LanguageKey = "expertsettings_checkunstableupdates";
|
||||||
this.checkbox_suppresssavedialogatclose.Location = new System.Drawing.Point(10, 204);
|
this.checkbox_checkunstableupdates.Location = new System.Drawing.Point(10, 201);
|
||||||
this.checkbox_suppresssavedialogatclose.Name = "checkbox_suppresssavedialogatclose";
|
this.checkbox_checkunstableupdates.Name = "checkbox_checkunstableupdates";
|
||||||
this.checkbox_suppresssavedialogatclose.PropertyName = "SuppressSaveDialogAtClose";
|
this.checkbox_checkunstableupdates.PropertyName = "CheckUnstable";
|
||||||
this.checkbox_suppresssavedialogatclose.SectionName = "Editor";
|
this.checkbox_checkunstableupdates.Size = new System.Drawing.Size(394, 24);
|
||||||
this.checkbox_suppresssavedialogatclose.Size = new System.Drawing.Size(394, 24);
|
this.checkbox_checkunstableupdates.TabIndex = 29;
|
||||||
this.checkbox_suppresssavedialogatclose.TabIndex = 28;
|
this.checkbox_checkunstableupdates.UseVisualStyleBackColor = true;
|
||||||
this.checkbox_suppresssavedialogatclose.Text = "Suppress save dialog when closing the editor";
|
|
||||||
this.checkbox_suppresssavedialogatclose.UseVisualStyleBackColor = true;
|
|
||||||
//
|
//
|
||||||
// SettingsForm
|
// SettingsForm
|
||||||
//
|
//
|
||||||
|
@ -1319,5 +1330,6 @@ namespace Greenshot {
|
||||||
private GreenshotPlugin.Controls.GreenshotTextBox textbox_counter;
|
private GreenshotPlugin.Controls.GreenshotTextBox textbox_counter;
|
||||||
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_reducecolors;
|
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_reducecolors;
|
||||||
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_suppresssavedialogatclose;
|
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_suppresssavedialogatclose;
|
||||||
|
private GreenshotPlugin.Controls.GreenshotCheckBox checkbox_checkunstableupdates;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -487,6 +487,7 @@ namespace Greenshot {
|
||||||
textbox_footerpattern.Enabled = state;
|
textbox_footerpattern.Enabled = state;
|
||||||
textbox_counter.Enabled = state;
|
textbox_counter.Enabled = state;
|
||||||
checkbox_suppresssavedialogatclose.Enabled = state;
|
checkbox_suppresssavedialogatclose.Enabled = state;
|
||||||
|
checkbox_checkunstableupdates.Enabled = state;
|
||||||
}
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
|
|
|
@ -658,6 +658,9 @@ time, e.g. 11_58_32 (plus extension defined in the settings)
|
||||||
<resource name="expertsettings_optimizeforrdp">
|
<resource name="expertsettings_optimizeforrdp">
|
||||||
Make some optimizations for usage with remote desktop
|
Make some optimizations for usage with remote desktop
|
||||||
</resource>
|
</resource>
|
||||||
|
<resource name="expertsettings_checkunstableupdates">
|
||||||
|
Check for unstable updates
|
||||||
|
</resource>
|
||||||
<resource name="expertsettings_thumbnailpreview">
|
<resource name="expertsettings_thumbnailpreview">
|
||||||
Show window thumbnails in context menu (for Vista and windows 7)
|
Show window thumbnails in context menu (for Vista and windows 7)
|
||||||
</resource>
|
</resource>
|
||||||
|
|
|
@ -172,6 +172,11 @@ namespace GreenshotPlugin.Core {
|
||||||
[IniProperty("OptimizeForRDP", Description="Make some optimizations for usage with remote desktop", DefaultValue="False")]
|
[IniProperty("OptimizeForRDP", Description="Make some optimizations for usage with remote desktop", DefaultValue="False")]
|
||||||
public bool OptimizeForRDP;
|
public bool OptimizeForRDP;
|
||||||
|
|
||||||
|
|
||||||
|
// change to false for releases
|
||||||
|
[IniProperty("CheckUnstable", Description = "Also check for unstable version updates", DefaultValue = "False")]
|
||||||
|
public bool CheckUnstable;
|
||||||
|
|
||||||
[IniProperty("ActiveTitleFixes", Description="The fixes that are active.")]
|
[IniProperty("ActiveTitleFixes", Description="The fixes that are active.")]
|
||||||
public List<string> ActiveTitleFixes;
|
public List<string> ActiveTitleFixes;
|
||||||
|
|
||||||
|
@ -235,8 +240,6 @@ namespace GreenshotPlugin.Core {
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
// change to false for releases
|
|
||||||
public bool CheckUnstable = true;
|
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Supply values we can't put as defaults
|
/// Supply values we can't put as defaults
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue