aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-html-editor-text-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-text-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-text-dialog.c')
-rw-r--r--e-util/e-html-editor-text-dialog.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/e-util/e-html-editor-text-dialog.c b/e-util/e-html-editor-text-dialog.c
index 2db792c70a..e0eb5fcf9e 100644
--- a/e-util/e-html-editor-text-dialog.c
+++ b/e-util/e-html-editor-text-dialog.c
@@ -208,7 +208,7 @@ e_html_editor_text_dialog_init (EHTMLEditorTextDialog *dialog)
main_layout = e_html_editor_dialog_get_container (E_HTML_EDITOR_DIALOG (dialog));
/* Bold */
- widget = gtk_image_new_from_stock (GTK_STOCK_BOLD, GTK_ICON_SIZE_BUTTON);
+ widget = gtk_image_new_from_stock ("format-text-bold", GTK_ICON_SIZE_BUTTON);
gtk_grid_attach (main_layout, widget, 0, 0, 1, 1);
widget = gtk_check_button_new_with_mnemonic (_("_Bold"));
@@ -219,7 +219,7 @@ e_html_editor_text_dialog_init (EHTMLEditorTextDialog *dialog)
dialog->priv->bold_check = widget;
/* Italic */
- widget = gtk_image_new_from_stock (GTK_STOCK_ITALIC, GTK_ICON_SIZE_BUTTON);
+ widget = gtk_image_new_from_stock ("format-text-italic", GTK_ICON_SIZE_BUTTON);
gtk_grid_attach (main_layout, widget, 0, 1, 1, 1);
widget = gtk_check_button_new_with_mnemonic (_("_Italic"));
@@ -230,7 +230,7 @@ e_html_editor_text_dialog_init (EHTMLEditorTextDialog *dialog)
dialog->priv->italic_check = widget;
/* Underline */
- widget = gtk_image_new_from_stock (GTK_STOCK_UNDERLINE, GTK_ICON_SIZE_BUTTON);
+ widget = gtk_image_new_from_stock ("format-text-underline", GTK_ICON_SIZE_BUTTON);
gtk_grid_attach (main_layout, widget, 0, 2, 1, 1);
widget = gtk_check_button_new_with_mnemonic (_("_Underline"));
@@ -240,7 +240,7 @@ e_html_editor_text_dialog_init (EHTMLEditorTextDialog *dialog)
G_CALLBACK (html_editor_text_dialog_set_underline), dialog);
dialog->priv->underline_check = widget;
- widget = gtk_image_new_from_stock (GTK_STOCK_STRIKETHROUGH, GTK_ICON_SIZE_BUTTON);
+ widget = gtk_image_new_from_stock ("format-text-strikethrough", GTK_ICON_SIZE_BUTTON);
gtk_grid_attach (main_layout, widget, 0, 3, 1, 1);
widget = gtk_check_button_new_with_mnemonic (_("_Strikethrough"));