mirror of
https://github.com/greenshot/greenshot
synced 2025-08-14 10:47:02 -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
|
@ -27,7 +27,7 @@ using log4net;
|
|||
namespace GreenshotFlickrPlugin {
|
||||
public class FlickrDestination : AbstractDestination {
|
||||
private static ILog LOG = LogManager.GetLogger(typeof(FlickrDestination));
|
||||
private FlickrPlugin plugin;
|
||||
private readonly FlickrPlugin plugin;
|
||||
public FlickrDestination(FlickrPlugin plugin) {
|
||||
this.plugin = plugin;
|
||||
}
|
||||
|
|
|
@ -34,7 +34,7 @@ namespace GreenshotFlickrPlugin {
|
|||
/// </summary>
|
||||
public class FlickrUtils {
|
||||
private static readonly ILog LOG = LogManager.GetLogger(typeof(FlickrUtils));
|
||||
private static FlickrConfiguration config = IniConfig.GetIniSection<FlickrConfiguration>();
|
||||
private static readonly FlickrConfiguration config = IniConfig.GetIniSection<FlickrConfiguration>();
|
||||
private const string FLICKR_API_BASE_URL = "https://api.flickr.com/services/";
|
||||
private const string FLICKR_UPLOAD_URL = FLICKR_API_BASE_URL + "upload/";
|
||||
// OAUTH
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
using System;
|
||||
using GreenshotPlugin.Controls;
|
||||
|
||||
namespace GreenshotFlickrPlugin.Forms {
|
||||
|
|
|
@ -18,12 +18,8 @@
|
|||
* You should have received a copy of the GNU General Public License
|
||||
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
using System;
|
||||
using System.Drawing;
|
||||
using System.Windows.Forms;
|
||||
|
||||
using GreenshotFlickrPlugin.Forms;
|
||||
using GreenshotPlugin.Core;
|
||||
|
||||
namespace GreenshotFlickrPlugin {
|
||||
/// <summary>
|
||||
|
|
|
@ -22,7 +22,6 @@
|
|||
using Greenshot.Plugin;
|
||||
using System.Reflection;
|
||||
using System.Runtime.InteropServices;
|
||||
using System.Security;
|
||||
|
||||
// General Information about an assembly is controlled through the following
|
||||
// set of attributes. Change these attribute values to modify the information
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue