about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-05-15 00:55:19 +0100
committerJames Booth <boothj5@gmail.com>2016-05-15 00:55:19 +0100
commitd00615beba0e9f6d463b821c3a9406e412ebbfe2 (patch)
treef9edbce11180c78b8fac769b11c0582a06351207 /src/ui
parentcf8452d95f7a172f0609cd2f647f23a52aeb62d1 (diff)
downloadprofani-tty-d00615beba0e9f6d463b821c3a9406e412ebbfe2.tar.gz
Add /tray read on|off command
issue #786
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index 7adc0147..fc0da30f 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1188,6 +1188,11 @@ cons_tray_setting(void)
         cons_show("Tray icon (/tray)                   : ON");
     else
         cons_show("Tray icon (/tray)                   : OFF");
+
+    if (prefs_get_boolean(PREF_TRAY_READ))
+        cons_show("Tray icon read (/tray)              : ON");
+    else
+        cons_show("Tray icon read (/tray)              : OFF");
 }
 
 void