[gtranslator] Remove deprecated GTK_STOCK_...



commit 5670ed183c410f322c5fff3c436ad083484353f5
Author: Daniel GarcĂ­a Moreno <danigm wadobo com>
Date:   Tue Sep 11 20:23:37 2018 +0200

    Remove deprecated GTK_STOCK_...

 src/gtr-file-dialogs.c | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/src/gtr-file-dialogs.c b/src/gtr-file-dialogs.c
index 415c7d2c..9a0d7c58 100644
--- a/src/gtr-file-dialogs.c
+++ b/src/gtr-file-dialogs.c
@@ -42,10 +42,10 @@ gtr_file_chooser_new (GtkWindow * parent,
                                          FILESEL_SAVE) ?
                                         GTK_FILE_CHOOSER_ACTION_SAVE :
                                         GTK_FILE_CHOOSER_ACTION_OPEN,
-                                        GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
+                                        _("_Cancel"), GTK_RESPONSE_CANCEL,
                                         (mode ==
-                                         FILESEL_SAVE) ? GTK_STOCK_SAVE :
-                                        GTK_STOCK_OPEN, GTK_RESPONSE_ACCEPT,
+                                         FILESEL_SAVE) ? _("_Save") :
+                                        _("_Open"), GTK_RESPONSE_ACCEPT,
                                         NULL);
   gtk_dialog_set_default_response (GTK_DIALOG (dialog), GTK_RESPONSE_ACCEPT);
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]