File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change @@ -163,8 +163,8 @@ var ConnectView = View.extend({
163
163
// the connection uri (`host:port`) exists already, but under a different name
164
164
app . statusbar . hide ( ) ;
165
165
this . has_error = true ;
166
- this . message = format ( 'A connection to this host and port already exists '
167
- + 'under the name "%s". Click "Connect" again to connect to this host .' ,
166
+ this . message = format ( 'This connection already exists '
167
+ + 'under the name "%s". Click "Connect" again to use this connection .' ,
168
168
existingConnection . name ) ;
169
169
this . displayedConnection . name = existingConnection . name ;
170
170
return ;
@@ -186,6 +186,7 @@ var ConnectView = View.extend({
186
186
187
187
// now test if the server is reachable
188
188
app . statusbar . show ( ) ;
189
+ this . message = '' ;
189
190
this . displayedConnection . test ( this . onConnectionTested . bind ( this ) ) ;
190
191
} ,
191
192
onConnectionTested : function ( err , model ) {
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ var DEFAULT_HEIGHT = 700;
15
15
var DEFAULT_HEIGHT_DIALOG ;
16
16
17
17
if ( process . platform === 'win32' ) {
18
- DEFAULT_HEIGHT_DIALOG = 460 ;
18
+ DEFAULT_HEIGHT_DIALOG = 500 ;
19
19
} else if ( process . platform === 'linux' ) {
20
- DEFAULT_HEIGHT_DIALOG = 430 ;
20
+ DEFAULT_HEIGHT_DIALOG = 470 ;
21
21
} else {
22
- DEFAULT_HEIGHT_DIALOG = 400 ;
22
+ DEFAULT_HEIGHT_DIALOG = 440 ;
23
23
}
24
- var DEFAULT_WIDTH_DIALOG = 600 ;
24
+ var DEFAULT_WIDTH_DIALOG = 640 ;
25
25
26
26
var connectWindow ;
27
27
var windowsOpenCount = 0 ;
You can’t perform that action at this time.
0 commit comments