[tracker/rss-enclosures] tracker-preferences: Use Gtk.Stock namespace
- From: Roberto Guido <rguido src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/rss-enclosures] tracker-preferences: Use Gtk.Stock namespace
- Date: Wed, 24 Nov 2010 02:26:59 +0000 (UTC)
commit eec03658d7c3a1c39a8a70f3ab5622320fb171d5
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]