From f8a4d21ab394dcad5aa1778c68c31107ccfb70b0 Mon Sep 17 00:00:00 2001 From: James Booth Date: Tue, 23 Oct 2012 23:30:01 +0100 Subject: Added check for latest release --- src/windows.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src') 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); -- cgit 1.4.1-2-gfad0