aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-editor-find-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-find-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-find-dialog.c')
-rw-r--r--e-util/e-html-editor-find-dialog.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/e-util/e-html-editor-find-dialog.c b/e-util/e-html-editor-find-dialog.c
index 9f44cf8dc5..2a19d01fe5 100644
--- a/e-util/e-html-editor-find-dialog.c
+++ b/e-util/e-html-editor-find-dialog.c
@@ -23,6 +23,7 @@
#endif
#include "e-html-editor-find-dialog.h"
+#include "e-dialog-widgets.h"
#include <glib/gi18n-lib.h>
#include <gdk/gdkkeysyms.h>
@@ -191,7 +192,7 @@ e_html_editor_find_dialog_init (EHTMLEditorFindDialog *dialog)
box = GTK_BOX (widget);
box = e_html_editor_dialog_get_button_box (E_HTML_EDITOR_DIALOG (dialog));
- widget = gtk_button_new_from_stock (GTK_STOCK_FIND);
+ widget = e_dialog_button_new_with_icon ("edit-find", _("_Find"));
gtk_box_pack_start (box, widget, FALSE, FALSE, 5);
g_signal_connect_swapped (
widget, "clicked",
@@ -208,7 +209,7 @@ e_html_editor_find_dialog_new (EHTMLEditor *editor)
g_object_new (
E_TYPE_HTML_EDITOR_FIND_DIALOG,
"editor", editor,
- "icon-name", GTK_STOCK_FIND,
+ "icon-name", "edit-find",
"title", N_("Find"),
NULL));
}