aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-subscription-editor.c
diff options
context:
space:
mode:
authorMilan Crha <mcrha@redhat.com>2014-02-13 03:45:53 +0800
committerMilan Crha <mcrha@redhat.com>2014-02-13 03:47:07 +0800
commitb48e21d9aa7eb16e559739b71b9d08f90dfa92be (patch)
tree22244f22b235b1dfc80bbc50c7e2ab8eecb91cdf /mail/em-subscription-editor.c
parent4bdbb71da69076287ffbb781109aa5687026349c (diff)
downloadgsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.gz
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.bz2
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.lz
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.xz
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.tar.zst
gsoc2013-evolution-b48e21d9aa7eb16e559739b71b9d08f90dfa92be.zip
Stop using deprecated gtk-stock items
Diffstat (limited to 'mail/em-subscription-editor.c')
-rw-r--r--mail/em-subscription-editor.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/mail/em-subscription-editor.c b/mail/em-subscription-editor.c
index 13526c09c7..2d816c7c9e 100644
--- a/mail/em-subscription-editor.c
+++ b/mail/em-subscription-editor.c
@@ -1711,7 +1711,7 @@ em_subscription_editor_init (EMSubscriptionEditor *editor)
gtk_dialog_add_button (
GTK_DIALOG (editor),
- GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE);
+ _("_Close"), GTK_RESPONSE_CLOSE);
container = gtk_dialog_get_content_area (GTK_DIALOG (editor));
@@ -1748,9 +1748,9 @@ em_subscription_editor_init (EMSubscriptionEditor *editor)
gtk_widget_show (widget);
widget = gtk_entry_new ();
- gtk_entry_set_icon_from_stock (
+ gtk_entry_set_icon_from_icon_name (
GTK_ENTRY (widget),
- GTK_ENTRY_ICON_SECONDARY, GTK_STOCK_CLEAR);
+ GTK_ENTRY_ICON_SECONDARY, "edit-clear");
gtk_entry_set_icon_tooltip_text (
GTK_ENTRY (widget),
GTK_ENTRY_ICON_SECONDARY, _("Clear Search"));
@@ -1926,7 +1926,7 @@ em_subscription_editor_init (EMSubscriptionEditor *editor)
G_CALLBACK (subscription_editor_expand_all), editor);
tooltip = _("Refresh the folder list");
- widget = gtk_button_new_from_stock (GTK_STOCK_REFRESH);
+ widget = e_dialog_button_new_with_icon ("view-refresh", _("_Refresh"));
gtk_widget_set_tooltip_text (widget, tooltip);
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_widget_set_sensitive (widget, FALSE);
@@ -1938,7 +1938,7 @@ em_subscription_editor_init (EMSubscriptionEditor *editor)
G_CALLBACK (subscription_editor_refresh), editor);
tooltip = _("Stop the current operation");
- widget = gtk_button_new_from_stock (GTK_STOCK_STOP);
+ widget = e_dialog_button_new_with_icon ("process-stop", _("_Stop"));
gtk_widget_set_tooltip_text (widget, tooltip);
gtk_box_pack_start (GTK_BOX (container), widget, FALSE, FALSE, 0);
gtk_widget_set_sensitive (widget, FALSE);