[gnome-terminal] about: Show vte features
- From: Christian Persch <chpe src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] about: Show vte features
- Date: Tue, 20 Jan 2015 17:02:19 +0000 (UTC)
commit f3674ecfb1d68eb453408f5bef9e0934124abddd
Author: Christian Persch <chpe gnome org>
Date: Tue Jan 20 18:00:20 2015 +0100
about: Show vte features
configure.ac | 2 +-
src/terminal-util.c | 8 +++++---
2 files changed, 6 insertions(+), 4 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index ec979e9..d002d1e 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ case "$with_gtk" in
3.0) GTK_API_VERSION=3.0
GTK_REQUIRED=3.10.0
VTE_API_VERSION=2.91
- VTE_REQUIRED=0.39.0
+ VTE_REQUIRED=0.39.2
;;
esac
diff --git a/src/terminal-util.c b/src/terminal-util.c
index 45e9f75..7dbe96b 100644
--- a/src/terminal-util.c
+++ b/src/terminal-util.c
@@ -204,7 +204,7 @@ terminal_util_show_about (GtkWindow *transient_parent)
g_ptr_array_add (array, EMAILIFY (contributors[i]));
}
g_free (contributors); /* strings are now owned by the array */
-
+
g_ptr_array_add (array, NULL);
array_strv = (char **) g_ptr_array_free (array, FALSE);
@@ -219,9 +219,11 @@ terminal_util_show_about (GtkWindow *transient_parent)
vte_get_major_version (),
vte_get_minor_version (),
vte_get_micro_version ());
- comment = g_strdup_printf("%s\n%s",
+
+ comment = g_strdup_printf("%s\n%s %s",
_("A terminal emulator for the GNOME desktop"),
- vte_version);
+ vte_version,
+ vte_get_features ());
gtk_show_about_dialog (transient_parent,
"program-name", _("GNOME Terminal"),
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]