[gtranslator] Don't use deprecated GTK_STOCK_ for dialog



commit ab7491f8c173be500fcdc702a411612f50d6f1e4
Author: Daniel GarcĂ­a Moreno <danigm wadobo com>
Date:   Tue Sep 11 20:54:12 2018 +0200

    Don't use deprecated GTK_STOCK_ for dialog

 src/gtr-close-confirmation-dialog.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/gtr-close-confirmation-dialog.c b/src/gtr-close-confirmation-dialog.c
index 7c5e0383..d1e132b4 100644
--- a/src/gtr-close-confirmation-dialog.c
+++ b/src/gtr-close-confirmation-dialog.c
@@ -126,9 +126,9 @@ set_logout_mode (GtrCloseConfirmationDialog * dlg, gboolean logout_mode)
                          _("Close _without Saving"), GTK_RESPONSE_NO);
 
   gtk_dialog_add_button (GTK_DIALOG (dlg),
-                         GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL);
+                         _("_Cancel"), GTK_RESPONSE_CANCEL);
 
-  gtk_dialog_add_button (GTK_DIALOG (dlg), GTK_STOCK_SAVE, GTK_RESPONSE_YES);
+  gtk_dialog_add_button (GTK_DIALOG (dlg), _("_Save"), GTK_RESPONSE_YES);
 
   gtk_dialog_set_default_response (GTK_DIALOG (dlg), GTK_RESPONSE_YES);
 }


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