mirror of
https://github.com/greenshot/greenshot
synced 2025-07-16 10:03:44 -07:00
FEATURE-945: Added environment variables to the external command (also removed unused imports and made some variables readonly)
This commit is contained in:
parent
4f326c9c0e
commit
d25021631e
90 changed files with 390 additions and 373 deletions
|
@ -73,7 +73,7 @@ namespace GreenshotDropboxPlugin {
|
|||
/// <param name="host">Use the IGreenshotPluginHost interface to register events</param>
|
||||
/// <param name="pluginAttribute">My own attributes</param>
|
||||
public virtual bool Initialize(IGreenshotHost pluginHost, PluginAttribute myAttributes) {
|
||||
this.host = (IGreenshotHost)pluginHost;
|
||||
host = (IGreenshotHost)pluginHost;
|
||||
Attributes = myAttributes;
|
||||
|
||||
// Register configuration (don't need the configuration itself)
|
||||
|
@ -83,7 +83,7 @@ namespace GreenshotDropboxPlugin {
|
|||
itemPlugInConfig = new ToolStripMenuItem();
|
||||
itemPlugInConfig.Text = Language.GetString("dropbox", LangKey.Configure);
|
||||
itemPlugInConfig.Tag = host;
|
||||
itemPlugInConfig.Click += new System.EventHandler(ConfigMenuClick);
|
||||
itemPlugInConfig.Click += new EventHandler(ConfigMenuClick);
|
||||
itemPlugInConfig.Image = (Image)resources.GetObject("Dropbox");
|
||||
|
||||
PluginUtils.AddToContextMenu(host, itemPlugInConfig);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue