summaryrefslogtreecommitdiff
path: root/eel
diff options
context:
space:
mode:
Diffstat (limited to 'eel')
-rw-r--r--eel/eel-stock-dialogs.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/eel/eel-stock-dialogs.c b/eel/eel-stock-dialogs.c
index 752fbebb..e2bf9477 100644
--- a/eel/eel-stock-dialogs.c
+++ b/eel/eel-stock-dialogs.c
@@ -385,7 +385,12 @@ eel_run_simple_dialog (GtkWidget *parent, gboolean ignore_close_box,
{
break;
}
- gtk_dialog_add_button (GTK_DIALOG (dialog), button_title, response_id);
+
+ if (g_strcmp0 (button_title, "process-stop") == 0)
+ mate_dialog_add_button (GTK_DIALOG (dialog), _("_Cancel"), button_title, response_id);
+ else
+ mate_dialog_add_button (GTK_DIALOG (dialog), _("_OK"), button_title, response_id);
+
gtk_dialog_set_default_response (GTK_DIALOG (dialog), response_id);
response_id++;
}