[Commits] [SCM] claws branch, master, updated. 3.17.0-24-g96806a0

claws at claws-mail.org claws at claws-mail.org
Sun Aug 26 15:36:58 CEST 2018


The branch, master has been updated
       via  96806a08108f1995337324d1e03720666a89e75d (commit)
      from  8932d9161d40453e859b11677d9a5dca72fd0ff6 (commit)

Summary of changes:
 src/common/version.h.in |   10 ++--------
 src/mainwindow.c        |    8 ++++----
 2 files changed, 6 insertions(+), 12 deletions(-)


- Log -----------------------------------------------------------------
commit 96806a08108f1995337324d1e03720666a89e75d
Author: Paul <paul at claws-mail.org>
Date:   Sun Aug 26 14:36:51 2018 +0100

    always show the full version on the mainwindow regardless of --enable-maintainer-mode

diff --git a/src/common/version.h.in b/src/common/version.h.in
index c441b6f..8b6a0e5 100644
--- a/src/common/version.h.in
+++ b/src/common/version.h.in
@@ -1,6 +1,6 @@
 /*
- * Sylpheed -- a GTK+ based, lightweight, and fast e-mail client
- * Copyright (C) 1999-2012 Hiroyuki Yamamoto  and the Claws Mail team
+ * Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
+ * Copyright (C) 1999-2018 the Claws Mail team and 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,13 +28,7 @@
 #define PACKAGE			"@PACKAGE@"
 #define PACKAGE_FRIENDLY	"Claws Mail"
 #define VERSION			"@VERSION@"
-#define RELEASE_VERSION		"@MAJOR_VERSION at .@MINOR_VERSION at .@MICRO_VERSION@"
 #define PROG_VERSION		PACKAGE_FRIENDLY" "VERSION
-#ifdef USE_MAINTAINER_MODE
-#define PROG_VERSION_FRIENDLY	PROG_VERSION
-#else
-#define PROG_VERSION_FRIENDLY	PACKAGE_FRIENDLY" "RELEASE_VERSION
-#endif
 #define VERSION_NUMERIC		MAKE_NUMERIC_VERSION(@MAJOR_VERSION@, @MINOR_VERSION@, \
 						     @MICRO_VERSION@, @EXTRA_VERSION@)
 #define VERSION_GIT_FULL	"@GIT_VERSION@"
diff --git a/src/mainwindow.c b/src/mainwindow.c
index 8e87c70..5259a5d 100644
--- a/src/mainwindow.c
+++ b/src/mainwindow.c
@@ -1,6 +1,6 @@
 /*
    Claws Mail -- a GTK+ based, lightweight, and fast e-mail client
-   Copyright (C) 1999-2016 Hiroyuki Yamamoto and the Claws Mail team
+   Copyright (C) 1999-2018 the Claws Mail team and 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
@@ -1445,7 +1445,7 @@ MainWindow *main_window_create()
 
 	/* main window */
 	window = GTK_WIDGET(gtkut_window_new(GTK_WINDOW_TOPLEVEL, "mainwindow"));
-	gtk_window_set_title(GTK_WINDOW(window), PROG_VERSION_FRIENDLY);
+	gtk_window_set_title(GTK_WINDOW(window), PROG_VERSION);
 	gtk_window_set_resizable(GTK_WINDOW(window), TRUE);
 #ifdef GENERIC_UMPC
 	prefs_common.layout_mode = SMALL_LAYOUT;
@@ -2624,9 +2624,9 @@ static void main_window_show_cur_account(MainWindow *mainwin)
 			   : _("none"));
 
 	if (cur_account)
-		buf = g_strdup_printf("%s - %s", ac_name, PROG_VERSION_FRIENDLY);
+		buf = g_strdup_printf("%s - %s", ac_name, PROG_VERSION);
 	else
-		buf = g_strdup(PROG_VERSION_FRIENDLY);
+		buf = g_strdup(PROG_VERSION);
 	gtk_window_set_title(GTK_WINDOW(mainwin->window), buf);
 	g_free(buf);
 

-----------------------------------------------------------------------


hooks/post-receive
-- 
Claws Mail


More information about the Commits mailing list