~do-plugins/do-plugins/trunk

« back to all changes in this revision

Viewing changes to Tasque/TasqueCategoryItem.cs

  • Committer: Christopher James Halse Rogers
  • Date: 2008-04-03 22:32:04 UTC
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: chalserogers@gmail.com-20080403223204-yh7zudzdzs3xwi7r
Revert deleted GNOME-Screenshot, GNOME-Terminal, GmailContactItemSource, and Tasque plugins

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// TasqueCategoryItem.cs
 
2
//
 
3
// This program is free software; you can redistribute it and/or modify
 
4
// it under the terms of the GNU General Public License as published by
 
5
// the Free Software Foundation; either version 3 of the License, or
 
6
// (at your option) any later version.
 
7
//
 
8
// This program is distributed in the hope that it will be useful,
 
9
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
 
11
// GNU General Public License for more details.
 
12
// 
 
13
// You should have received a copy of the GNU General Public License
 
14
// along with this program; if not, see <http://www.gnu.org/licenses/> or 
 
15
// write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, 
 
16
// Boston, MA 02111-1307 USA
 
17
//
 
18
 
 
19
 
 
20
using System;
 
21
using System.Collections.Generic;
 
22
 
 
23
using Do.Universe;
 
24
using Tasque.DBus;
 
25
 
 
26
 
 
27
namespace Tasque.Category.Item
 
28
{
 
29
        public class TasqueCategoryItem : IItem
 
30
        {
 
31
                private string categoryName;
 
32
                
 
33
                public TasqueCategoryItem (string categoryName)
 
34
                {
 
35
                        this.categoryName = categoryName;
 
36
                }
 
37
                
 
38
                public string Name {
 
39
                        get {
 
40
                                return categoryName;
 
41
                        }
 
42
                }
 
43
                
 
44
                public string Description {
 
45
                        get {
 
46
                                return "Category";
 
47
                        }
 
48
                }
 
49
                
 
50
                public string Icon {
 
51
                        get {
 
52
                                return "tasque";
 
53
                        }
 
54
                }
 
55
                
 
56
        }
 
57
}