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
commite9b93deeff850a113870e1b27bde251d266b9d7c (patch)
tree86709a807fece3d78655ac50ba6f882a1c8810a8 /src/de/blinkt/openvpn/LogWindow.java
parentb5d6a0975af0bb6c7607846b72b5c1a574e373ee (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 8fadf3a..ae5277c 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);
}
});