mirror of
https://github.com/greenshot/greenshot
synced 2025-07-14 09:03:44 -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));
|
CaptureHelper.CaptureFile(conf.OutputFileAsFullpath, DestinationHelper.GetDestination(EditorDestination.DESIGNATION));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
default:
|
case LeftClickActions.CONTEXT_MENU:
|
||||||
MethodInfo oMethodInfo = typeof(NotifyIcon).GetMethod("ShowContextMenu", BindingFlags.Instance | BindingFlags.NonPublic);
|
MethodInfo oMethodInfo = typeof(NotifyIcon).GetMethod("ShowContextMenu", BindingFlags.Instance | BindingFlags.NonPublic);
|
||||||
oMethodInfo.Invoke(notifyIcon, null);
|
oMethodInfo.Invoke(notifyIcon, null);
|
||||||
break;
|
break;
|
||||||
|
default:
|
||||||
|
// Do nothing
|
||||||
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -43,6 +43,13 @@ namespace GreenshotPlugin.Core {
|
||||||
RELEASE
|
RELEASE
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public enum LeftClickActions {
|
||||||
|
NOTHING,
|
||||||
|
OPEN_LAST_IN_EXPLORER,
|
||||||
|
OPEN_LAST_IN_EDITOR,
|
||||||
|
CONTEXT_MENU
|
||||||
|
}
|
||||||
|
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Description of CoreConfiguration.
|
/// Description of CoreConfiguration.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
|
@ -206,6 +213,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")]
|
[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;
|
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
|
// Specifies what THIS build is
|
||||||
public BuildStates BuildState = BuildStates.UNSTABLE;
|
public BuildStates BuildState = BuildStates.UNSTABLE;
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue