~igors/do-plugins/Thunderbird-fix-redux

« back to all changes in this revision

Viewing changes to XRandR/src/OutputItem.cs

  • Committer: johannes.rudolph at gmail
  • Date: 2009-02-05 16:47:23 UTC
  • mto: (525.1.23 do-plugins-xrandr)
  • mto: This revision was merged to the branch mainline in revision 653.
  • Revision ID: johannes.rudolph@gmail.com-20090205164723-2ct6lmfjkkhuwfw7
Started XRandR plugin for changing monitor modes through Gnome Do

 * no actions yet, only enumeration of outputs

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
// OutputItem.cs created with MonoDevelop
 
2
// User: johannes at 4:44 PM 2/4/2009
 
3
//
 
4
// To change standard headers go to Edit->Preferences->Coding->Standard Headers
 
5
//
 
6
 
 
7
using System;
 
8
using Do.Universe;
 
9
using Mono.Unix;
 
10
 
 
11
namespace XRandR
 
12
{
 
13
        public class OutputItem : Item
 
14
        {
 
15
                String name;
 
16
                public OutputItem(String name)
 
17
                {
 
18
                        this.name = name;
 
19
                }
 
20
                
 
21
                public override string Name {
 
22
                        get { return name; }
 
23
                }
 
24
                
 
25
                public override string Description {
 
26
                        get { return Catalog.GetString ("Set your resolution"); }
 
27
                }
 
28
                
 
29
                public override string Icon {
 
30
                        get { return "system-config-display"; }
 
31
                }
 
32
        }
 
33
}