[tracker/miner-flickr-network-aware: 4/5] Flickr miner: Automatically authenticate at startup



commit 03443cffee54df6141278c279ebeddecb2adbbd0
Author: Adrien Bustany <abustany gnome org>
Date:   Mon May 31 10:59:41 2010 -0400

    Flickr miner: Automatically authenticate at startup

 src/miners/flickr/tracker-miner-flickr.vala |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/miners/flickr/tracker-miner-flickr.vala b/src/miners/flickr/tracker-miner-flickr.vala
index 1f234d9..fdf607d 100644
--- a/src/miners/flickr/tracker-miner-flickr.vala
+++ b/src/miners/flickr/tracker-miner-flickr.vala
@@ -97,6 +97,8 @@ public class MinerFlickr : Tracker.MinerWeb {
 		init_datasource ();
 
 		this.notify["associated"].connect (association_status_changed);
+
+		Idle.add (() => { authenticate (); return false; });
 	}
 
 	public void shutdown () {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]