mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-11-25 14:27:26 +01:00
90589a30c9
This PR is aimimg to (1) fix a regression introduced by #2223 whereby the toolbar items did not have the correct state on first launch; (2) improve performance by removing some updates which I believe are not needed. * Removed some duplicate calls to RefershTreeView and UpdateToolbars because they are called within the action's Complete event handler. Also, normalise the way the treeview refresh is requested by the various actions the commands are launching. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> * Removed some explicit calls to refresh the treeview since this is done by the connection result handlers. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> * The toolbars and tabs should be updated every time the treeview is refreshed. This should happen when the refresh event is handled rather than calling UpdateToolbars explicitly after a treeview refresh is requested; also, it is the treeview refreshes that should be throttled and not the toolbar and tab updates (the throttling mechanism may need correction). Also, removed unnecessary Invoke as we are already on the UI thread. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> * Simplified UpdateManager.Update event declaration. Signed-off-by: Konstantina Chremmou <konstantina.chremmou@citrix.com> |
||
---|---|---|
.. | ||
ConfirmDeconfigureWLBDialog.cs | ||
ConfirmDeconfigureWLBDialog.ja.resx | ||
ConfirmDeconfigureWLBDialog.resx | ||
ConfirmDeconfigureWLBDialog.zh-CN.resx | ||
DisableWLBDialog.cs | ||
DisableWLBDialog.ja.resx | ||
DisableWLBDialog.resx | ||
DisableWLBDialog.zh-CN.resx | ||
WlbConfigurationDialog.cs | ||
WlbConfigurationDialog.Designer.cs | ||
WlbConfigurationDialog.ja.resx | ||
WlbConfigurationDialog.resx | ||
WlbConfigurationDialog.zh-CN.resx | ||
WlbCredentialsDialog.cs | ||
WlbCredentialsDialog.Designer.cs | ||
WlbCredentialsDialog.ja.resx | ||
WlbCredentialsDialog.resx | ||
WlbCredentialsDialog.zh-CN.resx | ||
WlbDeleteReportSubscriptionDialog.cs | ||
WlbDeleteReportSubscriptionDialog.ja.resx | ||
WlbDeleteReportSubscriptionDialog.resx | ||
WlbDeleteReportSubscriptionDialog.zh-CN.resx | ||
WlbEditScheduledTask.cs | ||
WlbEditScheduledTask.Designer.cs | ||
WlbEditScheduledTask.ja.resx | ||
WlbEditScheduledTask.resx | ||
WlbEditScheduledTask.zh-CN.resx | ||
WlbReportCustomFilter.cs | ||
WlbReportCustomFilter.Designer.cs | ||
WlbReportCustomFilter.ja.resx | ||
WlbReportCustomFilter.resx | ||
WlbReportCustomFilter.zh-CN.resx | ||
WlbReportSubscriptionDialog.cs | ||
WlbReportSubscriptionDialog.designer.cs | ||
WlbReportSubscriptionDialog.ja.resx | ||
WlbReportSubscriptionDialog.resx | ||
WlbReportSubscriptionDialog.zh-CN.resx |