mirror of
https://github.com/eclipse-cdt/cdt
synced 2025-07-28 11:25:35 +02:00
bug 241096: [terminal] Secondary terminals in same view do not observe the "invert colors" Preference
https://bugs.eclipse.org/bugs/show_bug.cgi?id=241096
This commit is contained in:
parent
d2e87c52b8
commit
86a2ff6c0d
1 changed files with 6 additions and 1 deletions
|
@ -22,6 +22,7 @@
|
||||||
* Michael Scharf (Wind River) - [172483] switch between connections
|
* Michael Scharf (Wind River) - [172483] switch between connections
|
||||||
* Michael Scharf (Wind River) - [240023] Get rid of the terminal's "Pin" button
|
* Michael Scharf (Wind River) - [240023] Get rid of the terminal's "Pin" button
|
||||||
* Michael Scharf (Wind River) - [196454] Initial connection settings dialog should not be blank
|
* Michael Scharf (Wind River) - [196454] Initial connection settings dialog should not be blank
|
||||||
|
* Michael Scharf (Wind River) - [241096] Secondary terminals in same view do not observe the "invert colors" Preference
|
||||||
*******************************************************************************/
|
*******************************************************************************/
|
||||||
package org.eclipse.tm.internal.terminal.view;
|
package org.eclipse.tm.internal.terminal.view;
|
||||||
|
|
||||||
|
@ -435,6 +436,8 @@ public class TerminalView extends ViewPart implements ITerminalView, ITerminalVi
|
||||||
|
|
||||||
legacyLoadState();
|
legacyLoadState();
|
||||||
legacySetTitle();
|
legacySetTitle();
|
||||||
|
// make sure we take the values defined in the preferences
|
||||||
|
updatePreferences();
|
||||||
|
|
||||||
refresh();
|
refresh();
|
||||||
onTerminalFontChanged();
|
onTerminalFontChanged();
|
||||||
|
@ -470,6 +473,8 @@ public class TerminalView extends ViewPart implements ITerminalView, ITerminalVi
|
||||||
fMultiConnectionManager.addConnection(conn);
|
fMultiConnectionManager.addConnection(conn);
|
||||||
fMultiConnectionManager.setActiveConnection(conn);
|
fMultiConnectionManager.setActiveConnection(conn);
|
||||||
setupContextMenus(fCtlTerminal.getControl());
|
setupContextMenus(fCtlTerminal.getControl());
|
||||||
|
// make sure we take the values defined in the preferences
|
||||||
|
updatePreferences();
|
||||||
}
|
}
|
||||||
|
|
||||||
private ITerminalViewConnection makeViewConnection() {
|
private ITerminalViewConnection makeViewConnection() {
|
||||||
|
@ -484,7 +489,7 @@ public class TerminalView extends ViewPart implements ITerminalView, ITerminalVi
|
||||||
ITerminalConnector connector = loadSettings(fStore,connectors);
|
ITerminalConnector connector = loadSettings(fStore,connectors);
|
||||||
// set the connector....
|
// set the connector....
|
||||||
ctrl.setConnector(connector);
|
ctrl.setConnector(connector);
|
||||||
updatePreferences();
|
|
||||||
TerminalViewPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPreferenceListener);
|
TerminalViewPlugin.getDefault().getPreferenceStore().addPropertyChangeListener(fPreferenceListener);
|
||||||
|
|
||||||
return conn;
|
return conn;
|
||||||
|
|
Loading…
Add table
Reference in a new issue