diff options
author | Glynn Foster <glynn.foster@sun.com> | 2003-05-24 01:36:24 +0000 |
---|---|---|
committer | Glynn Foster <gman@src.gnome.org> | 2003-05-24 01:36:24 +0000 |
commit | 1acd9cfed892c8a277199912d099f7c5ff7a94ca (patch) | |
tree | 6c20990f22220513382924987e3448ed0a09554c /src | |
parent | 1930a4a763d2136ea41fbdb6daa4249853b950d2 (diff) |
Patch from Dagmar d'Surreal <dagmar@speakeasy.net> to correct help docs
2003-05-24 Glynn Foster <glynn.foster@sun.com>
* help/C/zenity.xml: Patch from Dagmar d'Surreal
<dagmar@speakeasy.net> to correct help docs and
script examples for the change from --dialog-title to
--title.
* THANKS, src/about.c: Add Dagmar.
* src/progress.c: For now, just send a SIGHUP to the
parent process - not entirely sure if this is the best thing
to do right now.
Diffstat (limited to 'src')
-rw-r--r-- | src/about.c | 1 | ||||
-rw-r--r-- | src/progress.c | 7 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/about.c b/src/about.c index 2adcf64..182a816 100644 --- a/src/about.c +++ b/src/about.c @@ -59,6 +59,7 @@ static const gchar *author_credits[] = { "Havoc Pennington <hp@redhat.com>", "Kristian Rietveld <kris@gtk.org>", "Jakub Steiner <jimmac@ximian.com>", + "Daniel d'Surreal <dagmar@speakeasy.net>", "Tom Tromey <tromey@redhat.com>", NULL }; diff --git a/src/progress.c b/src/progress.c index aad133a..f7444c4 100644 --- a/src/progress.c +++ b/src/progress.c @@ -212,8 +212,11 @@ zenity_progress_dialog_response (GtkWidget *widget, int response, gpointer data) break; case GTK_RESPONSE_CANCEL: - /* FIXME: This should kill off the parent process - not entirely sure how to achieve this */ - kill (0); + /* FIXME: This should kill off the parent process nicely and return an error code + * I'm pretty sure there is a nice way to do this, but I'm clueless about this + * stuff. Should be using SIGHUP instead of 1 though. + */ + kill (getpid (), 1); zen_data->exit_code = 1; gtk_main_quit (); break; |