mirror of
https://git.jabber.space/devs/cproof.git
synced 2026-07-25 18:16:21 +00:00
Make tray icon configurable using /tray cmd
This commit is contained in:
@@ -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();
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user