~cszikszoy/do-plugins/gsession-fix

« back to all changes in this revision

Viewing changes to VolumeControl/src/VolumeUpItem.cs

  • Committer: Alex Launi
  • Date: 2009-05-15 22:19:35 UTC
  • mfrom: (600.1.3 maximize-volume)
  • Revision ID: alex.launi@temple.edu-20090515221935-3spdx6mqdxul9x36
Merge Maximize volume action

Show diffs side-by-side

added added

removed removed

Lines of Context:
25
25
 
26
26
namespace VolumeControl
27
27
{
28
 
        public class VolumeUpItem : Item, IRunnableItem
 
28
        public class VolumeUpItem : AbstractVolumeItem
29
29
        {
30
30
                public override string Name {
31
31
                        get { return Catalog.GetString ("Volume Up"); }
38
38
                public override string Icon {
39
39
                        get { return "audio-volume-high"; }
40
40
                }
41
 
                
42
 
                public void Run ()
43
 
                {
44
 
                        System.Diagnostics.Process.Start ("amixer set Master 3%+ /dev/null");
 
41
 
 
42
                protected override string VolumeArgument {
 
43
                        get { return "5%+"; }
45
44
                }
46
45
        }
47
46
}