[california] Added web URL to About box



commit e01bb1492ae92e2ff2ca22711641d2afc1b6ead5
Author: Jim Nelson <jim yorba org>
Date:   Mon Mar 10 15:36:32 2014 -0700

    Added web URL to About box

 src/application/california-application.vala |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/application/california-application.vala b/src/application/california-application.vala
index 8fc1f8b..a128800 100644
--- a/src/application/california-application.vala
+++ b/src/application/california-application.vala
@@ -17,6 +17,8 @@ public class Application : Gtk.Application {
     public const string DESCRIPTION = _("Desktop Calendar");
     public const string COPYRIGHT = _("Copyright 2014 Yorba Foundation");
     public const string VERSION = PACKAGE_VERSION;
+    public const string WEBSITE_NAME = _("Visit California's home page");
+    public const string WEBSITE_URL = "https://wiki.gnome.org/Apps/California";;
     public const string ID = "org.yorba.california";
     public const string ICON_NAME = "x-office-calendar";
     
@@ -103,8 +105,6 @@ public class Application : Gtk.Application {
     }
     
     private void on_about() {
-        // TODO: "website"
-        // TODO: "website-label"
         Gtk.show_about_dialog(main_window,
             "program-name", TITLE,
             "comments", DESCRIPTION,
@@ -114,6 +114,8 @@ public class Application : Gtk.Application {
             "version", VERSION,
             "title", _("About %s").printf(TITLE),
             "logo-icon-name", ICON_NAME,
+            "website", WEBSITE_URL,
+            "website-label", WEBSITE_NAME,
             /// Translators: add your name and email address to receive credit in the About dialog
             /// For example: Yamada Taro <yamada taro example com>
             "translator-credits", _("translator-credits")


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