[gitg] window: do not use Stock on file chooser
- From: Ignacio Casal Quinteiro <icq src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gitg] window: do not use Stock on file chooser
- Date: Fri, 2 Aug 2013 13:05:24 +0000 (UTC)
commit a135486e168716026c6111f7d982c75d7063ebdb
Author: Ignacio Casal Quinteiro <icq gnome org>
Date: Fri Aug 2 15:04:49 2013 +0200
window: do not use Stock on file chooser
This has been deprecated on gtk+ master
gitg/gitg-window.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gitg/gitg-window.vala b/gitg/gitg-window.vala
index 6049c94..bf53046 100644
--- a/gitg/gitg-window.vala
+++ b/gitg/gitg-window.vala
@@ -287,8 +287,8 @@ public class Window : Gtk.ApplicationWindow, GitgExt.Application, Initable
{
var chooser = new Gtk.FileChooserDialog (_("Open Repository"), this,
Gtk.FileChooserAction.SELECT_FOLDER,
- Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
- Gtk.Stock.OPEN, Gtk.ResponseType.OK);
+ _("_Cancel"), Gtk.ResponseType.CANCEL,
+ _("_Open"), Gtk.ResponseType.OK);
chooser.modal = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]