Skip to content

Commit 4f38a7c

Browse files
committed
Allow user to set default theme
During theme switch the user can now set the selected theme as default This setting is saved as configuration scope and loaded for new workspaces unless the user has a theme set for this specific workspace. Add 'Use as default theme' checkbox to theme restart dialog
1 parent 06b47e7 commit 4f38a7c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

  • bundles/org.eclipse.e4.ui.css.swt.theme/src/org/eclipse/e4/ui/css/swt/internal/theme

bundles/org.eclipse.e4.ui.css.swt.theme/src/org/eclipse/e4/ui/css/swt/internal/theme/ThemeEngine.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@
4040
import org.eclipse.core.runtime.IPath;
4141
import org.eclipse.core.runtime.Platform;
4242
import org.eclipse.core.runtime.RegistryFactory;
43+
import org.eclipse.core.runtime.preferences.ConfigurationScope;
4344
import org.eclipse.core.runtime.preferences.IEclipsePreferences;
4445
import org.eclipse.core.runtime.preferences.IPreferencesService;
4546
import org.eclipse.core.runtime.preferences.InstanceScope;

0 commit comments

Comments
 (0)