diff options
author | Pablo Barciela <[email protected]> | 2018-04-09 20:47:07 +0200 |
---|---|---|
committer | Pablo Barciela <[email protected]> | 2018-04-09 20:53:39 +0200 |
commit | a518a93b575372faee1a3da6aaa9f20cf2e10ec1 (patch) | |
tree | c51b7b40e3d2ed6f5740d1d8f76b753964177ea3 /mate-panel/panel-recent.c | |
parent | 397531135d3510562b7c787eae2ac165dde65ef9 (diff) | |
download | mate-panel-a518a93b575372faee1a3da6aaa9f20cf2e10ec1.tar.bz2 mate-panel-a518a93b575372faee1a3da6aaa9f20cf2e10ec1.tar.xz |
avoid gtk_dialog_add_buttons with stock ids
Diffstat (limited to 'mate-panel/panel-recent.c')
-rw-r--r-- | mate-panel/panel-recent.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mate-panel/panel-recent.c b/mate-panel/panel-recent.c index bd1287a1..e111c157 100644 --- a/mate-panel/panel-recent.c +++ b/mate-panel/panel-recent.c @@ -31,6 +31,7 @@ #include <libpanel-util/panel-error.h> #include <libpanel-util/panel-show.h> +#include <libpanel-util/panel-gtk.h> #include "menu.h" #include "panel-util.h" @@ -150,10 +151,13 @@ recent_documents_clear_cb (GtkMenuItem *menuitem, "\342\200\242 All items from the Places \342\206\222 Recent Documents menu item.\n" "\342\200\242 All items from the recent documents list in all applications.")); - gtk_dialog_add_buttons (GTK_DIALOG (clear_recent_dialog), - "gtk-cancel", GTK_RESPONSE_CANCEL, - PANEL_STOCK_CLEAR, GTK_RESPONSE_ACCEPT, - NULL); + panel_dialog_add_button (GTK_DIALOG (clear_recent_dialog), + _("_Cancel"), "process-stop", + GTK_RESPONSE_CANCEL); + + gtk_dialog_add_button (GTK_DIALOG (clear_recent_dialog), + PANEL_STOCK_CLEAR, + GTK_RESPONSE_ACCEPT); gtk_container_set_border_width (GTK_CONTAINER (clear_recent_dialog), 6); |