[gitg] Do not use GtkStock since it's deprecated
- From: Jesse van den Kieboom <jessevdk src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] Do not use GtkStock since it's deprecated
- Date: Sat, 23 Nov 2013 17:59:10 +0000 (UTC)
commit 11dc02747406b9b289152357b0452b1e18bf6fdb
Author: Jesse van den Kieboom <jessevdk gmail com>
Date: Sat Nov 23 18:59:00 2013 +0100
Do not use GtkStock since it's deprecated
libgitg/gitg-diff-view-request-patch.vala | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/libgitg/gitg-diff-view-request-patch.vala b/libgitg/gitg-diff-view-request-patch.vala
index c9afcc3..0ebb854 100644
--- a/libgitg/gitg-diff-view-request-patch.vala
+++ b/libgitg/gitg-diff-view-request-patch.vala
@@ -97,11 +97,11 @@ namespace Gitg
commit_subject = "";
}
- var chooser = new Gtk.FileChooserDialog("Save Patch File", null,
+ var chooser = new Gtk.FileChooserDialog(_("Save Patch File"), null,
Gtk.FileChooserAction.SAVE,
- Gtk.Stock.CANCEL,
+ _("_Cancel"),
Gtk.ResponseType.CANCEL,
- Gtk.Stock.SAVE,
+ _("_Save"),
Gtk.ResponseType.OK);
chooser.do_overwrite_confirmation = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]