Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorUwe Stieber2013-09-24 06:58:56 +0000
committerUwe Stieber2013-09-24 06:58:56 +0000
commita39e40e55fc0e9dbc14f717ae0fc91bfc44ec3cb (patch)
treeffb03ce32e49c99f805fa148d1534331f987a900 /target_explorer
parent6747bf3ee4205fe19216dec21e664e012ee48449 (diff)
downloadorg.eclipse.tcf-a39e40e55fc0e9dbc14f717ae0fc91bfc44ec3cb.tar.gz
org.eclipse.tcf-a39e40e55fc0e9dbc14f717ae0fc91bfc44ec3cb.tar.xz
org.eclipse.tcf-a39e40e55fc0e9dbc14f717ae0fc91bfc44ec3cb.zip
Target Explorer: Improve local terminal tab titles
Diffstat (limited to 'target_explorer')
-rw-r--r--target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.local/src/org/eclipse/tcf/te/ui/terminals/local/launcher/LocalLauncherDelegate.java6
1 files changed, 3 insertions, 3 deletions
diff --git a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.local/src/org/eclipse/tcf/te/ui/terminals/local/launcher/LocalLauncherDelegate.java b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.local/src/org/eclipse/tcf/te/ui/terminals/local/launcher/LocalLauncherDelegate.java
index 6a252a0b1..7a19b0b95 100644
--- a/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.local/src/org/eclipse/tcf/te/ui/terminals/local/launcher/LocalLauncherDelegate.java
+++ b/target_explorer/plugins/org.eclipse.tcf.te.ui.terminals.local/src/org/eclipse/tcf/te/ui/terminals/local/launcher/LocalLauncherDelegate.java
@@ -75,10 +75,10 @@ public class LocalLauncherDelegate extends AbstractLauncherDelegate {
*/
private String getTerminalTitle(IPropertiesContainer properties) {
String[] hostNames= IPAddressUtil.getInstance().getCanonicalHostNames();
- if (hostNames.length!=0){
- return "<"+hostNames[0]+">"; //$NON-NLS-1$ //$NON-NLS-2$
+ if (hostNames.length != 0){
+ return hostNames[0];
}
- return "<Local>"; //$NON-NLS-1$
+ return "Local"; //$NON-NLS-1$
}
/* (non-Javadoc)

Back to the top