mirror of
https://github.com/Gnucash/gnucash.git
synced 2025-02-25 18:55:30 -06:00
Display detected Finance::Quote version in About dialog
This commit is contained in:
parent
52b0c06d30
commit
b4c620478c
@ -4500,11 +4500,13 @@ gnc_main_window_cmd_help_about (GtkAction *action, GncMainWindow *window)
|
||||
/* Allow builder to override the build id (eg distributions may want to
|
||||
* print an package source version number (rpm, dpkg,...) instead of our git ref */
|
||||
if (g_strcmp0("", GNUCASH_BUILD_ID) != 0)
|
||||
version = g_strdup_printf ("%s: %s\n%s: %s", _("Version"), VERSION,
|
||||
_("Build ID"), GNUCASH_BUILD_ID);
|
||||
version = g_strdup_printf ("%s: %s\n%s: %s\nFinance::Quote: %s", _("Version"), VERSION,
|
||||
_("Build ID"), GNUCASH_BUILD_ID,
|
||||
gnc_quote_source_fq_version () ? gnc_quote_source_fq_version () : "-");
|
||||
else
|
||||
version = g_strdup_printf ("%s: %s\n%s: %s%s (%s)", _("Version"), VERSION,
|
||||
_("Build ID"), vcs, GNC_VCS_REV, GNC_VCS_REV_DATE);
|
||||
version = g_strdup_printf ("%s: %s\n%s: %s%s (%s)\nFinance::Quote: %s", _("Version"), VERSION,
|
||||
_("Build ID"), vcs, GNC_VCS_REV, GNC_VCS_REV_DATE,
|
||||
gnc_quote_source_fq_version () ? gnc_quote_source_fq_version () : "-");
|
||||
priv->about_dialog = gtk_about_dialog_new ();
|
||||
g_object_set (priv->about_dialog,
|
||||
"authors", authors,
|
||||
|
Loading…
Reference in New Issue
Block a user