~ubuntu-branches/ubuntu/saucy/geary/saucy-updates

« back to all changes in this revision

Viewing changes to src/engine/imap/api/imap-email-identifier.vala

  • Committer: Package Import Robot
  • Author(s): Sebastien Bacher
  • Date: 2013-03-14 13:48:23 UTC
  • mfrom: (1.1.3)
  • Revision ID: package-import@ubuntu.com-20130314134823-gyk5av1g508zyj8a
Tags: 0.3.0~pr1-0ubuntu1
New upstream version (FFE lp: #1154316), supports multiple account as
well as full conversation views with inline replies

Show diffs side-by-side

added added

removed removed

Lines of Context:
6
6
 
7
7
private class Geary.Imap.EmailIdentifier : Geary.EmailIdentifier {
8
8
    public Imap.UID uid { get; private set; }
 
9
    public Geary.FolderPath folder_path { get; private set; }
9
10
    
10
 
    public EmailIdentifier(Imap.UID uid) {
 
11
    public EmailIdentifier(Imap.UID uid, Geary.FolderPath folder_path) {
11
12
        base (uid.value);
12
13
        
13
14
        this.uid = uid;
 
15
        this.folder_path = folder_path;
14
16
    }
15
17
    
16
18
    public override uint to_hash() {
25
27
        if (this == other)
26
28
            return true;
27
29
        
28
 
        return uid.equals(other.uid);
 
30
        return uid.equals(other.uid) && folder_path.equals(other.folder_path);
29
31
    }
30
32
    
31
33
    public override string to_string() {