~cszikszoy/do-plugins/pastebin

« back to all changes in this revision

Viewing changes to Evolution/src/ContactItemSource.cs

  • Committer: Alex Launi
  • Date: 2008-06-07 05:52:01 UTC
  • Revision ID: alex@eriktorvaldsonn-20080607055201-gip5v5ppp2emon37
Fix null error and config in GMail

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
//  Evolution.cs (requires libevolution-cil)
 
1
//  ContactItemSource.cs
2
2
//
3
3
//  GNOME Do is the legal property of its developers.
4
4
//  Please refer to the COPYRIGHT file distributed with this
21
21
using System.IO;
22
22
using System.Collections.Generic;
23
23
 
24
 
using Evolution;
25
 
 
26
24
using Do.Universe;
27
25
 
28
 
namespace Do.Addins.Evolution
 
26
namespace Evolution
29
27
{
30
 
 
31
 
        public class EvolutionContactItemSource : IItemSource
 
28
        public class ContactItemSource : IItemSource
32
29
        {
33
 
                
34
30
                List<IItem> contacts;
35
31
                List<string> pictureFiles;
36
32
                
37
 
                public EvolutionContactItemSource ()
 
33
                public ContactItemSource ()
38
34
                {
39
35
                        contacts = new List<IItem> ();
40
36
                        pictureFiles = new List<string> ();
57
53
                
58
54
                public void UpdateItems ()
59
55
                {
60
 
                        return; // No updating until the leak is fixed.
 
56
                        // No updating until the leak is fixed.
 
57
                        /*
61
58
                        try {
62
59
                                _UpdateItems ();
63
60
                        } catch (Exception e) {
64
61
                                Console.Error.WriteLine ("Cannot index Evolution contacts: {0}",
65
62
                                        e.Message);
66
63
                        }
 
64
                        */
67
65
                }
68
66
                
69
67
                public ICollection<IItem> Items {