summaryrefslogtreecommitdiff
path: root/mate-panel/panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'mate-panel/panel.c')
-rw-r--r--mate-panel/panel.c13
1 files changed, 9 insertions, 4 deletions
diff --git a/mate-panel/panel.c b/mate-panel/panel.c
index aa129e4b..72b9e6cd 100644
--- a/mate-panel/panel.c
+++ b/mate-panel/panel.c
@@ -22,6 +22,7 @@
#include <gtk/gtkx.h> /* for GTK_IS_SOCKET */
#include <libpanel-util/panel-glib.h>
+#include <libpanel-util/panel-gtk.h>
#include "panel.h"
@@ -1342,10 +1343,14 @@ panel_deletion_dialog (PanelToplevel *toplevel)
gtk_message_dialog_format_secondary_text (GTK_MESSAGE_DIALOG (dialog),
"%s", text2);
- gtk_dialog_add_buttons (GTK_DIALOG (dialog),
- "gtk-cancel", GTK_RESPONSE_CANCEL,
- "gtk-delete", GTK_RESPONSE_OK,
- NULL);
+
+ panel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Cancel"), "process-stop",
+ GTK_RESPONSE_CANCEL);
+
+ panel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Delete"), "edit-delete",
+ GTK_RESPONSE_OK);
gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_CANCEL);