diff options
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/console.c | 14 | ||||
-rw-r--r-- | src/ui/ui.h | 3 |
2 files changed, 17 insertions, 0 deletions
diff --git a/src/ui/console.c b/src/ui/console.c index c104e21b..73cfbfd1 100644 --- a/src/ui/console.c +++ b/src/ui/console.c @@ -1182,6 +1182,17 @@ cons_flash_setting(void) cons_show("Terminal flash (/flash) : OFF"); } +#ifdef HAVE_GTK +void +cons_tray_setting(void) +{ + if (prefs_get_boolean(PREF_TRAY)) + cons_show("Tray icon (/tray) : ON"); + else + cons_show("Tray icon (/tray) : OFF"); +} +#endif + void cons_splash_setting(void) { @@ -1497,6 +1508,9 @@ cons_show_ui_prefs(void) cons_theme_setting(); cons_beep_setting(); cons_flash_setting(); +#ifdef HAVE_GTK + cons_tray_setting(); +#endif cons_splash_setting(); cons_wrap_setting(); cons_winstidy_setting(); diff --git a/src/ui/ui.h b/src/ui/ui.h index 924ba33c..09215595 100644 --- a/src/ui/ui.h +++ b/src/ui/ui.h @@ -284,6 +284,9 @@ void cons_privileges_setting(void); void cons_beep_setting(void); void cons_console_setting(void); void cons_flash_setting(void); +#ifdef HAVE_GTK +void cons_tray_setting(void); +#endif void cons_splash_setting(void); void cons_encwarn_setting(void); void cons_tlsshow_setting(void); |