[tracker/miner-flickr: 18/24] Dummy writeback callback for flickr
- From: Adrien Bustany <abustany src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [tracker/miner-flickr: 18/24] Dummy writeback callback for flickr
- Date: Fri, 2 Apr 2010 13:20:34 +0000 (UTC)
commit 3c3f122229a7735f7917294283e9be0e57bfa8f4
Author: Adrien Bustany <abustany gnome org>
Date: Fri Mar 26 09:09:01 2010 -0300
Dummy writeback callback for flickr
src/miners/flickr/tracker-miner-flickr.vala | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/flickr/tracker-miner-flickr.vala b/src/miners/flickr/tracker-miner-flickr.vala
index acf5d5c..67d6ddc 100644
--- a/src/miners/flickr/tracker-miner-flickr.vala
+++ b/src/miners/flickr/tracker-miner-flickr.vala
@@ -77,6 +77,7 @@ public class MinerFlickr : Tracker.MinerWeb {
construct {
set ("name", MINER_NAME);
+ set ("writeback-enabled", true);
set ("associated", false);
set ("status", "Idle");
set ("progress", 1.0);
@@ -561,6 +562,14 @@ public class MinerFlickr : Tracker.MinerWeb {
set ("associated", false);
}
+ public override void writeback (HashTable properties)
+ {
+ List<weak string> uris = (List<weak string>)properties.get_keys ();
+ foreach (string uri in uris) {
+ message ("writeback for uri %s", uri);
+ }
+ }
+
private static bool in_loop = false;
private static void signal_handler (int signo) {
if (in_loop) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]