diff options
author | James Booth <boothj5@gmail.com> | 2012-10-23 23:30:01 +0100 |
---|---|---|
committer | James Booth <boothj5@gmail.com> | 2012-10-23 23:30:01 +0100 |
commit | f8a4d21ab394dcad5aa1778c68c31107ccfb70b0 (patch) | |
tree | c020c28ec72f89e3ed0cd94ee9fec0fae3fee7f9 /src | |
parent | abec6ae07c765c6bbb8ac84199a6cc3dbd3f3cb3 (diff) | |
download | profani-tty-f8a4d21ab394dcad5aa1778c68c31107ccfb70b0.tar.gz |
Added check for latest release
Diffstat (limited to 'src')
-rw-r--r-- | src/windows.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/windows.c b/src/windows.c index 3183222f..46b924ee 100644 --- a/src/windows.c +++ b/src/windows.c @@ -42,6 +42,7 @@ #include "contact_list.h" #include "log.h" #include "preferences.h" +#include "release.h" #include "ui.h" #define CONS_WIN_TITLE "_cons" @@ -838,6 +839,13 @@ cons_about(void) wprintw(_cons_win, "Type '/help' to show complete help.\n"); _win_show_time(_cons_win); wprintw(_cons_win, "\n"); + + char *latest_release = release_get_latest(); + _win_show_time(_cons_win); + wprintw(_cons_win, "RELEASE: %s", latest_release); + free(latest_release); + _win_show_time(_cons_win); + wprintw(_cons_win, "\n"); prefresh(_cons_win, 0, 0, 1, 0, rows-3, cols-1); |