summaryrefslogtreecommitdiff
path: root/src/about.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-01-24 16:16:40 +0000
committerGlynn Foster <gman@src.gnome.org>2003-01-24 16:16:40 +0000
commit89255c3b352855d728ae3adc20b0cdd90fe582dd (patch)
treef11eb7e80cb88a3844d401070e32417272a0a804 /src/about.c
parentJohn Fleck <jfleck@inkstain.net> (diff)
downloadzenity-89255c3b352855d728ae3adc20b0cdd90fe582dd.tar.gz
zenity-89255c3b352855d728ae3adc20b0cdd90fe582dd.tar.bz2
zenity-89255c3b352855d728ae3adc20b0cdd90fe582dd.zip
Provide correct help URL.
2003-01-24 Glynn Foster <glynn.foster@sun.com> * src/about.c: Provide correct help URL. * src/util.h, src/util.c: Add functions from libgnome/gnome-i18n so that we can correctly find the apropriate help file. * xmldocs.make: Install help into $(datadir)/help/$(lang)/ * THANKS: Update from the code I stole from libgnome
Diffstat (limited to 'src/about.c')
-rw-r--r--src/about.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/about.c b/src/about.c
index fcc9352b..9bca0cc3 100644
--- a/src/about.c
+++ b/src/about.c
@@ -30,6 +30,7 @@
#include <glade/glade.h>
#define GTK_RESPONSE_CREDITS 0
+#define ZENITY_HELP_PATH ZENITY_DATADIR "/help/"
static GtkWidget *dialog;
static GtkWidget *cred_dialog;
@@ -46,6 +47,7 @@ static const gchar *author_credits[] = {
"Havoc Pennington <hp@redhat.com>",
"Kristian Rietveld <kris@gtk.org>",
"Jakub Steiner <jimmac@ximian.com>",
+ "Tom Tromey <tromey@redhat.com>"
NULL
};
@@ -240,7 +242,6 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
{
ZenityData *zen_data = data;
GError *error = NULL;
- gchar *help_string;
switch (response) {
case GTK_RESPONSE_OK:
@@ -249,8 +250,7 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
break;
case GTK_RESPONSE_HELP:
- help_string = g_strconcat ("ghelp://", ZENITY_DATADIR, "help/zenity", NULL);
- zenity_util_show_help (help_string, NULL);
+ zenity_util_show_help (ZENITY_HELP_PATH, "zenity.xml", NULL);
break;
case GTK_RESPONSE_CREDITS:
bgstack15