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:
RKrom 2012-08-16 16:03:32 +00:00
parent e5e6b3bd43
commit 0ee25e8cac
4 changed files with 24 additions and 13 deletions

View file

@ -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;