diff options
author | Tomas Popela <tpopela@redhat.com> | 2014-06-25 17:33:44 +0800 |
---|---|---|
committer | Tomas Popela <tpopela@redhat.com> | 2014-06-25 21:59:50 +0800 |
commit | 93c1357da29c068d1418f8bd07b58b55d05f5c0b (patch) | |
tree | 506cdd41b9577e590209ed0bcfd57d5f2d5b89f5 /e-util/test-html-editor.c | |
parent | 0affae2fac8bb49b23a7f9bec8d048eb5ee6c18d (diff) | |
download | gsoc2013-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/test-html-editor.c')
-rw-r--r-- | e-util/test-html-editor.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/e-util/test-html-editor.c b/e-util/test-html-editor.c index 488eb44bf1..f461acbbe0 100644 --- a/e-util/test-html-editor.c +++ b/e-util/test-html-editor.c @@ -93,8 +93,8 @@ save_dialog (EHTMLEditor *editor) _("Save As"), GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (editor))), GTK_FILE_CHOOSER_ACTION_SAVE, - GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL, - GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT, + _("_Cancel"), GTK_RESPONSE_CANCEL, + _("_Save"), GTK_RESPONSE_ACCEPT, NULL); gtk_file_chooser_set_do_overwrite_confirmation ( @@ -141,7 +141,7 @@ view_source_dialog (EHTMLEditor *editor, title, GTK_WINDOW (gtk_widget_get_toplevel (GTK_WIDGET (editor))), GTK_DIALOG_DESTROY_WITH_PARENT, - GTK_STOCK_CLOSE, GTK_RESPONSE_CLOSE, + _("_Close"), GTK_RESPONSE_CLOSE, NULL); content_area = gtk_dialog_get_content_area (GTK_DIALOG (dialog)); @@ -296,35 +296,35 @@ action_view_inspector (GtkAction *action, static GtkActionEntry file_entries[] = { { "print", - GTK_STOCK_PRINT, + "document-print", N_("_Print..."), - NULL, + "<Control>p", NULL, G_CALLBACK (action_print_cb) }, { "print-preview", - GTK_STOCK_PRINT_PREVIEW, + "document-print-preview", N_("Print Pre_view"), - NULL, + "<Control><Shift>p", NULL, G_CALLBACK (action_print_preview_cb) }, { "quit", - GTK_STOCK_QUIT, + "application-exit", N_("_Quit"), NULL, NULL, G_CALLBACK (action_quit_cb) }, { "save", - GTK_STOCK_SAVE, + "document-save", N_("_Save"), NULL, NULL, G_CALLBACK (action_save_cb) }, { "save-as", - GTK_STOCK_SAVE_AS, + "document-save-as", N_("Save _As..."), NULL, NULL, |