summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPablo Barciela <[email protected]>2020-03-18 17:47:50 +0100
committerZenWalker <[email protected]>2020-03-21 13:33:56 +0100
commitd782ec1ae0fe19614e4c5c6573cf63bc9ab678f9 (patch)
tree9e4f4df5261eb2568f58c1be7474337eb01350fc
parentc21a7b374f420b224c24307325061b3bb55aa3bf (diff)
downloadmate-terminal-d782ec1ae0fe19614e4c5c6573cf63bc9ab678f9.tar.bz2
mate-terminal-d782ec1ae0fe19614e4c5c6573cf63bc9ab678f9.tar.xz
terminal-window: show VTE version in about dialog
-rw-r--r--src/terminal-window.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 0ba62b7..2b85468 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -4416,6 +4416,7 @@ help_about_callback (GtkAction *action,
GKeyFile *key_file;
GError *error = NULL;
char **authors, **contributors, **artists, **documenters, **array_strv;
+ gchar *comments = NULL;
gsize data_len, n_authors = 0, n_contributors = 0, n_artists = 0, n_documenters = 0 , i;
GPtrArray *array;
@@ -4462,6 +4463,9 @@ help_about_callback (GtkAction *action,
licence_text = terminal_util_get_licence_text ();
+ comments = g_strdup_printf (_("A terminal emulator for the MATE desktop\nUsing VTE %d.%d.%d"),
+ vte_get_major_version (), vte_get_minor_version (), vte_get_micro_version ());
+
gtk_show_about_dialog (GTK_WINDOW (window),
"program-name", _("MATE Terminal"),
"version", VERSION,
@@ -4472,7 +4476,7 @@ help_about_callback (GtkAction *action,
"Copyright \xc2\xa9 2007–2010 Christian Persch\n"
"Copyright \xc2\xa9 2011 Perberos\n"
"Copyright \xc2\xa9 2012-2020 MATE developers"),
- "comments", _("A terminal emulator for the MATE desktop"),
+ "comments", comments,
"authors", array_strv,
"artists", artists,
"documenters", documenters,
@@ -4483,6 +4487,7 @@ help_about_callback (GtkAction *action,
"website", "https://mate-desktop.org",
NULL);
+ g_free (comments);
g_strfreev (array_strv);
g_strfreev (artists);
g_strfreev (documenters);