From 351503e91e5afcc6c29b5ec2fc1f44f255b72acf Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Wed, 20 Jun 2012 22:27:31 +0200 Subject: Make important message have a ticker message, fix status line in log window --- src/de/blinkt/openvpn/LogWindow.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/de/blinkt/openvpn/LogWindow.java') diff --git a/src/de/blinkt/openvpn/LogWindow.java b/src/de/blinkt/openvpn/LogWindow.java index 8fadf3ad..ae5277cd 100644 --- a/src/de/blinkt/openvpn/LogWindow.java +++ b/src/de/blinkt/openvpn/LogWindow.java @@ -276,7 +276,10 @@ public class LogWindow extends ListActivity implements StateListener { @Override public void run() { - mSpeedView.setText(status + " " + logmessage); + String prefix=status+ ":"; + if (status.equals("BYTECOUNT") || status.equals("NOPROCESS") ) + prefix=""; + mSpeedView.setText(prefix + logmessage); } }); -- cgit v1.2.3