[gtk/matthiasc/for-master: 4/6] print-editor: Cosmetics



commit 3398056f6ee8c7868b972bb316bbd2e57ba4911a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sun May 10 12:59:27 2020 -0400

    print-editor: Cosmetics
    
    Make the about dialog a bit less barren.

 tests/print-editor.c | 9 +++++----
 1 file changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/tests/print-editor.c b/tests/print-editor.c
index 646f3fe93f..8b90af1efe 100644
--- a/tests/print-editor.c
+++ b/tests/print-editor.c
@@ -1,3 +1,4 @@
+#include <config.h>
 #include <math.h>
 #include <pango/pangocairo.h>
 #include <gtk/gtk.h>
@@ -580,10 +581,10 @@ activate_about (GSimpleAction *action,
   };
   gtk_show_about_dialog (GTK_WINDOW (main_window),
                          "name", "Print Test Editor",
-                         "logo-icon-name", "text-editor",
-                         "version", "0.1",
-                         "copyright", "(C) Red Hat, Inc",
-                         "comments", "Program to demonstrate GTK+ printing.",
+                         "logo-icon-name", "text-editor-symbolic",
+                         "version", PACKAGE_VERSION,
+                         "copyright", "© 2006-2020 Red Hat, Inc",
+                         "comments", "Program to demonstrate GTK printing.",
                          "authors", authors,
                          NULL);
 }


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