[longomatch] Update stetic gui
- From: Andoni Morales Alastruey <amorales src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [longomatch] Update stetic gui
- Date: Sun, 18 Dec 2011 21:44:06 +0000 (UTC)
commit 835824b896b1025478f6f64b22126abc792955fe
Author: Andoni Morales Alastruey <ylatuya gmail com>
Date: Fri Dec 16 02:45:39 2011 +0100
Update stetic gui
.../gtk-gui/LongoMatch.Gui.MainWindow.cs | 24 +++++++++++++++---
LongoMatch.GUI/gtk-gui/gui.stetic | 26 ++++++++++++++++++-
LongoMatch.GUI/gtk-gui/objects.xml | 12 ---------
3 files changed, 44 insertions(+), 18 deletions(-)
---
diff --git a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs
index 3317678..e64da81 100644
--- a/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs
+++ b/LongoMatch.GUI/gtk-gui/LongoMatch.Gui.MainWindow.cs
@@ -29,6 +29,10 @@ namespace LongoMatch.Gui
private global::Gtk.Action ImportProjectAction;
private global::Gtk.RadioAction ManualTaggingViewAction;
private global::Gtk.RadioAction GameUnitsViewAction;
+ private global::Gtk.Action ExportProjectAction;
+ private global::Gtk.Action ExportProjectAction1;
+ private global::Gtk.Action Action;
+ private global::Gtk.Action ExportToProjectFileAction;
private global::Gtk.VBox vbox1;
private global::Gtk.VBox menubox;
private global::Gtk.MenuBar menubar1;
@@ -139,15 +143,27 @@ namespace LongoMatch.Gui
this.ImportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("_Import Project");
w1.Add (this.ImportProjectAction, "<Control>i");
this.ManualTaggingViewAction = new global::Gtk.RadioAction ("ManualTaggingViewAction", global::Mono.Unix.Catalog.GetString ("Manual tagging view"), null, null, 0);
- this.ManualTaggingViewAction.Group = this.TaggingViewAction.Group;
+ this.ManualTaggingViewAction.Group = this.TimelineViewAction.Group;
this.ManualTaggingViewAction.Sensitive = false;
this.ManualTaggingViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Free Capture Mode");
w1.Add (this.ManualTaggingViewAction, "<Control>f");
this.GameUnitsViewAction = new global::Gtk.RadioAction ("GameUnitsViewAction", global::Mono.Unix.Catalog.GetString ("Game units view"), null, null, 0);
- this.GameUnitsViewAction.Group = this.TaggingViewAction.Group;
+ this.GameUnitsViewAction.Group = this.TimelineViewAction.Group;
this.GameUnitsViewAction.Sensitive = false;
this.GameUnitsViewAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Game units view");
w1.Add (this.GameUnitsViewAction, null);
+ this.ExportProjectAction = new global::Gtk.Action ("ExportProjectAction", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null);
+ this.ExportProjectAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project");
+ w1.Add (this.ExportProjectAction, null);
+ this.ExportProjectAction1 = new global::Gtk.Action ("ExportProjectAction1", global::Mono.Unix.Catalog.GetString ("Export Project"), null, null);
+ this.ExportProjectAction1.Sensitive = false;
+ this.ExportProjectAction1.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export Project");
+ w1.Add (this.ExportProjectAction1, null);
+ this.Action = new global::Gtk.Action ("Action", null, null, null);
+ w1.Add (this.Action, null);
+ this.ExportToProjectFileAction = new global::Gtk.Action ("ExportToProjectFileAction", global::Mono.Unix.Catalog.GetString ("Export to project file"), null, null);
+ this.ExportToProjectFileAction.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export to project file");
+ w1.Add (this.ExportToProjectFileAction, null);
this.UIManager.InsertActionGroup (w1, 0);
this.AddAccelGroup (this.UIManager.AccelGroup);
this.Name = "LongoMatch.Gui.MainWindow";
@@ -164,7 +180,7 @@ namespace LongoMatch.Gui
this.menubox.Name = "menubox";
this.menubox.Spacing = 6;
// Container child menubox.Gtk.Box+BoxChild
- this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menuitem name='ExportProjectToCSVFileAction' action='ExportProjectToCSVFileAction'/></menu><menu name='ViewAction' action='ViewAction'><menuitem name='FullScreenAction' action='FullScreenAction'/><menuit
em name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>");
+ this.UIManager.AddUiFromString ("<ui><menubar name='menubar1'><menu name='FileAction' action='FileAction'><menuitem name='NewPojectAction' action='NewPojectAction'/><menuitem name='openAction' action='openAction'/><menuitem name='SaveProjectAction' action='SaveProjectAction'/><menuitem name='CloseProjectAction' action='CloseProjectAction'/><separator/><menuitem name='ImportProjectAction' action='ImportProjectAction'/><separator/><menuitem name='QuitAction' action='QuitAction'/></menu><menu name='ToolsAction' action='ToolsAction'><menuitem name='ProjectsManagerAction' action='ProjectsManagerAction'/><menuitem name='CategoriesTemplatesManagerAction' action='CategoriesTemplatesManagerAction'/><menuitem name='TeamsTemplatesManagerAction' action='TeamsTemplatesManagerAction'/><menu name='ExportProjectAction1' action='ExportProjectAction1'><menuitem name='ExportToProjectFileAction' action='ExportToProjectFileAction'/></menu></menu><menu name='ViewAction' action='ViewAction'><me
nuitem name='FullScreenAction' action='FullScreenAction'/><menuitem name='HideAllWidgetsAction' action='HideAllWidgetsAction'/><separator/><menuitem name='PlaylistAction' action='PlaylistAction'/><separator/><menuitem name='TaggingViewAction' action='TaggingViewAction'/><menuitem name='ManualTaggingViewAction' action='ManualTaggingViewAction'/><menuitem name='TimelineViewAction' action='TimelineViewAction'/><menuitem name='GameUnitsViewAction' action='GameUnitsViewAction'/></menu><menu name='HelpAction' action='HelpAction'><menuitem name='AboutAction' action='AboutAction'/><menuitem name='HelpAction1' action='HelpAction1'/></menu></menubar></ui>");
this.menubar1 = ((global::Gtk.MenuBar)(this.UIManager.GetWidget ("/menubar1")));
this.menubar1.Name = "menubar1";
this.menubox.Add (this.menubar1);
@@ -365,7 +381,7 @@ namespace LongoMatch.Gui
this.Child.ShowAll ();
}
this.DefaultWidth = 1224;
- this.DefaultHeight = 681;
+ this.DefaultHeight = 686;
this.leftbox.Hide ();
this.drawingtoolbox1.Hide ();
this.buttonswidget.Hide ();
diff --git a/LongoMatch.GUI/gtk-gui/gui.stetic b/LongoMatch.GUI/gtk-gui/gui.stetic
index b1314ec..61763ed 100644
--- a/LongoMatch.GUI/gtk-gui/gui.stetic
+++ b/LongoMatch.GUI/gtk-gui/gui.stetic
@@ -1586,7 +1586,7 @@
</widget>
</child>
</widget>
- <widget class="Gtk.Window" id="LongoMatch.Gui.MainWindow" design-size="1224 681">
+ <widget class="Gtk.Window" id="LongoMatch.Gui.MainWindow" design-size="1224 686">
<action-group name="Default">
<action id="FileAction">
<property name="Type">Action</property>
@@ -1770,6 +1770,26 @@
<property name="Group">group1</property>
<signal name="Toggled" handler="OnViewToggled" />
</action>
+ <action id="ExportProjectAction">
+ <property name="Type">Action</property>
+ <property name="Label" translatable="yes">Export Project</property>
+ <property name="ShortLabel" translatable="yes">Export Project</property>
+ </action>
+ <action id="ExportProjectAction1">
+ <property name="Type">Action</property>
+ <property name="Label" translatable="yes">Export Project</property>
+ <property name="Sensitive">False</property>
+ <property name="ShortLabel" translatable="yes">Export Project</property>
+ </action>
+ <action id="Action">
+ <property name="Type">Action</property>
+ <property name="Label" translatable="yes" />
+ </action>
+ <action id="ExportToProjectFileAction">
+ <property name="Type">Action</property>
+ <property name="Label" translatable="yes">Export to project file</property>
+ <property name="ShortLabel" translatable="yes">Export to project file</property>
+ </action>
</action-group>
<property name="MemberName" />
<property name="Title" translatable="yes">LongoMatch</property>
@@ -1802,7 +1822,9 @@
<node type="Menuitem" action="ProjectsManagerAction" />
<node type="Menuitem" action="CategoriesTemplatesManagerAction" />
<node type="Menuitem" action="TeamsTemplatesManagerAction" />
- <node type="Menuitem" action="ExportProjectToCSVFileAction" />
+ <node type="Menu" action="ExportProjectAction1">
+ <node type="Menuitem" action="ExportToProjectFileAction" />
+ </node>
</node>
<node type="Menu" action="ViewAction">
<node type="Menuitem" action="FullScreenAction" />
diff --git a/LongoMatch.GUI/gtk-gui/objects.xml b/LongoMatch.GUI/gtk-gui/objects.xml
index 1ec76a5..e900893 100644
--- a/LongoMatch.GUI/gtk-gui/objects.xml
+++ b/LongoMatch.GUI/gtk-gui/objects.xml
@@ -183,28 +183,16 @@
</object>
<object type="LongoMatch.Gui.Base.TemplatesEditorWidget" palette-category="General" allow-children="false" base-type="Gtk.Bin">
<itemgroups>
- <itemgroup label="TemplatesEditorBase Properties">
- <property name="CanExport" />
- <property name="Edited" />
- </itemgroup>
</itemgroups>
<signals />
</object>
<object type="LongoMatch.Gui.Component.CategoriesTemplateEditorWidget" palette-category="General" allow-children="false" base-type="Gtk.Bin">
<itemgroups>
- <itemgroup label="TemplatesEditorBase Properties">
- <property name="CanExport" />
- <property name="Edited" />
- </itemgroup>
</itemgroups>
<signals />
</object>
<object type="LongoMatch.Gui.Component.TeamTemplateEditorWidget" palette-category="General" allow-children="false" base-type="LongoMatch.Gui.Base.TemplatesEditorBase">
<itemgroups>
- <itemgroup label="TemplatesEditorBase Properties">
- <property name="CanExport" />
- <property name="Edited" />
- </itemgroup>
</itemgroups>
<signals />
</object>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]