mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 05:23:24 -07:00
Cleanup of plugin names and made sure the plugin writer gets credit for his work.
git-svn-id: http://svn.code.sf.net/p/greenshot/code/trunk@1728 7dccd23d-a4a3-4e1f-8c07-b4c1b4018ab4
This commit is contained in:
parent
33eac380ff
commit
9a6bc91c00
14 changed files with 60 additions and 33 deletions
|
@ -40,6 +40,7 @@ using GreenshotPlugin.UnmanagedHelpers;
|
|||
using GreenshotPlugin.Controls;
|
||||
using GreenshotPlugin.Core;
|
||||
using Greenshot.IniFile;
|
||||
using Greenshot.Destinations;
|
||||
|
||||
namespace Greenshot {
|
||||
/// <summary>
|
||||
|
@ -957,12 +958,12 @@ namespace Greenshot {
|
|||
void QuickSettingDestinationChanged(object sender, EventArgs e) {
|
||||
ToolStripMenuSelectListItem item = ((ItemCheckedChangedEventArgs)e).Item;
|
||||
IDestination selectedDestination = (IDestination)item.Data;
|
||||
if (item.Checked && selectedDestination.Designation.Equals("Picker")) {
|
||||
if (item.Checked && selectedDestination.Designation.Equals(PickerDestination.DESIGNATION)) {
|
||||
foreach(ToolStripMenuSelectList ddi in contextmenu_quicksettings.DropDownItems) {
|
||||
if (ddi.Identifier.Equals("destinations")) {
|
||||
foreach(ToolStripMenuSelectListItem dropDownItem in ddi.DropDownItems) {
|
||||
IDestination destination = dropDownItem.Data as IDestination;
|
||||
if (!destination.Designation.Equals("Picker")) {
|
||||
if (!destination.Designation.Equals(PickerDestination.DESIGNATION)) {
|
||||
if (dropDownItem.CheckState == CheckState.Checked) {
|
||||
dropDownItem.CheckState = CheckState.Unchecked;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue