From b48e21d9aa7eb16e559739b71b9d08f90dfa92be Mon Sep 17 00:00:00 2001 From: Milan Crha Date: Wed, 12 Feb 2014 20:45:53 +0100 Subject: Stop using deprecated gtk-stock items --- mail/e-mail-config-security-page.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'mail/e-mail-config-security-page.c') diff --git a/mail/e-mail-config-security-page.c b/mail/e-mail-config-security-page.c index 744b912dd4..c6b2de3c91 100644 --- a/mail/e-mail-config-security-page.c +++ b/mail/e-mail-config-security-page.c @@ -20,6 +20,7 @@ #include #include +#include #include #if defined (HAVE_NSS) @@ -449,7 +450,7 @@ mail_config_security_page_constructed (GObject *object) G_CALLBACK (mail_config_security_page_select_sign_cert), entry); - widget = gtk_button_new_from_stock (GTK_STOCK_CLEAR); + widget = e_dialog_button_new_with_icon ("edit-clear", _("_Clear")); gtk_grid_attach (GTK_GRID (container), widget, 3, 1, 1, 1); gtk_widget_show (widget); @@ -555,7 +556,7 @@ mail_config_security_page_constructed (GObject *object) G_CALLBACK (mail_config_security_page_select_encrypt_cert), entry); - widget = gtk_button_new_from_stock (GTK_STOCK_CLEAR); + widget = e_dialog_button_new_with_icon ("edit-clear", _("_Clear")); gtk_grid_attach (GTK_GRID (container), widget, 3, 4, 1, 1); gtk_widget_show (widget); -- cgit v1.2.3