aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-editor-dialog.c
diff options
context:
space:
mode:
authorTomas Popela <tpopela@redhat.com>2014-06-25 17:33:44 +0800
committerTomas Popela <tpopela@redhat.com>2014-06-25 21:59:50 +0800
commit93c1357da29c068d1418f8bd07b58b55d05f5c0b (patch)
tree506cdd41b9577e590209ed0bcfd57d5f2d5b89f5 /e-util/e-html-editor-dialog.c
parent0affae2fac8bb49b23a7f9bec8d048eb5ee6c18d (diff)
downloadgsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.tar
gsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.tar.gz
gsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.tar.bz2
gsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.tar.lz
gsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.tar.xz
gsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.tar.zst
gsoc2013-evolution-93c1357da29c068d1418f8bd07b58b55d05f5c0b.zip
EHTMLEditor - Stop using deprecated gtk-stock items
Diffstat (limited to 'e-util/e-html-editor-dialog.c')
-rw-r--r--e-util/e-html-editor-dialog.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/e-util/e-html-editor-dialog.c b/e-util/e-html-editor-dialog.c
index 5b43ebd316..b62e4ac284 100644
--- a/e-util/e-html-editor-dialog.c
+++ b/e-util/e-html-editor-dialog.c
@@ -22,7 +22,10 @@
#include <config.h>
#endif
+#include <glib/gi18n-lib.h>
+
#include "e-html-editor-dialog.h"
+#include "e-dialog-widgets.h"
#define E_HTML_EDITOR_DIALOG_GET_PRIVATE(obj) \
(G_TYPE_INSTANCE_GET_PRIVATE \
@@ -190,7 +193,7 @@ e_html_editor_dialog_init (EHTMLEditorDialog *dialog)
dialog->priv->container = grid;
/* == Button box == */
- widget = gtk_button_new_from_stock (GTK_STOCK_CLOSE);
+ widget = e_dialog_button_new_with_icon ("window-close", _("_Close"));
g_signal_connect_swapped (
widget, "clicked",
G_CALLBACK (gtk_widget_hide), dialog);