1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-07-25 09:55:29 +02:00

[250456] Ssh banner message causes IllegalArgumentException popup

This commit is contained in:
Martin Oberhuber 2008-11-11 08:59:54 +00:00
parent 5210c435cb
commit d2e87c52b8
4 changed files with 5 additions and 4 deletions

View file

@ -2,7 +2,7 @@
<feature
id="org.eclipse.tm.terminal.sdk"
label="%featureName"
version="2.0.1.qualifier"
version="2.0.2.qualifier"
provider-name="%providerName"
image="eclipse_update_120.jpg">

View file

@ -2,7 +2,7 @@
<feature
id="org.eclipse.tm.terminal.ssh"
label="%featureName"
version="2.0.1.qualifier"
version="2.0.2.qualifier"
provider-name="%providerName">
<description>

View file

@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.tm.terminal.ssh;singleton:=true
Bundle-Version: 2.0.1.qualifier
Bundle-Version: 2.0.2.qualifier
Bundle-Vendor: %providerName
Bundle-Localization: plugin
Require-Bundle: org.eclipse.ui,

View file

@ -19,6 +19,7 @@
* Martin Oberhuber (Wind River) - [205674][ssh] Terminal remains "connecting" when authentication is cancelled
* Michael Scharf (Wind River) - 240420: [terminal][ssh]Channel is not closed when the connection is closed with the close button
* Martin Oberhuber (Wind River) - [206919] Improve SSH Terminal Error Reporting
* Andrei Sobolev (Xored) - [250456] Ssh banner message causes IllegalArgumentException popup
*******************************************************************************/
package org.eclipse.tm.internal.terminal.ssh;
@ -305,7 +306,7 @@ class SshConnection extends Thread {
// [168197] Replace JFace MessagDialog by SWT MessageBox
// MessageDialog.openInformation(null, SshMessages.INFO, message);
if (isSessionConnected()) {
MessageBox mb = new MessageBox(null, SWT.ICON_INFORMATION | SWT.OK);
MessageBox mb = new MessageBox(fControl.getShell(), SWT.ICON_INFORMATION | SWT.OK);
mb.setText(SshMessages.INFO);
mb.setMessage(message);
mb.open();