From 02e45f2928ca064ba6c0a8347c89d3b3813626c1 Mon Sep 17 00:00:00 2001 From: leo Date: Tue, 7 Jul 2020 17:59:19 +0800 Subject: [PATCH] PopupManager optimization --- SourceGit/UI/Apply.xaml | 8 ------ SourceGit/UI/Apply.xaml.cs | 10 -------- SourceGit/UI/Clone.xaml | 14 +---------- SourceGit/UI/Clone.xaml.cs | 32 ++++++++---------------- SourceGit/UI/CreateBranch.xaml | 14 +---------- SourceGit/UI/CreateBranch.xaml.cs | 9 ------- SourceGit/UI/DeleteBranch.xaml | 10 +------- SourceGit/UI/DeleteBranch.xaml.cs | 12 --------- SourceGit/UI/DeleteRemote.xaml | 10 +------- SourceGit/UI/DeleteRemote.xaml.cs | 12 --------- SourceGit/UI/DeleteTag.xaml | 10 +------- SourceGit/UI/DeleteTag.xaml.cs | 10 -------- SourceGit/UI/Discard.xaml | 10 +------- SourceGit/UI/Discard.xaml.cs | 11 -------- SourceGit/UI/Fetch.xaml | 12 --------- SourceGit/UI/Fetch.xaml.cs | 14 ++--------- SourceGit/UI/GitFlowFinishBranch.xaml | 8 ------ SourceGit/UI/GitFlowFinishBranch.xaml.cs | 12 --------- SourceGit/UI/GitFlowSetup.xaml | 8 ------ SourceGit/UI/GitFlowSetup.xaml.cs | 11 -------- SourceGit/UI/GitFlowStartBranch.xaml | 8 ------ SourceGit/UI/GitFlowStartBranch.xaml.cs | 12 --------- SourceGit/UI/Init.xaml | 10 +------- SourceGit/UI/Init.xaml.cs | 10 -------- SourceGit/UI/InteractiveRebase.xaml | 10 ++++---- SourceGit/UI/Merge.xaml | 10 +------- SourceGit/UI/Merge.xaml.cs | 18 ------------- SourceGit/UI/PopupManager.xaml | 15 ++++++++++- SourceGit/UI/PopupManager.xaml.cs | 27 +++++++++++++++++++- SourceGit/UI/Pull.xaml | 12 --------- SourceGit/UI/Pull.xaml.cs | 14 +---------- SourceGit/UI/Push.xaml | 14 +---------- SourceGit/UI/Push.xaml.cs | 26 +++---------------- SourceGit/UI/PushTag.xaml | 10 +------- SourceGit/UI/PushTag.xaml.cs | 12 --------- SourceGit/UI/Rebase.xaml | 10 +------- SourceGit/UI/Rebase.xaml.cs | 9 ------- SourceGit/UI/Remote.xaml | 10 +------- SourceGit/UI/Remote.xaml.cs | 10 -------- SourceGit/UI/RenameBranch.xaml | 10 +------- SourceGit/UI/RenameBranch.xaml.cs | 12 --------- SourceGit/UI/Reset.xaml | 10 +------- SourceGit/UI/Reset.xaml.cs | 11 -------- SourceGit/UI/Revert.xaml | 10 +------- SourceGit/UI/Revert.xaml.cs | 21 ---------------- 45 files changed, 77 insertions(+), 481 deletions(-) diff --git a/SourceGit/UI/Apply.xaml b/SourceGit/UI/Apply.xaml index 1533930f..37cad8c7 100644 --- a/SourceGit/UI/Apply.xaml +++ b/SourceGit/UI/Apply.xaml @@ -73,13 +73,5 @@