diff --git a/Makefile.am b/Makefile.am index d4a8da4d..f28807d6 100644 --- a/Makefile.am +++ b/Makefile.am @@ -6,7 +6,7 @@ profanity_SOURCES = src/command.c src/contact.c src/history.c src/jabber.h \ src/contact_list.c src/input_win.c src/log.h src/profanity.c \ src/prof_history.c src/ui.h src/common.h src/ contact_list.h src/jabber.c \ src/main.c src/profanity.h src/prof_history.h src/chat_log.c \ - src/chat_log.h src/tinyurl.c src/tinyurl.h + src/chat_log.h src/tinyurl.c src/tinyurl.h src/release.c src/release.h TESTS = tests/testsuite check_PROGRAMS = tests/testsuite 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);