Use PACKAGE_URL from config.h instead of literal string
authorJohn Darrington <john@darrington.wattle.id.au>
Sat, 2 Jul 2011 09:05:16 +0000 (11:05 +0200)
committerJohn Darrington <john@darrington.wattle.id.au>
Sat, 2 Jul 2011 09:05:16 +0000 (11:05 +0200)
src/ui/gui/help-menu.c

index aaadefc2b36b0c60c21545ed88565f962b69adea..1015fda89811d0e826101da7765b1c26eb23c7fd 100644 (file)
@@ -48,8 +48,7 @@ about_new (GtkMenuItem *m, GtkWindow *parent)
 
   gtk_window_set_icon_name (GTK_WINDOW (about), "psppicon");
 
-  gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about),
-                               "http://www.gnu.org/software/pspp");
+  gtk_about_dialog_set_website (GTK_ABOUT_DIALOG (about), PACKAGE_URL);
 
   gtk_about_dialog_set_version (GTK_ABOUT_DIALOG (about),
                                bare_version);
@@ -98,7 +97,7 @@ reference_manual (GtkMenuItem *menu, gpointer data)
       msg (ME, _("Cannot open reference manual: %s.  The PSPP user manual is "
                  "also available at %s"),
                   err->message,
-                  "http://www.gnu.org/software/pspp/documentation.html");
+                  PACKAGE_URL "documentation.html");
     }
 
   g_free (cmd);