mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
ContextMenu changes for the IE capture and plug-ins
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1997 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
e5e6b3bd43
commit
0ee25e8cac
4 changed files with 24 additions and 13 deletions
|
@ -105,8 +105,11 @@ namespace GreenshotPlugin.Core {
|
|||
// Check if we need to add a new separator, which is done if the first found has a Tag with the value "PluginsAreAddedBefore"
|
||||
if ("PluginsAreAddedBefore".Equals(contextMenu.Items[i].Tag)) {
|
||||
ToolStripSeparator separator = new ToolStripSeparator();
|
||||
separator.Tag = "PluginsAreAddedAfter";
|
||||
separator.Size = new Size(305, 6);
|
||||
contextMenu.Items.Insert(i, separator);
|
||||
} else if (!"PluginsAreAddedAfter".Equals(contextMenu.Items[i].Tag)) {
|
||||
continue;
|
||||
}
|
||||
contextMenu.Items.Insert(i + 1, item);
|
||||
addedItem = true;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue