[baobab] Do not use deprecated API
- From: Stefano Facchini <sfacchini src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [baobab] Do not use deprecated API
- Date: Wed, 3 Jul 2013 21:05:44 +0000 (UTC)
commit 1cbccf1e6f3f66a2d6b040377b084340c8f06292
Author: Stefano Facchini <stefano facchini gmail com>
Date: Mon Jul 1 21:20:04 2013 +0200
Do not use deprecated API
src/baobab-window.vala | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/baobab-window.vala b/src/baobab-window.vala
index 360f7d0..a26b4d4 100644
--- a/src/baobab-window.vala
+++ b/src/baobab-window.vala
@@ -224,8 +224,8 @@ namespace Baobab {
void on_scan_folder_activate () {
var file_chooser = new Gtk.FileChooserDialog (_("Select Folder"), this,
Gtk.FileChooserAction.SELECT_FOLDER,
- Gtk.Stock.CANCEL, Gtk.ResponseType.CANCEL,
- Gtk.Stock.OPEN, Gtk.ResponseType.ACCEPT);
+ _("_Cancel"), Gtk.ResponseType.CANCEL,
+ _("_Open"), Gtk.ResponseType.ACCEPT);
file_chooser.set_modal (true);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]