mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
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:
parent
2c66ccb656
commit
089f36853f
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user