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({
163163 // the connection uri (`host:port`) exists already, but under a different name
164164 app . statusbar . hide ( ) ;
165165 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 .' ,
168168 existingConnection . name ) ;
169169 this . displayedConnection . name = existingConnection . name ;
170170 return ;
@@ -186,6 +186,7 @@ var ConnectView = View.extend({
186186
187187 // now test if the server is reachable
188188 app . statusbar . show ( ) ;
189+ this . message = '' ;
189190 this . displayedConnection . test ( this . onConnectionTested . bind ( this ) ) ;
190191 } ,
191192 onConnectionTested : function ( err , model ) {
Original file line number Diff line number Diff line change @@ -15,13 +15,13 @@ var DEFAULT_HEIGHT = 700;
1515var DEFAULT_HEIGHT_DIALOG ;
1616
1717if ( process . platform === 'win32' ) {
18- DEFAULT_HEIGHT_DIALOG = 460 ;
18+ DEFAULT_HEIGHT_DIALOG = 500 ;
1919} else if ( process . platform === 'linux' ) {
20- DEFAULT_HEIGHT_DIALOG = 430 ;
20+ DEFAULT_HEIGHT_DIALOG = 470 ;
2121} else {
22- DEFAULT_HEIGHT_DIALOG = 400 ;
22+ DEFAULT_HEIGHT_DIALOG = 440 ;
2323}
24- var DEFAULT_WIDTH_DIALOG = 600 ;
24+ var DEFAULT_WIDTH_DIALOG = 640 ;
2525
2626var connectWindow ;
2727var windowsOpenCount = 0 ;
You can’t perform that action at this time.
0 commit comments