~cszikszoy/do-plugins/MA-Config-Extension

« back to all changes in this revision

Viewing changes to GoogleDocs/src/GDocsSpreadsheetItem.cs

  • Committer: Peng Deng
  • Date: 2009-06-17 20:43:58 UTC
  • mfrom: (618.2.3 gdoc-fix)
  • Revision ID: dengpeng@gmail.com-20090617204358-hob41x2dapj5kngh
Merge minor fixes/improvements to GDocs plugin.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/* GDocsSpreadsheetItem.cs
2
 
 *
3
 
 * GNOME Do is the legal property of its developers. Please refer to the
4
 
 * COPYRIGHT file distributed with this
5
 
 * source distribution.
6
 
 *
7
 
 * This program is free software: you can redistribute it and/or modify
8
 
 * it under the terms of the GNU General Public License as published by
9
 
 * the Free Software Foundation, either version 3 of the License, or
10
 
 * (at your option) any later version.
11
 
 *
12
 
 * This program is distributed in the hope that it will be useful,
13
 
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14
 
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15
 
 * GNU General Public License for more details.
16
 
 *
17
 
 * You should have received a copy of the GNU General Public License
18
 
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
19
 
 */
 
1
// GDocsSpreadsheetItem.cs
 
2
// 
 
3
// Copyright (C) 2009 GNOME Do
 
4
// 
 
5
// This program is free software: you can redistribute it and/or modify
 
6
// it under the terms of the GNU General Public License as published by
 
7
// the Free Software Foundation, either version 3 of the License, or
 
8
// (at your option) any later version.
 
9
// 
 
10
// This program is distributed in the hope that it will be useful,
 
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
 
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
13
// GNU General Public License for more details.
 
14
// 
 
15
// You should have received a copy of the GNU General Public License
 
16
// along with this program.  If not, see <http://www.gnu.org/licenses/>.
20
17
 
21
18
using System;
22
19
using System.Text;
27
24
 
28
25
namespace GDocs
29
26
{
30
 
    public class GDocsSpreadsheetItem : GDocsItem
31
 
    {
32
 
 
33
 
        public GDocsSpreadsheetItem (string name, string url) : base (name, url) {}
34
 
                
35
 
        public override string Description {
36
 
            get { return Catalog.GetString ("Google Docs Spreadsheet"); }
37
 
        }
38
 
 
39
 
        public override string Icon {
40
 
            get { return "x-office-spreadsheet"; }
41
 
        }
42
 
 
43
 
    }
 
27
        public class GDocsSpreadsheetItem : GDocsAbstractItem
 
28
        {
 
29
                
 
30
                public GDocsSpreadsheetItem (string name, string url) : base (name, url) {}
 
31
                
 
32
                public override string Description {
 
33
                        get { return Catalog.GetString ("Google Docs Spreadsheet"); }
 
34
                }
 
35
                
 
36
                public override string Icon {
 
37
                        get { return "x-office-spreadsheet"; }
 
38
                }
 
39
                
 
40
        }
44
41
}