mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-23 17:06:14 +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> |
||
---|---|---|
.. | ||
INavigationItem.cs | ||
NavigationButton.cs | ||
NavigationDropDownButton.cs | ||
NavigationPane.cs | ||
NavigationPane.Designer.cs | ||
NavigationPane.ja.resx | ||
NavigationPane.resx | ||
NavigationPane.zh-CN.resx | ||
NavigationToolStrip.cs | ||
NavigationToolStripRenderer.cs | ||
NavigationView.cs | ||
NavigationView.Designer.cs | ||
NavigationView.ja.resx | ||
NavigationView.resx | ||
NavigationView.zh-CN.resx | ||
NotificationsView.cs |