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

« back to all changes in this revision

Viewing changes to src/client/folder-list/folder-list-special-grouping.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:
 
1
/* Copyright 2011-2012 Yorba Foundation
 
2
 *
 
3
 * This software is licensed under the GNU Lesser General Public License
 
4
 * (version 2.1 or later).  See the COPYING file in this distribution.
 
5
 */
 
6
 
 
7
// An ordered grouping meant to go alongside special folders in the account
 
8
// branch.
 
9
public class FolderList.SpecialGrouping : Sidebar.Grouping {
 
10
    // Must be != 0 and unique among SpecialGroupings.  Bigger comes later
 
11
    // in the list.  If < 0, it comes before non-SpecialGroupings.
 
12
    public int position { get; private set; }
 
13
    
 
14
    public SpecialGrouping(int position, string name, Icon? open_icon,
 
15
        Icon? closed_icon = null, string? tooltip = null) {
 
16
        base(name, open_icon, closed_icon, tooltip);
 
17
        
 
18
        this.position = position;
 
19
    }
 
20
}