changeset 93:3a58bc86cd6f

remove 5250 configuration
author Carl Byington <carl@five-ten-sg.com>
date Mon, 16 Jun 2014 16:50:13 -0700
parents e5259eab903e
children e3b83c4f02f1
files src/com/five_ten_sg/connectbot/TerminalView.java src/com/five_ten_sg/connectbot/service/TerminalBridge.java
diffstat 2 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/TerminalView.java	Mon Jun 16 16:22:34 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/TerminalView.java	Mon Jun 16 16:50:13 2014 -0700
@@ -62,7 +62,7 @@
 
     private final Context context;
     public  final TerminalBridge bridge;
-    public  final String homeDirectory;
+    public  static String homeDirectory;
     private final Paint paint;
     private final Paint cursorPaint;
     private final Paint cursorStrokePaint;
@@ -100,7 +100,7 @@
         super(context);
         this.context       = context;
         this.bridge        = bridge;
-        this.homeDirectory = context.getApplicationInfo().dataDir;
+        homeDirectory = context.getApplicationInfo().dataDir;
         paint = new Paint();
         setLayoutParams(new LayoutParams(LayoutParams.FILL_PARENT, LayoutParams.FILL_PARENT));
         setFocusable(true);
--- a/src/com/five_ten_sg/connectbot/service/TerminalBridge.java	Mon Jun 16 16:22:34 2014 -0700
+++ b/src/com/five_ten_sg/connectbot/service/TerminalBridge.java	Mon Jun 16 16:50:13 2014 -0700
@@ -211,7 +211,7 @@
      */
     protected void startConnection() {
         transport   = TransportFactory.getTransport(host.getProtocol());
-        transport.setLinks(manager, this, parent.homeDirectory, host, emulation);
+        transport.setLinks(manager, this, TerminalView.homeDirectory, host, emulation);
         buffer      = transport.getTransportBuffer();
         keyListener = transport.getTerminalKeyListener();