diff --git a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs index 485d725c3..bfa643fb6 100644 --- a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs +++ b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/PopupWindow.cs @@ -24,12 +24,6 @@ public enum PopupViewType public event Action OnClose; - [MenuItem("GitHub/Authenticate")] - public static void Launch() - { - OpenWindow(PopupViewType.AuthenticationView); - } - public static PopupWindow OpenWindow(PopupViewType popupViewType, Action onClose = null) { var popupWindow = GetWindow(true); diff --git a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs index e121ab9bd..6551d900a 100644 --- a/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs +++ b/src/UnityExtension/Assets/Editor/GitHub.Unity/UI/Window.cs @@ -10,7 +10,8 @@ class Window : BaseWindow { private const float DefaultNotificationTimeout = 4f; private const string Title = "GitHub"; - private const string LaunchMenu = "Window/GitHub"; + private const string Menu_Window_GitHub = "Window/GitHub"; + private const string Menu_Window_GitHub_Command_Line = "Window/GitHub Command Line"; private const string BadNotificationDelayError = "A delay of {0} is shorter than the default delay and thus would get pre-empted."; private const string InitializeTitle = "Initialize"; private const string HistoryTitle = "History"; @@ -47,19 +48,13 @@ class Window : BaseWindow [SerializeField] private GUIContent repoUrlContent; [SerializeField] private CacheUpdateEvent lastCurrentBranchAndRemoteChangedEvent; - [MenuItem(LaunchMenu)] + [MenuItem(Menu_Window_GitHub)] public static void Window_GitHub() { ShowWindow(EntryPoint.ApplicationManager); } - [MenuItem("GitHub/Show Window")] - public static void GitHub_ShowWindow() - { - ShowWindow(EntryPoint.ApplicationManager); - } - - [MenuItem("GitHub/Command Line")] + [MenuItem(Menu_Window_GitHub_Command_Line)] public static void GitHub_CommandLine() { EntryPoint.ApplicationManager.ProcessManager.RunCommandLineWindow(NPath.CurrentDirectory);