[longomatch] Add accelerators for the analysis modes, the playlist and the fullscreen switch
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Add accelerators for the analysis modes, the playlist and the fullscreen switch
- Date: Wed, 29 Sep 2010 20:46:06 +0000 (UTC)
commit 22d52ea73b49bc285f762fb2badd08c332591e7e
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Tue Sep 21 17:06:01 2010 +0200
Add accelerators for the analysis modes, the playlist and the fullscreen switch
CesarPlayer/gtk-gui/gui.stetic | 2 +-
LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs | 10 +++++-----
LongoMatch/gtk-gui/gui.stetic | 9 +++++++--
3 files changed, 13 insertions(+), 8 deletions(-)
---
diff --git a/CesarPlayer/gtk-gui/gui.stetic b/CesarPlayer/gtk-gui/gui.stetic
index f78e4fb..1421d4b 100644
--- a/CesarPlayer/gtk-gui/gui.stetic
+++ b/CesarPlayer/gtk-gui/gui.stetic
@@ -5,7 +5,7 @@
<target-gtk-version>2.12</target-gtk-version>
</configuration>
<import>
- <widget-library name="../a.dll" internal="true" />
+ <widget-library name="../bin/Release/CesarPlayer.dll" internal="true" />
</import>
<widget class="Gtk.Window" id="LongoMatch.Gui.VolumeWindow" design-size="31 204">
<property name="MemberName" />
diff --git a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
index be53dc1..3316b17 100644
--- a/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
+++ b/LongoMatch/gtk-gui/LongoMatch.Gui.MainWindow.cs
@@ -150,20 +150,20 @@ namespace LongoMatch.Gui {
w1.Add(this.ViewAction, "<Control>t");
this.FullScreenAction = new Gtk.ToggleAction("FullScreenAction", Mono.Unix.Catalog.GetString("Full Screen"), null, "gtk-fullscreen");
this.FullScreenAction.ShortLabel = Mono.Unix.Catalog.GetString("Full Screen");
- w1.Add(this.FullScreenAction, null);
+ w1.Add(this.FullScreenAction, "<Control><Alt>f");
this.PlaylistAction = new Gtk.ToggleAction("PlaylistAction", Mono.Unix.Catalog.GetString("Playlist"), null, null);
this.PlaylistAction.ShortLabel = Mono.Unix.Catalog.GetString("Playlist");
- w1.Add(this.PlaylistAction, null);
+ w1.Add(this.PlaylistAction, "<Control>p");
this.CaptureModeAction = new Gtk.RadioAction("CaptureModeAction", Mono.Unix.Catalog.GetString("Capture Mode"), null, null, 0);
this.CaptureModeAction.Group = new GLib.SList(System.IntPtr.Zero);
this.CaptureModeAction.Sensitive = false;
this.CaptureModeAction.ShortLabel = Mono.Unix.Catalog.GetString("Capture Mode");
- w1.Add(this.CaptureModeAction, null);
+ w1.Add(this.CaptureModeAction, "<Control>c");
this.AnalyzeModeAction = new Gtk.RadioAction("AnalyzeModeAction", Mono.Unix.Catalog.GetString("Analyze Mode"), null, null, 0);
this.AnalyzeModeAction.Group = this.CaptureModeAction.Group;
this.AnalyzeModeAction.Sensitive = false;
this.AnalyzeModeAction.ShortLabel = Mono.Unix.Catalog.GetString("Analyze Mode");
- w1.Add(this.AnalyzeModeAction, null);
+ w1.Add(this.AnalyzeModeAction, "<Control>a");
this.SaveProjectAction = new Gtk.Action("SaveProjectAction", Mono.Unix.Catalog.GetString("_Save Project"), null, "gtk-save");
this.SaveProjectAction.Sensitive = false;
this.SaveProjectAction.ShortLabel = Mono.Unix.Catalog.GetString("_Save Project");
@@ -198,7 +198,7 @@ namespace LongoMatch.Gui {
this.FreeCaptureModeAction.Group = this.CaptureModeAction.Group;
this.FreeCaptureModeAction.Sensitive = false;
this.FreeCaptureModeAction.ShortLabel = Mono.Unix.Catalog.GetString("Free Capture Mode");
- w1.Add(this.FreeCaptureModeAction, null);
+ w1.Add(this.FreeCaptureModeAction, "<Control>f");
this.UIManager.InsertActionGroup(w1, 0);
this.AddAccelGroup(this.UIManager.AccelGroup);
this.Name = "LongoMatch.Gui.MainWindow";
diff --git a/LongoMatch/gtk-gui/gui.stetic b/LongoMatch/gtk-gui/gui.stetic
index 8a3f0f0..b2d6200 100644
--- a/LongoMatch/gtk-gui/gui.stetic
+++ b/LongoMatch/gtk-gui/gui.stetic
@@ -5,8 +5,8 @@
<target-gtk-version>2.12</target-gtk-version>
</configuration>
<import>
- <widget-library name="../../CesarPlayer/a.dll" />
- <widget-library name="../bin/Debug/LongoMatch.exe" internal="true" />
+ <widget-library name="../../CesarPlayer/bin/Release/CesarPlayer.dll" />
+ <widget-library name="../bin/Release/LongoMatch.exe" internal="true" />
</import>
<icon-factory>
<icon-set id="longomatch">
@@ -1782,6 +1782,7 @@
</action>
<action id="FullScreenAction">
<property name="Type">Toggle</property>
+ <property name="Accelerator"><Control><Alt>f</property>
<property name="Label" translatable="yes">Full Screen</property>
<property name="ShortLabel" translatable="yes">Full Screen</property>
<property name="StockId">gtk-fullscreen</property>
@@ -1791,6 +1792,7 @@
</action>
<action id="PlaylistAction">
<property name="Type">Toggle</property>
+ <property name="Accelerator"><Control>p</property>
<property name="Label" translatable="yes">Playlist</property>
<property name="ShortLabel" translatable="yes">Playlist</property>
<property name="DrawAsRadio">False</property>
@@ -1799,6 +1801,7 @@
</action>
<action id="CaptureModeAction">
<property name="Type">Radio</property>
+ <property name="Accelerator"><Control>c</property>
<property name="Label" translatable="yes">Capture Mode</property>
<property name="Sensitive">False</property>
<property name="ShortLabel" translatable="yes">Capture Mode</property>
@@ -1810,6 +1813,7 @@
</action>
<action id="AnalyzeModeAction">
<property name="Type">Radio</property>
+ <property name="Accelerator"><Control>a</property>
<property name="Label" translatable="yes">Analyze Mode</property>
<property name="Sensitive">False</property>
<property name="ShortLabel" translatable="yes">Analyze Mode</property>
@@ -1886,6 +1890,7 @@
</action>
<action id="FreeCaptureModeAction">
<property name="Type">Radio</property>
+ <property name="Accelerator"><Control>f</property>
<property name="Label" translatable="yes">Free Capture Mode</property>
<property name="Sensitive">False</property>
<property name="ShortLabel" translatable="yes">Free Capture Mode</property>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]