From 355071e7c3759cba3ab27d8e98345857859f9524 Mon Sep 17 00:00:00 2001 From: Lars Vogel Date: Tue, 14 Jun 2022 11:05:47 +0200 Subject: [PATCH] Remove the help icon from the restart Eclipse due to theme changes Operating system Ui guidelines do not recommend the usage of the help icon in a dialog. For example check the screenshots in the Windows guidelines for dialogs. Operating System UI Guidelines Windows UI guidence https://docs.microsoft.com/en-us/windows/apps/design/controls/dialogs-and-flyouts/dialogs Gnome UI guidence https://developer.gnome.org/hig/patterns/feedback/dialogs.html Mac UI guidence https://developer.apple.com/design/human-interface-guidelines/components/presentation/alerts/ --- .../org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java index b426e11469d..0cdec7036fb 100644 --- a/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java +++ b/bundles/org.eclipse.ui.workbench/Eclipse UI/org/eclipse/ui/internal/dialogs/ViewsPreferencePage.java @@ -314,7 +314,7 @@ public boolean performOk() { */ private void showRestartDialog() { if (new MessageDialog(null, WorkbenchMessages.ThemeChangeWarningTitle, null, - WorkbenchMessages.ThemeChangeWarningText, MessageDialog.QUESTION, 2, + WorkbenchMessages.ThemeChangeWarningText, MessageDialog.NONE, 2, WorkbenchMessages.Workbench_RestartButton, WorkbenchMessages.Workbench_DontRestartButton) .open() == Window.OK) { Display.getDefault().asyncExec(() -> PlatformUI.getWorkbench().restart());