[gnome-terminal] Replace deprecated GTK_STOCK buttons with strings
- From: Baptiste Mille-Mathias <baptistem src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-terminal] Replace deprecated GTK_STOCK buttons with strings
- Date: Mon, 16 Dec 2013 22:00:57 +0000 (UTC)
commit 1962b0a4b275d60008e4c65817005ede2b80940d
Author: Baptiste Mille-Mathias <baptiste millemathias gmail com>
Date: Mon Dec 16 22:34:39 2013 +0100
Replace deprecated GTK_STOCK buttons with strings
GTK_STOCK buttons are now deprecated starting GTK 3.10 and should be
replaced by simple strings.
https://bugzilla.gnome.org/show_bug.cgi?id=720565
src/terminal-window.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/terminal-window.c b/src/terminal-window.c
index 4176f86..885538a 100644
--- a/src/terminal-window.c
+++ b/src/terminal-window.c
@@ -524,8 +524,8 @@ action_save_contents_cb (GSimpleAction *action,
dialog = gtk_file_chooser_dialog_new (_("Save as…"),
GTK_WINDOW(window),
GTK_FILE_CHOOSER_ACTION_SAVE,
- GTK_STOCK_CANCEL, GTK_RESPONSE_CANCEL,
- GTK_STOCK_SAVE, GTK_RESPONSE_ACCEPT,
+ _("_Cancel"), GTK_RESPONSE_CANCEL,
+ _("_Save"), GTK_RESPONSE_ACCEPT,
NULL);
gtk_file_chooser_set_do_overwrite_confirmation (GTK_FILE_CHOOSER (dialog), TRUE);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]