mirror of
https://github.com/greenshot/greenshot
synced 2025-08-20 13:33:27 -07:00
Small cleanups [skip ci]
This commit is contained in:
parent
02a06a12b0
commit
98e6be5eb6
171 changed files with 1607 additions and 1769 deletions
|
@ -54,7 +54,7 @@ namespace Greenshot {
|
|||
private static ILog LOG;
|
||||
private static Mutex _applicationMutex;
|
||||
private static CoreConfiguration _conf;
|
||||
public static string LogFileLocation = null;
|
||||
public static string LogFileLocation;
|
||||
|
||||
public static void Start(string[] args) {
|
||||
bool isAlreadyRunning = false;
|
||||
|
@ -258,7 +258,7 @@ namespace Greenshot {
|
|||
using (Form dummyForm = new Form()) {
|
||||
dummyForm.Icon = GreenshotResources.getGreenshotIcon();
|
||||
dummyForm.ShowInTaskbar = true;
|
||||
dummyForm.FormBorderStyle = System.Windows.Forms.FormBorderStyle.None;
|
||||
dummyForm.FormBorderStyle = FormBorderStyle.None;
|
||||
dummyForm.Location = new Point(int.MinValue, int.MinValue);
|
||||
dummyForm.Load += delegate { dummyForm.Size = Size.Empty; };
|
||||
dummyForm.Show();
|
||||
|
@ -581,7 +581,7 @@ namespace Greenshot {
|
|||
contextMenu.ImageScalingSize = coreConfiguration.IconSize;
|
||||
string ieExePath = PluginUtils.GetExePath("iexplore.exe");
|
||||
if (!string.IsNullOrEmpty(ieExePath)) {
|
||||
this.contextmenu_captureie.Image = PluginUtils.GetCachedExeIcon(ieExePath, 0);
|
||||
contextmenu_captureie.Image = PluginUtils.GetCachedExeIcon(ieExePath, 0);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue