[eog] EogFileChooser: Remove deprecated GtkStock usage
- From: Felix Riemann <friemann src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [eog] EogFileChooser: Remove deprecated GtkStock usage
- Date: Mon, 25 Nov 2013 19:46:19 +0000 (UTC)
commit 7e0493275d0503f2d621edb4ac57893eb643e7e3
Author: Felix Riemann <friemann gnome org>
Date: Mon Nov 25 19:57:08 2013 +0100
EogFileChooser: Remove deprecated GtkStock usage
src/eog-file-chooser.c | 12 ++++++------
1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/eog-file-chooser.c b/src/eog-file-chooser.c
index 986a2c8..b7901c6 100644
--- a/src/eog-file-chooser.c
+++ b/src/eog-file-chooser.c
@@ -454,24 +454,24 @@ eog_file_chooser_new (GtkFileChooserAction action)
switch (action) {
case GTK_FILE_CHOOSER_ACTION_OPEN:
gtk_dialog_add_buttons (GTK_DIALOG (chooser),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Open"), GTK_RESPONSE_OK,
NULL);
title = _("Open Image");
break;
case GTK_FILE_CHOOSER_ACTION_SAVE:
gtk_dialog_add_buttons (GTK_DIALOG (chooser),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_SAVE, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Save"), GTK_RESPONSE_OK,
NULL);
title = _("Save Image");
break;
case GTK_FILE_CHOOSER_ACTION_SELECT_FOLDER:
gtk_dialog_add_buttons (GTK_DIALOG (chooser),
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_OPEN, GTK_RESPONSE_OK,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Open"), GTK_RESPONSE_OK,
NULL);
title = _("Open Folder");
break;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]