[tracker/gdbus: 11/12] tracker-preferences: Use Gtk.Stock namespace
- From: Jürg Billeter <juergbi src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/gdbus: 11/12] tracker-preferences: Use Gtk.Stock namespace
- Date: Mon, 25 Oct 2010 08:49:54 +0000 (UTC)
commit 5e6b277e5e9970c86a1d0fc7fa1988e21d945784
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]