Free cookie consent management tool by TermsFeed Policy Generator

Changeset 6554


Ignore:
Timestamp:
07/08/11 14:45:57 (13 years ago)
Author:
gkronber
Message:

#1529: remove 'updates available' icon after installing updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/sources/HeuristicLab.PluginInfrastructure/3.3/Starter/StarterForm.cs

    r6518 r6554  
    4646    private SplashScreen splashScreen;
    4747    private bool updatesAvailable = false;
    48 
    4948    /// <summary>
    5049    /// Initializes an instance of the starter form.
     
    6968      UpdateApplicationsList();
    7069
    71       CheckUpdatesAvailableAsync(pluginPath);
    72     }
    73 
    74     private void CheckUpdatesAvailableAsync(string pluginPath) {
     70      CheckUpdatesAvailableAsync();
     71    }
     72
     73    private void CheckUpdatesAvailableAsync() {
     74      string pluginPath = Path.GetFullPath(Application.StartupPath);
    7575      var task = Task.Factory.StartNew<bool>(() => {
    7676        var installationManager = new InstallationManager(pluginPath);
     
    158158                form.ShowDialog(this);
    159159              }
     160              updatesAvailable = false;
     161              CheckUpdatesAvailableAsync();
    160162              UpdateApplicationsList();
    161163            }
Note: See TracChangeset for help on using the changeset viewer.