summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/about.c1
-rw-r--r--src/progress.c7
2 files changed, 6 insertions, 2 deletions
diff --git a/src/about.c b/src/about.c
index 2adcf642..182a8165 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 aad133a2..f7444c42 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;
bgstack15