[gtranslator] Don't use deprecated GTK_STOCK_ for dialog
- From: Daniel Garcia Moreno <danigm src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtranslator] Don't use deprecated GTK_STOCK_ for dialog
- Date: Wed, 12 Sep 2018 11:54:55 +0000 (UTC)
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]