Commit b7e7e0a
Fix configuration of the unsaved tab dirty indicator
The dirty indicator preference was only shown and stored while CSS theming
was active, so it could not be turned off when started with -cssTheme none or
in high-contrast mode. It is now created, stored and reset next to the "Show
most recently used tabs" option and is therefore always available.
The renderer also read the value from the instance scope only, which ignored a
default contributed through product customization
(SHOW_DIRTY_INDICATOR_ON_TABS in plugin_customization.ini). It now reads via
the preferences service so the default scope is honored.
Fixes #41301 parent 47bc499 commit b7e7e0a
2 files changed
Lines changed: 11 additions & 7 deletions
File tree
- bundles
- org.eclipse.e4.ui.workbench.renderers.swt/src/org/eclipse/e4/ui/workbench/renderers/swt
- org.eclipse.ui.workbench/eclipseui/org/eclipse/ui/internal/dialogs
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| 37 | + | |
37 | 38 | | |
38 | 39 | | |
39 | 40 | | |
| |||
941 | 942 | | |
942 | 943 | | |
943 | 944 | | |
944 | | - | |
945 | | - | |
| 945 | + | |
| 946 | + | |
| 947 | + | |
| 948 | + | |
946 | 949 | | |
947 | 950 | | |
948 | 951 | | |
| |||
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
206 | | - | |
207 | | - | |
208 | 206 | | |
209 | 207 | | |
210 | 208 | | |
| |||
259 | 257 | | |
260 | 258 | | |
261 | 259 | | |
| 260 | + | |
262 | 261 | | |
263 | 262 | | |
264 | 263 | | |
| |||
471 | 470 | | |
472 | 471 | | |
473 | 472 | | |
474 | | - | |
475 | 473 | | |
476 | 474 | | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
477 | 478 | | |
478 | 479 | | |
479 | 480 | | |
| |||
624 | 625 | | |
625 | 626 | | |
626 | 627 | | |
627 | | - | |
628 | | - | |
629 | 628 | | |
| 629 | + | |
| 630 | + | |
630 | 631 | | |
631 | 632 | | |
632 | 633 | | |
| |||
0 commit comments