Mercurial > 510Connectbot
diff src/com/five_ten_sg/connectbot/ConsoleActivity.java @ 242:e0f5e706a655
add host preference for fixed screen size
author | Carl Byington <carl@five-ten-sg.com> |
---|---|
date | Mon, 14 Jul 2014 10:33:13 -0700 |
parents | 0ce5cc452d02 |
children | 918dfcb862ed |
line wrap: on
line diff
--- a/src/com/five_ten_sg/connectbot/ConsoleActivity.java Mon Jul 14 10:25:29 2014 -0700 +++ b/src/com/five_ten_sg/connectbot/ConsoleActivity.java Mon Jul 14 10:33:13 2014 -0700 @@ -911,10 +911,8 @@ public boolean onMenuItemClick(MenuItem item) { final TerminalView terminalView = (TerminalView) findCurrentView(R.id.console_flip); final View resizeView = inflater.inflate(R.layout.dia_resize, null, false); - ((EditText) resizeView.findViewById(R.id.width)) - .setText(prefs.getString(PreferenceConstants.DEFAULT_FONT_SIZE_WIDTH, "80")); - ((EditText) resizeView.findViewById(R.id.height)) - .setText(prefs.getString(PreferenceConstants.DEFAULT_FONT_SIZE_HEIGHT, "25")); + ((EditText) resizeView.findViewById(R.id.width)).setText("80")); + ((EditText) resizeView.findViewById(R.id.height)).setText("25")); new AlertDialog.Builder(ConsoleActivity.this) .setView(resizeView) .setPositiveButton(R.string.button_resize, new DialogInterface.OnClickListener() {