mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Code quality changes
This commit is contained in:
parent
f07ed83722
commit
610f45d082
189 changed files with 4609 additions and 5203 deletions
|
@ -24,36 +24,20 @@ using Greenshot.Configuration;
|
|||
using GreenshotPlugin.Core;
|
||||
using Greenshot.Plugin;
|
||||
using Greenshot.Helpers;
|
||||
using Greenshot.IniFile;
|
||||
using log4net;
|
||||
|
||||
namespace Greenshot.Destinations {
|
||||
/// <summary>
|
||||
/// The PickerDestination shows a context menu with all possible destinations, so the user can "pick" one
|
||||
/// </summary>
|
||||
public class PickerDestination : AbstractDestination {
|
||||
private static ILog LOG = LogManager.GetLogger(typeof(PickerDestination));
|
||||
private static CoreConfiguration conf = IniConfig.GetIniSection<CoreConfiguration>();
|
||||
public const string DESIGNATION = "Picker";
|
||||
|
||||
public override string Designation {
|
||||
get {
|
||||
return DESIGNATION;
|
||||
}
|
||||
}
|
||||
public override string Designation => DESIGNATION;
|
||||
|
||||
public override string Description {
|
||||
get {
|
||||
return Language.GetString(LangKey.settings_destination_picker);
|
||||
}
|
||||
}
|
||||
public override string Description => Language.GetString(LangKey.settings_destination_picker);
|
||||
|
||||
public override int Priority => 1;
|
||||
|
||||
public override int Priority {
|
||||
get {
|
||||
return 1;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
/// <summary>
|
||||
/// Export the capture with the destination picker
|
||||
|
@ -68,7 +52,7 @@ namespace Greenshot.Destinations {
|
|||
if ("Picker".Equals(destination.Designation)) {
|
||||
continue;
|
||||
}
|
||||
if (!destination.isActive) {
|
||||
if (!destination.IsActive) {
|
||||
continue;
|
||||
}
|
||||
destinations.Add(destination);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue