mirror of
https://github.com/sourcegit-scm/sourcegit.git
synced 2024-12-23 20:47:25 -08:00
optimize<Dashboard>: remove refresh button (use F5 instead)
This commit is contained in:
parent
975777c2f9
commit
83e8eb1ec8
2 changed files with 0 additions and 12 deletions
|
@ -115,13 +115,6 @@
|
||||||
ToolTip="{DynamicResource Text.Dashboard.Statistics}"
|
ToolTip="{DynamicResource Text.Dashboard.Statistics}"
|
||||||
Click="OpenStatistics"/>
|
Click="OpenStatistics"/>
|
||||||
|
|
||||||
<controls:IconButton
|
|
||||||
Margin="8,0"
|
|
||||||
Padding="0,9,0,8"
|
|
||||||
Icon="{DynamicResource Icon.Loading}"
|
|
||||||
ToolTip="{DynamicResource Text.Dashboard.Refresh}"
|
|
||||||
Click="TriggerRefresh"/>
|
|
||||||
|
|
||||||
<controls:IconButton
|
<controls:IconButton
|
||||||
Margin="8,0"
|
Margin="8,0"
|
||||||
Padding="0,8"
|
Padding="0,8"
|
||||||
|
|
|
@ -421,11 +421,6 @@ namespace SourceGit.Views.Widgets {
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
private void TriggerRefresh(object sender, RoutedEventArgs e) {
|
|
||||||
Refresh();
|
|
||||||
e.Handled = true;
|
|
||||||
}
|
|
||||||
|
|
||||||
private void OpenFetch(object sender, RoutedEventArgs e) {
|
private void OpenFetch(object sender, RoutedEventArgs e) {
|
||||||
if (repo.Remotes.Count == 0) {
|
if (repo.Remotes.Count == 0) {
|
||||||
Models.Exception.Raise("No remotes added to this repository!!!");
|
Models.Exception.Raise("No remotes added to this repository!!!");
|
||||||
|
|
Loading…
Reference in a new issue