about summary refs log tree commit diff stats
path: root/src/ui
diff options
context:
space:
mode:
Diffstat (limited to 'src/ui')
-rw-r--r--src/ui/console.c10
-rw-r--r--src/ui/ui.h1
2 files changed, 11 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c
index c104e21b..43cad63d 100644
--- a/src/ui/console.c
+++ b/src/ui/console.c
@@ -1183,6 +1183,15 @@ cons_flash_setting(void)
 }
 
 void
+cons_tray_setting(void)
+{
+    if (prefs_get_boolean(PREF_TRAY))
+        cons_show("Tray icon (/tray)                   : ON");
+    else
+        cons_show("Tray icon (/tray)                   : OFF");
+}
+
+void
 cons_splash_setting(void)
 {
     if (prefs_get_boolean(PREF_SPLASH))
@@ -1611,6 +1620,7 @@ cons_show_desktop_prefs(void)
     cons_show("Desktop notification preferences:");
     cons_show("");
     cons_notify_setting();
+    cons_tray_setting();
 
     cons_alert();
 }
diff --git a/src/ui/ui.h b/src/ui/ui.h
index 924ba33c..01ae3953 100644
--- a/src/ui/ui.h
+++ b/src/ui/ui.h
@@ -284,6 +284,7 @@ void cons_privileges_setting(void);
 void cons_beep_setting(void);
 void cons_console_setting(void);
 void cons_flash_setting(void);
+void cons_tray_setting(void);
 void cons_splash_setting(void);
 void cons_encwarn_setting(void);
 void cons_tlsshow_setting(void);