aboutsummaryrefslogtreecommitdiffstats
path: root/e-util/e-image-chooser-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-image-chooser-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-image-chooser-dialog.c')
-rw-r--r--e-util/e-image-chooser-dialog.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/e-util/e-image-chooser-dialog.c b/e-util/e-image-chooser-dialog.c
index 73a6c202cb..936d39793e 100644
--- a/e-util/e-image-chooser-dialog.c
+++ b/e-util/e-image-chooser-dialog.c
@@ -18,6 +18,12 @@
* Boston, MA 02111-1307, USA.
*/
+#ifdef HAVE_CONFIG_H
+#include <config.h>
+#endif
+
+#include <glib/gi18n-lib.h>
+
#include "e-image-chooser-dialog.h"
#define E_IMAGE_CHOOSER_DIALOG_GET_PRIVATE(obj) \
@@ -159,10 +165,10 @@ image_chooser_dialog_constructed (GObject *object)
gtk_dialog_add_button (
GTK_DIALOG (file_chooser),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+ _("_Cancel"), GTK_RESPONSE_CANCEL);
gtk_dialog_add_button (
GTK_DIALOG (file_chooser),
- GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT);
+ _("_Open"), GTK_RESPONSE_ACCEPT);
gtk_dialog_set_default_response (
GTK_DIALOG (file_chooser), GTK_RESPONSE_ACCEPT);