summaryrefslogtreecommitdiff
path: root/mate-panel/panel-force-quit.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-force-quit.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-force-quit.c')
-rw-r--r--mate-panel/panel-force-quit.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mate-panel/panel-force-quit.c b/mate-panel/panel-force-quit.c
index 13b0139f..50a3be7d 100644
--- a/mate-panel/panel-force-quit.c
+++ b/mate-panel/panel-force-quit.c
@@ -249,9 +249,9 @@ kill_window_question (gpointer window)
_("_Cancel"), "process-stop",
GTK_RESPONSE_CANCEL);
- gtk_dialog_add_button (GTK_DIALOG (dialog),
- PANEL_STOCK_FORCE_QUIT,
- GTK_RESPONSE_ACCEPT);
+ panel_dialog_add_button (GTK_DIALOG (dialog),
+ _("_Force Quit"), "process-stop",
+ GTK_RESPONSE_ACCEPT);
gtk_dialog_set_default_response (GTK_DIALOG (dialog),
GTK_RESPONSE_CANCEL);