mirror of
https://github.com/xcp-ng/xenadmin.git
synced 2024-12-21 07:56:03 +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> |
||
---|---|---|
.. | ||
DropDownComboButton.cs | ||
FolderNavigator.cs | ||
FolderNavigator.Designer.cs | ||
FolderNavigator.ja.resx | ||
FolderNavigator.resx | ||
FolderNavigator.zh-CN.resx | ||
GroupingControl.cs | ||
GroupingControl.Designer.cs | ||
GroupingControl.ja.resx | ||
GroupingControl.resx | ||
GroupingControl.zh-CN.resx | ||
QueryElement.cs | ||
QueryElement.Designer.cs | ||
QueryElement.ja.resx | ||
QueryElement.resx | ||
QueryElement.zh-CN.resx | ||
QueryPanel.cs | ||
QueryPanel.ja.resx | ||
QueryPanel.resx | ||
QueryPanel.zh-CN.resx | ||
ResourceSelectButton.cs | ||
Searcher.cs | ||
Searcher.Designer.cs | ||
Searcher.ja.resx | ||
Searcher.resx | ||
Searcher.zh-CN.resx | ||
SearchFor.cs | ||
SearchFor.Designer.cs | ||
SearchFor.ja.resx | ||
SearchFor.resx | ||
SearchFor.zh-CN.resx | ||
SearchForCustom.cs | ||
SearchForCustom.Designer.cs | ||
SearchForCustom.ja.resx | ||
SearchForCustom.resx | ||
SearchForCustom.zh-CN.resx | ||
SearchOutput.cs | ||
SearchOutput.Designer.cs | ||
SearchOutput.ja.resx | ||
SearchOutput.resx | ||
SearchOutput.zh-CN.resx |