mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 00:53:51 -07:00
Forgot to commit files.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@2328 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
2a26be0a37
commit
f6b944048b
2 changed files with 14 additions and 1 deletions
|
@ -1119,10 +1119,13 @@ namespace Greenshot {
|
|||
CaptureHelper.CaptureFile(conf.OutputFileAsFullpath, DestinationHelper.GetDestination(EditorDestination.DESIGNATION));
|
||||
}
|
||||
break;
|
||||
default:
|
||||
case LeftClickActions.CONTEXT_MENU:
|
||||
MethodInfo oMethodInfo = typeof(NotifyIcon).GetMethod("ShowContextMenu", BindingFlags.Instance | BindingFlags.NonPublic);
|
||||
oMethodInfo.Invoke(notifyIcon, null);
|
||||
break;
|
||||
default:
|
||||
// Do nothing
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -42,6 +42,13 @@ namespace GreenshotPlugin.Core {
|
|||
RELEASE_CANDIDATE,
|
||||
RELEASE
|
||||
}
|
||||
|
||||
public enum LeftClickActions {
|
||||
NOTHING,
|
||||
OPEN_LAST_IN_EXPLORER,
|
||||
OPEN_LAST_IN_EDITOR,
|
||||
CONTEXT_MENU
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
/// Description of CoreConfiguration.
|
||||
|
@ -205,6 +212,9 @@ namespace GreenshotPlugin.Core {
|
|||
|
||||
[IniProperty("WindowCornerCutShape", Description = "The cutshape which is used to remove the window corners, is mirrorred for all corners", DefaultValue = "5,3,2,1,1")]
|
||||
public List<int> WindowCornerCutShape;
|
||||
|
||||
[IniProperty("LeftClickAction", Description = "Specify what action is made if the tray icon is left clicked", DefaultValue = "CONTEXT_MENU")]
|
||||
public LeftClickActions LeftClickAction;
|
||||
|
||||
// Specifies what THIS build is
|
||||
public BuildStates BuildState = BuildStates.UNSTABLE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue