summaryrefslogtreecommitdiff
path: root/src/de/blinkt/openvpn/LogWindow.java
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2012-06-20 22:27:31 +0200
committerArne Schwabe <arne@rfc2549.org>2012-06-20 22:27:31 +0200
commit351503e91e5afcc6c29b5ec2fc1f44f255b72acf (patch)
tree8f5ca8588baf0533af4026a04a41826e0d01b803 /src/de/blinkt/openvpn/LogWindow.java
parent3f07371155f442f3dfd6b705143d60e173bfdc48 (diff)
Make important message have a ticker message, fix status line in log window
Diffstat (limited to 'src/de/blinkt/openvpn/LogWindow.java')
-rw-r--r--src/de/blinkt/openvpn/LogWindow.java5
1 files changed, 4 insertions, 1 deletions
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);
}
});