From 1659717c7e8c18be01154b00cc20ef830ebf169b Mon Sep 17 00:00:00 2001 From: hiro Date: Mon, 17 Jan 2011 02:23:38 +0000 Subject: added build revision to the about dialog. git-svn-id: svn://sylpheed.sraoss.jp/sylpheed/trunk@2796 ee746299-78ed-0310-b773-934348b2243d --- ChangeLog | 5 +++++ src/about.c | 5 +++-- src/version.h.in | 4 +++- 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 67b60eb8..78e55dc0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2011-01-17 + + * src/version.h.in + src/about.c: added build revision to the about dialog. + 2011-01-17 * src/summaryview.c: summary_get_tmp_marked_msg_list(): don't use diff --git a/src/about.c b/src/about.c index fc40081a..4721ea0e 100644 --- a/src/about.c +++ b/src/about.c @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2010 Hiroyuki Yamamoto + * Copyright (C) 1999-2011 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -104,7 +104,8 @@ static void about_create(void) pixmap = stock_pixbuf_widget(window, STOCK_PIXMAP_SYLPHEED_LOGO); gtk_box_pack_start(GTK_BOX(vbox), pixmap, FALSE, FALSE, 0); - label = gtk_label_new("version "VERSION); + label = gtk_label_new("Version " VERSION + " (Build: " Xstr(BUILD_REVISION) ")"); gtk_label_set_selectable(GTK_LABEL(label), TRUE); gtk_box_pack_start(GTK_BOX(vbox), label, FALSE, FALSE, 0); diff --git a/src/version.h.in b/src/version.h.in index 8e7affa6..d0b7141f 100644 --- a/src/version.h.in +++ b/src/version.h.in @@ -1,6 +1,6 @@ /* * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client - * Copyright (C) 1999-2009 Hiroyuki Yamamoto + * Copyright (C) 1999-2011 Hiroyuki Yamamoto * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -28,4 +28,6 @@ #define EXTRA_VERSION "@EXTRA_VERSION@" #define PROG_VERSION "Sylpheed " VERSION +#define BUILD_REVISION @BUILD_REVISION@ + #endif /* __VERSION_H__ */ -- cgit v1.2.3