mirror of
https://github.com/Gnucash/gnucash.git
synced 2026-10-13 01:41:59 -05:00
Add the current version number or cvs build date to the splash screen.
git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7050 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
1 parent
f232f64158
commit
9dec16811b
3 files changed
+15
-1
No files matched your search
@@ -1,3 +1,9 @@
|
||||
2002-06-29 David Hampton <hampton@employees.org>
|
||||
|
||||
* configure.in:
|
||||
* src/gnome/gnc-splash.c (gnc_show_splash_screen): Add the current
|
||||
version number (or cvs build time) to the splash screen.
|
||||
|
||||
2002-06-27 Derek Atkins <derek@ihtfp.com>
|
||||
|
||||
* Change the "Owner Report" to a "Customer Report" and "Vendor
|
||||
|
||||
@@ -34,10 +34,12 @@ GNUCASH_MAJOR_VERSION=1
|
||||
GNUCASH_MINOR_VERSION=7
|
||||
GNUCASH_MICRO_VERSION=0
|
||||
GNUCASH_VERSION=$GNUCASH_MAJOR_VERSION.$GNUCASH_MINOR_VERSION.$GNUCASH_MICRO_VERSION
|
||||
GNUCASH_BUILD_DATE=`date --iso-8601=date`
|
||||
|
||||
AC_SUBST(GNUCASH_MAJOR_VERSION)
|
||||
AC_SUBST(GNUCASH_MINOR_VERSION)
|
||||
AC_SUBST(GNUCASH_MICRO_VERSION)
|
||||
AC_SUBST(GNUCASH_BUILD_DATE)
|
||||
|
||||
AM_INIT_AUTOMAKE(gnucash,$GNUCASH_VERSION)
|
||||
|
||||
@@ -48,6 +50,7 @@ AM_CONFIG_HEADER(config.h)
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_MAJOR_VERSION, $GNUCASH_MAJOR_VERSION)
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_MINOR_VERSION, $GNUCASH_MINOR_VERSION)
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_MICRO_VERSION, $GNUCASH_MICRO_VERSION)
|
||||
AC_DEFINE_UNQUOTED(GNUCASH_BUILD_DATE, "$GNUCASH_BUILD_DATE", When configure was last run)
|
||||
|
||||
dnl Set of available languages.
|
||||
ALL_LINGUAS="da de en_GB es es_NI fr hu it ja no pt pt_BR ru sv"
|
||||
|
||||
@@ -81,7 +81,12 @@ gnc_show_splash_screen (void)
|
||||
frame = gtk_frame_new (NULL);
|
||||
vbox = gtk_vbox_new (FALSE, 3);
|
||||
hbox = gtk_hbox_new (FALSE, 0);
|
||||
sprintf(ver_string, "Version: Gnucash-%s", VERSION);
|
||||
if (GNUCASH_MINOR_VERSION % 2) {
|
||||
sprintf(ver_string, _("Version: Gnucash-cvs (built %s)"),
|
||||
GNUCASH_BUILD_DATE);
|
||||
} else {
|
||||
sprintf(ver_string, _("Version: Gnucash-%s"), VERSION);
|
||||
}
|
||||
version = gtk_label_new (ver_string);
|
||||
|
||||
gtk_container_add (GTK_CONTAINER (frame), pixmap);
|
||||
|
||||
Reference in new issue
Block a user