diff options
author | Backalor <backalor@backalor.com> | 2013-01-21 10:26:09 +0900 |
---|---|---|
committer | Backalor <backalor@backalor.com> | 2013-01-21 10:26:09 +0900 |
commit | a0a1f9017f01af9be6cac3280b47f9ae586b06ef (patch) | |
tree | 922d3a2c20bca505ae01cf6b646e506c46e6e2e1 /src/windows.c | |
parent | ba0438607cf377af100987413b024d755963b969 (diff) | |
download | profani-tty-a0a1f9017f01af9be6cac3280b47f9ae586b06ef.tar.gz |
Add new command /statuses for status notifications
Diffstat (limited to 'src/windows.c')
-rw-r--r-- | src/windows.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/windows.c b/src/windows.c index ea3a6815..eb9b4580 100644 --- a/src/windows.c +++ b/src/windows.c @@ -1227,6 +1227,11 @@ cons_show_ui_prefs(void) cons_show("Version checking (/vercheck) : ON"); else cons_show("Version checking (/vercheck) : OFF"); + + if (prefs_get_statuses()) + cons_show("Status (/statuses) : ON"); + else + cons_show("Status (/statuses) : OFF"); } void @@ -1253,11 +1258,6 @@ cons_show_desktop_prefs(void) } else { cons_show("Reminder period (/notify remind) : %d seconds", remind_period); } - - if (prefs_get_notify_status()) - cons_show("Status (/notify status) : ON"); - else - cons_show("Status (/notify status) : OFF"); } void @@ -1971,7 +1971,7 @@ _show_status_string(WINDOW *win, const char * const from, GDateTime *last_activity, const char * const pre, const char * const default_show) { - if (!prefs_get_notify_status()) + if (!prefs_get_statuses()) return; _win_show_time(win); |