[gnome-video-arcade] Add a website link to the About dialog.



commit ba61d1ba81d793a2c21f25dd3968087d146a12f5
Author: Matthew Barnes <mbarnes redhat com>
Date:   Sat Mar 6 16:15:09 2010 -0500

    Add a website link to the About dialog.

 src/gva-ui.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
---
diff --git a/src/gva-ui.c b/src/gva-ui.c
index 0d79d6f..62ad3d7 100644
--- a/src/gva-ui.c
+++ b/src/gva-ui.c
@@ -42,6 +42,9 @@
 #define SQL_INSERT_LASTPLAYED \
         "INSERT INTO lastplayed VALUES ('%s', %" G_GINT64_FORMAT ")"
 
+#define WEBSITE_URL \
+        "http://mbarnes.github.com/gnome-video-arcade";
+
 static GtkBuilder *builder = NULL;
 static GtkUIManager *manager = NULL;
 static GtkActionGroup *action_group = NULL;
@@ -147,6 +150,8 @@ action_about_cb (GtkAction *action)
                 "copyright", copyright,
                 "license", license,
                 "wrap-license", TRUE,
+                "website", WEBSITE_URL,
+                "website-label", _("Visit the Website"),
                 "authors", authors,
                 "translator-credits", _("translator-credits"),
                 "logo", logo,



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