[gnome-subtitles] Use D and E, instead of plus and minus, in the shortcuts for setting start and end times, and shifti



commit c2339d0f17af465672e047556040cb24c08486db
Author: Pedro Castro <mail pedrocastro org>
Date:   Sun Jun 5 22:33:28 2011 +0100

    Use D and E, instead of plus and minus, in the shortcuts for setting start and end times, and shifting.

 src/GnomeSubtitles/Core/GlobalAccelerators.cs |   12 ++++++------
 1 files changed, 6 insertions(+), 6 deletions(-)
---
diff --git a/src/GnomeSubtitles/Core/GlobalAccelerators.cs b/src/GnomeSubtitles/Core/GlobalAccelerators.cs
index 21a0b5a..f7e04fe 100644
--- a/src/GnomeSubtitles/Core/GlobalAccelerators.cs
+++ b/src/GnomeSubtitles/Core/GlobalAccelerators.cs
@@ -39,14 +39,14 @@ public class GlobalAccelerators {
 		
 		Base.Ui.Window.AddAccelGroup(this.accelGroup);
 
-		AddAccelerator((uint)Gdk.Key.plus, Gdk.ModifierType.ControlMask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleStartIncrease);
-		AddAccelerator((uint)Gdk.Key.minus, Gdk.ModifierType.ControlMask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleStartDecrease);
+		AddAccelerator((uint)Gdk.Key.e, Gdk.ModifierType.ControlMask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleStartIncrease);
+		AddAccelerator((uint)Gdk.Key.d, Gdk.ModifierType.ControlMask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleStartDecrease);
 		
-		AddAccelerator((uint)Gdk.Key.plus, Gdk.ModifierType.ControlMask | Gdk.ModifierType.Mod1Mask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleEndIncrease);
-		AddAccelerator((uint)Gdk.Key.minus, Gdk.ModifierType.ControlMask | Gdk.ModifierType.Mod1Mask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleEndDecrease);
+		AddAccelerator((uint)Gdk.Key.e, Gdk.ModifierType.ControlMask | Gdk.ModifierType.Mod1Mask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleEndIncrease);
+		AddAccelerator((uint)Gdk.Key.d, Gdk.ModifierType.ControlMask | Gdk.ModifierType.Mod1Mask, AccelFlags.Visible, Base.Handlers.OnGlobalSubtitleEndDecrease);
 		
-		AddAccelerator((uint)Gdk.Key.asterisk, Gdk.ModifierType.ControlMask, AccelFlags.Visible, Base.Handlers.OnGlobalSelectionShiftIncrease); //Ctrl Shift + is actually Ctrl *
-		AddAccelerator((uint)Gdk.Key.underscore, Gdk.ModifierType.ControlMask, AccelFlags.Visible, Base.Handlers.OnGlobalSelectionShiftDecrease); //Ctrl Shift - is actually Ctrl _
+		AddAccelerator((uint)Gdk.Key.e, Gdk.ModifierType.ControlMask | Gdk.ModifierType.ShiftMask, AccelFlags.Visible, Base.Handlers.OnGlobalSelectionShiftIncrease); //Ctrl Shift + is actually Ctrl *
+		AddAccelerator((uint)Gdk.Key.d, Gdk.ModifierType.ControlMask | Gdk.ModifierType.ShiftMask, AccelFlags.Visible, Base.Handlers.OnGlobalSelectionShiftDecrease); //Ctrl Shift - is actually Ctrl _
 	}
 	
 	private void AddAccelerator (uint key, ModifierType modifiers, AccelFlags accelFlags, EventHandler handler) {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]