RC2, added the version to the support us and help pages, so we can show that the user is using an outdated version.

This commit is contained in:
Robin 2016-11-04 12:48:57 +01:00
commit 8690a6b52b
7 changed files with 13 additions and 6 deletions

View file

@ -31,9 +31,10 @@ namespace Greenshot.Drawing.Fields
/// but has a List of IFieldHolder for children.
/// Field values are passed to and from children as well.
/// </summary>
[Serializable()]
[Serializable]
public abstract class AbstractFieldHolderWithChildren : AbstractFieldHolder
{
[NonSerialized]
private readonly FieldChangedEventHandler _fieldChangedEventHandler;
[NonSerialized]

View file

@ -19,6 +19,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System;
using Greenshot.Configuration;
using Greenshot.IniFile;
using Greenshot.Plugin;
@ -40,6 +41,7 @@ namespace Greenshot.Drawing.Fields
/// Properties that do not apply for ALL selected elements are null (or 0 respectively)
/// If the property values of the selected elements differ, the value of the last bound element wins.
/// </summary>
[Serializable]
public sealed class FieldAggregator : AbstractFieldHolder
{

View file

@ -31,7 +31,7 @@ namespace Greenshot.Drawing.Filters {
/// Subclasses should fulfill INotifyPropertyChanged contract, i.e. call
/// OnPropertyChanged whenever a public property has been changed.
/// </summary>
[Serializable()]
[Serializable]
public abstract class AbstractFilter : AbstractFieldHolder, IFilter {
[NonSerialized]

View file

@ -19,6 +19,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
using System.Reflection;
namespace Greenshot {
partial class AboutForm {
/// <summary>
@ -114,7 +116,7 @@ namespace Greenshot {
this.linkLblBugs.Size = new System.Drawing.Size(465, 23);
this.linkLblBugs.TabIndex = 8;
this.linkLblBugs.TabStop = true;
this.linkLblBugs.Text = "http://getgreenshot.org/tickets/";
this.linkLblBugs.Text = "http://getgreenshot.org/tickets/?version=" + Assembly.GetEntryAssembly().GetName().Version;
this.linkLblBugs.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabelClicked);
//
// lblBugs
@ -132,7 +134,7 @@ namespace Greenshot {
this.linkLblDonations.Size = new System.Drawing.Size(465, 23);
this.linkLblDonations.TabIndex = 10;
this.linkLblDonations.TabStop = true;
this.linkLblDonations.Text = "http://getgreenshot.org/support/";
this.linkLblDonations.Text = "http://getgreenshot.org/support/?version=" + Assembly.GetEntryAssembly().GetName().Version;
this.linkLblDonations.LinkClicked += new System.Windows.Forms.LinkLabelLinkClickedEventHandler(this.LinkLabelClicked);
//
// lblDonations

View file

@ -1006,7 +1006,7 @@ namespace Greenshot {
/// <param name="e"></param>
private void Contextmenu_donateClick(object sender, EventArgs e) {
BeginInvoke((MethodInvoker)delegate {
Process.Start("http://getgreenshot.org/support/");
Process.Start("http://getgreenshot.org/support/?version=" + Assembly.GetEntryAssembly().GetName().Version);
});
}

View file

@ -35,6 +35,8 @@ Fixed bugs:
* BUG-1991 Greenshot portable (PAF) uses wrong log configuration
* BUG-1992 OutputFilePath setting is wrong config used on a different system
* BUG-2011 Editor issues when the font is gone or broken
* BUG-2043 Fixed an issue which occured after wakeup from sleep
* BUG-2059 Reduce the update check interval
Added features:
* FEATURE-916 Added icon save format (capture will be resized to 16x16, 32x32, 48x48 or 256x256)