Use the actual version number.

git-svn-id: svn+ssh://svn.gnucash.org/repo/gnucash/trunk@7047 57a11ea4-9604-0410-9ed3-97b8803252fd
This commit is contained in:
David Hampton 2002-06-28 22:51:04 +00:00
parent 2c66ccb656
commit 089f36853f

View File

@ -57,6 +57,7 @@ gnc_show_splash_screen (void)
GtkWidget *vbox; GtkWidget *vbox;
GtkWidget *hbox; GtkWidget *hbox;
GtkWidget *version; GtkWidget *version;
gchar ver_string[50];
if (splash) return; if (splash) return;
@ -80,7 +81,8 @@ gnc_show_splash_screen (void)
frame = gtk_frame_new (NULL); frame = gtk_frame_new (NULL);
vbox = gtk_vbox_new (FALSE, 3); vbox = gtk_vbox_new (FALSE, 3);
hbox = gtk_hbox_new (FALSE, 0); hbox = gtk_hbox_new (FALSE, 0);
version = gtk_label_new ("Version: Gnucash-CVS"); sprintf(ver_string, "Version: Gnucash-%s", VERSION);
version = gtk_label_new (ver_string);
gtk_container_add (GTK_CONTAINER (frame), pixmap); gtk_container_add (GTK_CONTAINER (frame), pixmap);
gtk_box_pack_end (GTK_BOX (hbox), version, TRUE, TRUE, 0); gtk_box_pack_end (GTK_BOX (hbox), version, TRUE, TRUE, 0);