From 93c1357da29c068d1418f8bd07b58b55d05f5c0b Mon Sep 17 00:00:00 2001 From: Tomas Popela Date: Wed, 25 Jun 2014 11:33:44 +0200 Subject: EHTMLEditor - Stop using deprecated gtk-stock items --- e-util/e-html-editor-paragraph-dialog.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'e-util/e-html-editor-paragraph-dialog.c') diff --git a/e-util/e-html-editor-paragraph-dialog.c b/e-util/e-html-editor-paragraph-dialog.c index f0fce973a6..66fbfcc208 100644 --- a/e-util/e-html-editor-paragraph-dialog.c +++ b/e-util/e-html-editor-paragraph-dialog.c @@ -95,7 +95,7 @@ html_editor_paragraph_dialog_constructed (GObject *object) gtk_widget_set_margin_left (GTK_WIDGET (grid), 10); /* Left */ - widget = gtk_toggle_button_new_with_label (GTK_STOCK_JUSTIFY_LEFT); + widget = gtk_toggle_button_new_with_label (_("_Left")); gtk_button_set_use_stock (GTK_BUTTON (widget), TRUE); gtk_activatable_set_related_action ( GTK_ACTIVATABLE (widget), @@ -104,7 +104,7 @@ html_editor_paragraph_dialog_constructed (GObject *object) dialog->priv->left_button = widget; /* Center */ - widget = gtk_toggle_button_new_with_label (GTK_STOCK_JUSTIFY_CENTER); + widget = gtk_toggle_button_new_with_label (_("_Center")); gtk_button_set_use_stock (GTK_BUTTON (widget), TRUE); gtk_grid_attach (grid, widget, 1, 0, 1, 1); gtk_activatable_set_related_action ( @@ -113,7 +113,7 @@ html_editor_paragraph_dialog_constructed (GObject *object) dialog->priv->center_button = widget; /* Right */ - widget = gtk_toggle_button_new_with_label (GTK_STOCK_JUSTIFY_RIGHT); + widget = gtk_toggle_button_new_with_label (_("_Right")); gtk_button_set_use_stock (GTK_BUTTON (widget), TRUE); gtk_grid_attach (grid, widget, 2, 0, 1, 1); gtk_activatable_set_related_action ( -- cgit v1.2.3