summaryrefslogtreecommitdiff
path: root/mate-panel/panel-applet-frame.c
diff options
context:
space:
mode:
authorVictor Kareh <[email protected]>2025-07-18 10:15:20 -0400
committerVictor Kareh <[email protected]>2025-07-23 10:48:09 -0400
commit796528749b8a3e4227ca736b47f78ece64515b16 (patch)
treeefa490a6d1fc2ebaa955caa4a42c8ecb3b5d06a1 /mate-panel/panel-applet-frame.c
parent4ebcc54c9766c6f9e47a6b23497611e088e0fe99 (diff)
downloadmate-panel-796528749b8a3e4227ca736b47f78ece64515b16.tar.bz2
mate-panel-796528749b8a3e4227ca736b47f78ece64515b16.tar.xz
remove deprecated GtkStockItem
Also replace gtk_dialog_add_button with panel_dialog_add_button to ensure mnemonics and icons are preserved.
Diffstat (limited to 'mate-panel/panel-applet-frame.c')
-rw-r--r--mate-panel/panel-applet-frame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mate-panel/panel-applet-frame.c b/mate-panel/panel-applet-frame.c
index 2b0e4b7f..cadd81aa 100644
--- a/mate-panel/panel-applet-frame.c
+++ b/mate-panel/panel-applet-frame.c
@@ -962,8 +962,8 @@ mate_panel_applet_frame_loading_failed (const char *iid,
_("Do you want to delete the applet "
"from your configuration?"));
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- PANEL_STOCK_DONT_DELETE, LOADING_FAILED_RESPONSE_DONT_DELETE);
+ panel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Don't Delete"), "gtk-cancel", LOADING_FAILED_RESPONSE_DONT_DELETE);
panel_dialog_add_button (GTK_DIALOG (dialog),
_("_Delete"), "edit-delete", LOADING_FAILED_RESPONSE_DELETE);