BUG-1908: Made Greenshot recheck & add the external commands like Ms-Paint and Paint.NET if they are not deleted manually and not yet available. Also cleaned up some code.

This commit is contained in:
Robin 2016-09-16 21:48:57 +02:00
commit 6efc7796b8
49 changed files with 322 additions and 294 deletions

View file

@ -110,8 +110,8 @@ namespace GreenshotConfluencePlugin {
SearchTab.IsSelected = true;
}
}
void UpdateSpaces() {
private void UpdateSpaces() {
if (_spaces != null && DateTime.Now.AddMinutes(-60).CompareTo(_lastLoad) > 0) {
// Reset
_spaces = null;
@ -125,7 +125,7 @@ namespace GreenshotConfluencePlugin {
}
}
void Upload_Click(object sender, RoutedEventArgs e) {
private void Upload_Click(object sender, RoutedEventArgs e) {
DialogResult = true;
}
}