summaryrefslogtreecommitdiff
path: root/src/about.c
diff options
context:
space:
mode:
authorGlynn Foster <glynn.foster@sun.com>2003-01-19 12:48:57 +0000
committerGlynn Foster <gman@src.gnome.org>2003-01-19 12:48:57 +0000
commit3a90fe71679d726ffe39ad2a7ee9104485d53005 (patch)
tree27dcb8eb7cccf77c3829aa18feb06c7d6a8212fd /src/about.c
parentFixed a missing closing tag. (diff)
downloadzenity-3a90fe71679d726ffe39ad2a7ee9104485d53005.tar.gz
zenity-3a90fe71679d726ffe39ad2a7ee9104485d53005.tar.bz2
zenity-3a90fe71679d726ffe39ad2a7ee9104485d53005.zip
Attempt to make things work after 2 bottles of wine last night. Harmless
2003-01-19 Glynn Foster <glynn.foster@sun.com> * src/about.c: Attempt to make things work after 2 bottles of wine last night. Harmless changes though, so I'll commit them for posterity. * src/main.c: Add a new helper function for the error reporting that makes the translators life easier. Thanks to Ole for spotting this. * src/text.c, src/zenity.h: Lame white spacing hacking. * xmldocs.make: Put the docs in $(datadir)/help - not quite sure yet if yelp is going to like this or not.
Diffstat (limited to 'src/about.c')
-rw-r--r--src/about.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/about.c b/src/about.c
index d260f608..fcc9352b 100644
--- a/src/about.c
+++ b/src/about.c
@@ -36,6 +36,7 @@ static GtkWidget *cred_dialog;
static void zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data);
+/* Sync with the people in the THANKS file */
static const gchar *author_credits[] = {
"Jonathan Blanford <jrb@redhat.com>",
"Anders Carlsson <andersca@gnu.org>",
@@ -239,6 +240,7 @@ 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:
@@ -247,7 +249,8 @@ zenity_about_dialog_response (GtkWidget *widget, int response, gpointer data)
break;
case GTK_RESPONSE_HELP:
- zenity_util_show_help ("ghelp:///", NULL);
+ help_string = g_strconcat ("ghelp://", ZENITY_DATADIR, "help/zenity", NULL);
+ zenity_util_show_help (help_string, NULL);
break;
case GTK_RESPONSE_CREDITS:
bgstack15