diff options
author | James Booth <boothj5@gmail.com> | 2016-04-17 23:17:43 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2016-04-17 23:17:43 +0100 |
commit | 2daa02cb60fc27e4dddadc32e487088c38b97b02 (patch) | |
tree | 54f6f1ff3cc2013647478e860280d635036bbc3e /src/ui | |
parent | 6cc04bc3ba85415e6ec532ddf60738961a3a9560 (diff) | |
parent | 4cb1d73a8358f660056156b5632e8c41659eb6e0 (diff) | |
download | profani-tty-2daa02cb60fc27e4dddadc32e487088c38b97b02.tar.gz |
Merge remote-tracking branch 'asdil12/tray_config'
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 10 | ||||
-rw-r--r-- | src/ui/ui.h | 1 |
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); |