[tracker/gdbus-evolution: 11/28] tracker-preferences: Use Gtk.Stock namespace
- From: Philip Van Hoof <pvanhoof src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus-evolution: 11/28] tracker-preferences: Use Gtk.Stock namespace
- Date: Thu, 28 Oct 2010 08:30:06 +0000 (UTC)
commit 1a2229cc75402f005453e5111220f01c182a116b
Author: Jürg Billeter <j bitron ch>
Date: Mon Oct 25 10:37:12 2010 +0200
tracker-preferences: Use Gtk.Stock namespace
src/tracker-preferences/tracker-preferences.vala | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/src/tracker-preferences/tracker-preferences.vala b/src/tracker-preferences/tracker-preferences.vala
index 511740b..9bd4a49 100644
--- a/src/tracker-preferences/tracker-preferences.vala
+++ b/src/tracker-preferences/tracker-preferences.vala
@@ -120,8 +120,8 @@ public static void add_freevalue (ListStore model) {
dialog = new Dialog.with_buttons (_("Enter value"),
window,
DialogFlags.DESTROY_WITH_PARENT | DialogFlags.NO_SEPARATOR,
- STOCK_CANCEL, ResponseType.CANCEL,
- STOCK_OK, ResponseType.ACCEPT);
+ Stock.CANCEL, ResponseType.CANCEL,
+ Stock.OK, ResponseType.ACCEPT);
dialog.set_default_response(ResponseType.ACCEPT);
content_area = (Container) dialog.get_content_area ();
@@ -150,8 +150,8 @@ public static void add_dir (ListStore model)
{
FileChooserDialog dialog = new FileChooserDialog (_("Select directory"), window,
FileChooserAction.SELECT_FOLDER,
- STOCK_CANCEL, ResponseType.CANCEL,
- STOCK_OK, ResponseType.ACCEPT);
+ Stock.CANCEL, ResponseType.CANCEL,
+ Stock.OK, ResponseType.ACCEPT);
if (dialog.run () == ResponseType.ACCEPT) {
TreeIter iter;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]