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
|
@ -25,6 +25,7 @@ using System.IO;
|
|||
using System.Windows.Forms;
|
||||
|
||||
using Greenshot.Configuration;
|
||||
using Greenshot.Destinations;
|
||||
using Greenshot.Helpers;
|
||||
using GreenshotPlugin.Controls;
|
||||
using GreenshotPlugin.Core;
|
||||
|
@ -133,7 +134,7 @@ namespace Greenshot {
|
|||
listview_plugins.BeginUpdate();
|
||||
listview_plugins.Items.Clear();
|
||||
listview_plugins.Columns.Clear();
|
||||
string[] columns = { "Name", "Version", "DLL Path"};
|
||||
string[] columns = { "Name", "Version", "Created by", "DLL path"};
|
||||
foreach (string column in columns) {
|
||||
listview_plugins.Columns.Add(column);
|
||||
}
|
||||
|
@ -487,17 +488,17 @@ namespace Greenshot {
|
|||
bool clipboardDestinationChecked = false;
|
||||
bool pickerSelected = false;
|
||||
foreach(IDestination destination in checkedDestinationsListBox.CheckedItems) {
|
||||
if (destination.Designation.Equals("Clipboard")) {
|
||||
if (destination.Designation.Equals(ClipboardDestination.DESIGNATION)) {
|
||||
clipboardDestinationChecked = true;
|
||||
}
|
||||
if (destination.Designation.Equals("Picker")) {
|
||||
if (destination.Designation.Equals(PickerDestination.DESIGNATION)) {
|
||||
pickerSelected = true;
|
||||
}
|
||||
}
|
||||
if (pickerSelected) {
|
||||
foreach(int index in checkedDestinationsListBox.CheckedIndices) {
|
||||
IDestination destination = (IDestination)checkedDestinationsListBox.Items[index];
|
||||
if (!destination.Designation.Equals("Picker")) {
|
||||
if (!destination.Designation.Equals(PickerDestination.DESIGNATION)) {
|
||||
checkedDestinationsListBox.SetItemCheckState(index, CheckState.Indeterminate);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue