mirror of
https://github.com/greenshot/greenshot
synced 2025-08-21 05:53:27 -07:00
Fixed bug #124, I think I understood
Also made sure the office plugin is not configurable, as it shouldn't be.
This commit is contained in:
parent
8dc4647532
commit
9578a46296
3 changed files with 4 additions and 3 deletions
|
@ -40,7 +40,7 @@ namespace Greenshot.Destinations {
|
||||||
static EmailDestination() {
|
static EmailDestination() {
|
||||||
// Logic to decide what email implementation we use
|
// Logic to decide what email implementation we use
|
||||||
if (EmailConfigHelper.HasMapi()) {
|
if (EmailConfigHelper.HasMapi()) {
|
||||||
_isActiveFlag = true;
|
_isActiveFlag = false;
|
||||||
_mapiClient = EmailConfigHelper.GetMapiClient();
|
_mapiClient = EmailConfigHelper.GetMapiClient();
|
||||||
if (!string.IsNullOrEmpty(_mapiClient)) {
|
if (!string.IsNullOrEmpty(_mapiClient)) {
|
||||||
// Active as we have a mapi client, can be disabled later
|
// Active as we have a mapi client, can be disabled later
|
||||||
|
|
|
@ -107,7 +107,8 @@ namespace GreenshotOfficePlugin {
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Implementation of the IPlugin.Configure
|
/// Implementation of the IPlugin.Configure
|
||||||
/// </summary>
|
/// </summary>
|
||||||
public virtual void Configure() {
|
public void Configure() {
|
||||||
|
throw new NotImplementedException();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -28,7 +28,7 @@ using System.Runtime.InteropServices;
|
||||||
// associated with an assembly.
|
// associated with an assembly.
|
||||||
[assembly: AssemblyDescription("A plugin to export images to Office applications")]
|
[assembly: AssemblyDescription("A plugin to export images to Office applications")]
|
||||||
// The PluginAttribute describes the "entryType" and if the plugin is configurable
|
// The PluginAttribute describes the "entryType" and if the plugin is configurable
|
||||||
[assembly: Plugin("GreenshotOfficePlugin.OfficePlugin", true)]
|
[assembly: Plugin("GreenshotOfficePlugin.OfficePlugin", false)]
|
||||||
|
|
||||||
// This sets the default COM visibility of types in the assembly to invisible.
|
// This sets the default COM visibility of types in the assembly to invisible.
|
||||||
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
// If you need to expose a type to COM, use [ComVisible(true)] on that type.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue