[bijiben] aboutDialog: Add and update some properties



commit 3f889f811302290154cf255ef15b4e498bffba31
Author: Arnel A. Borja <arnelborja src gnome org>
Date:   Sun Aug 25 23:18:08 2013 +0200

    aboutDialog: Add and update some properties
    
    - Use license-type property to set license
    - Add credits for authors and artists
    - Update copyright string to match other GNOME applications
    
    https://bugzilla.gnome.org/show_bug.cgi?id=706753

 src/bjb-app-menu.c |   16 ++++++++++++++--
 1 files changed, 14 insertions(+), 2 deletions(-)
---
diff --git a/src/bjb-app-menu.c b/src/bjb-app-menu.c
index 0f29725..23f41f6 100644
--- a/src/bjb-app-menu.c
+++ b/src/bjb-app-menu.c
@@ -30,13 +30,25 @@
 void show_about_dialog(GtkApplication *app)
 {
   GList * windows = gtk_application_get_windows (app);
+
+  const gchar *authors[] = {
+    "Pierre-Yves Luyten <py luyten fr>",
+    NULL
+  };
+
+  const gchar *artists[] = {
+    "William Jon McCann <jmccann redhat com>",
+    NULL
+  };
   
   gtk_show_about_dialog( g_list_nth_data (windows, 0),
   "program-name", _("Notes"),
   "comments", _("Simple notebook for GNOME"),
-  "license", "GPLv3",
+  "license-type", GTK_LICENSE_GPL_3_0,
   "version", VERSION,
-  "copyright", "Pierre-Yves Luyten 2013",
+  "copyright", "Copyright © 2013 Pierre-Yves Luyten",
+  "authors", authors,
+  "artists", artists,
   "translator-credits", _("translator-credits"),
   "website", "https://wiki.gnome.org/Apps/Bijiben";,
   NULL,NULL,NULL);


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