From 796528749b8a3e4227ca736b47f78ece64515b16 Mon Sep 17 00:00:00 2001 From: Victor Kareh Date: Fri, 18 Jul 2025 10:15:20 -0400 Subject: remove deprecated GtkStockItem Also replace gtk_dialog_add_button with panel_dialog_add_button to ensure mnemonics and icons are preserved. --- mate-panel/panel-applet-frame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mate-panel/panel-applet-frame.c') 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); -- cgit v1.2.1