[gnome-terminal] client: legacy: Add VTE version and features to --version output



commit 0fc5f25e2a685f3ccb38b7642a5e6299d790ad6e
Author: Christian Persch <chpe src gnome org>
Date:   Tue Sep 27 17:42:09 2016 +0200

    client: legacy: Add VTE version and features to --version output
    
    https://bugzilla.gnome.org/show_bug.cgi?id=771960

 src/terminal-options.c |    7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)
---
diff --git a/src/terminal-options.c b/src/terminal-options.c
index 4d33a4d..72181ee 100644
--- a/src/terminal-options.c
+++ b/src/terminal-options.c
@@ -255,7 +255,12 @@ option_version_cb (const gchar *option_name,
                    gpointer     data,
                    GError     **error)
 {
-  g_print ("%s %s\n", _("GNOME Terminal"), VERSION);
+  g_print ("%s %s ", _("GNOME Terminal"), VERSION);
+  g_print (_("Using VTE version %u.%u.%u"),
+           vte_get_major_version (),
+           vte_get_minor_version (),
+           vte_get_micro_version ());
+  g_print (" %s\n", vte_get_features ());
 
   exit (EXIT_SUCCESS);
 }


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]