Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
changeset 7:58961ff391d4
Closes #30 - Convert to .csproj
* Convert GTK# GUI to .csproj and remove .mdp
Also:
* Remove rogue Dialog class
* Commit a number of generated GUI changes that MonoDevelop made and won't un-make
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 17 Feb 2009 16:41:55 +0000 |
parents | cfc7683e73f9 |
children | 20c5fd0bb79d |
files | Dialog.cs IBBoard.WarFoundry.GUI.GTK.csproj IBBoard.WarFoundry.GUI.GTK.csproj.user WarFoundryGUI.mdp gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs gtk-gui/generated.cs |
diffstat | 10 files changed, 167 insertions(+), 129 deletions(-) [+] |
line wrap: on
line diff
--- a/Dialog.cs Mon Jan 26 20:16:07 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,21 +0,0 @@ -// Dialog.cs created with MonoDevelop -// User: ibboard at 20:40 14/06/2008 -// -// To change standard headers go to Edit->Preferences->Coding->Standard Headers -// - -using System; - -namespace IBBoard.WarFoundry -{ - - - public partial class Dialog : Gtk.Dialog - { - - public Dialog() - { - this.Build(); - } - } -}
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IBBoard.WarFoundry.GUI.GTK.csproj Tue Feb 17 16:41:55 2009 +0000 @@ -0,0 +1,109 @@ +<?xml version="1.0" encoding="utf-8"?> +<Project DefaultTargets="Build" xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <Configuration Condition=" '$(Configuration)' == '' ">Debug</Configuration> + <Platform Condition=" '$(Platform)' == '' ">AnyCPU</Platform> + <ProductVersion>8.0.50727</ProductVersion> + <SchemaVersion>2.0</SchemaVersion> + <ProjectGuid>{4B435E40-7FA2-41C5-96F6-5735396D2D5F}</ProjectGuid> + <OutputType>WinExe</OutputType> + <AppDesignerFolder>Properties</AppDesignerFolder> + <RootNamespace>IBBoard.WarFoundry.GUI.GTK</RootNamespace> + <StartupObject> + </StartupObject> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Debug|AnyCPU' "> + <DebugSymbols>true</DebugSymbols> + <DebugType>full</DebugType> + <Optimize>false</Optimize> + <OutputPath>bin\Debug\</OutputPath> + <DefineConstants>DEBUG;TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <EnvironmentVariables> + <EnvironmentVariables /> + </EnvironmentVariables> + <AssemblyName>WarFoundryGTK</AssemblyName> + <StartupObject>IBBoard.WarFoundry.GTK.FrmMainWindow</StartupObject> + <ApplicationIcon>App.ico</ApplicationIcon> + </PropertyGroup> + <PropertyGroup Condition=" '$(Configuration)|$(Platform)' == 'Release|AnyCPU' "> + <DebugType>pdbonly</DebugType> + <Optimize>true</Optimize> + <OutputPath>bin\Release\</OutputPath> + <DefineConstants>TRACE</DefineConstants> + <ErrorReport>prompt</ErrorReport> + <WarningLevel>4</WarningLevel> + <AssemblyName>IBBoard.WarFoundry.GUI.GTK</AssemblyName> + <StartupObject>IBBoard.WarFoundry.GTK.FrmMainWindow</StartupObject> + <ApplicationIcon>App.ico</ApplicationIcon> + </PropertyGroup> + <Import Project="$(MSBuildBinPath)\Microsoft.CSharp.targets" /> + <!-- To modify your build process, add your task inside one of the targets below and uncomment it. + Other similar extension points exist, see Microsoft.Common.targets. + <Target Name="BeforeBuild"> + </Target> + <Target Name="AfterBuild"> + </Target> + --> + <ItemGroup> + <Compile Include="AssemblyInfo.cs" /> + <Compile Include="FrmChangeGameSystem.cs" /> + <Compile Include="FrmMainWindow.cs" /> + <Compile Include="FrmNewArmy.cs" /> + <Compile Include="FrmNewUnit.cs" /> + <Compile Include="Widgets\UnitDisplayWidget.cs" /> + <Compile Include="gtk-gui\generated.cs" /> + <Compile Include="gtk-gui\IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs" /> + <Compile Include="gtk-gui\IBBoard.WarFoundry.GTK.FrmMainWindow.cs" /> + <Compile Include="gtk-gui\IBBoard.WarFoundry.GTK.FrmNewArmy.cs" /> + <Compile Include="gtk-gui\IBBoard.WarFoundry.GTK.FrmNewUnit.cs" /> + <Compile Include="gtk-gui\IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs" /> + </ItemGroup> + <ItemGroup> + <Content Include="App.png" /> + <Content Include="libs\log4net.dll" /> + <Content Include="libs\log4net.xml" /> + </ItemGroup> + <ItemGroup> + <None Include="COPYING.GPL" /> + <None Include="COPYING.LGPL" /> + <None Include="translations\en.translation" /> + <None Include="WarFoundryGTK.exe.log4net" /> + <None Include="gtk-gui\gui.stetic" /> + <None Include="gtk-gui\objects.xml" /> + </ItemGroup> + <ItemGroup> + <Reference Include="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + <Reference Include="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> + <Reference Include="log4net, Version=1.2.10.0, Culture=neutral, PublicKeyToken=1b44e1d426115821"> + <SpecificVersion>False</SpecificVersion> + <HintPath>libs\log4net.dll</HintPath> + </Reference> + <Reference Include="Mono.Posix" /> + <Reference Include="System" /> + </ItemGroup> + <ItemGroup> + <ProjectReference Include="..\IBBoard.WarFoundry.API\IBBoard.WarFoundry.API.csproj"> + <Project>{951E6C7A-7FBA-4F68-9D9E-F48618BB9626}</Project> + <Name>IBBoard.WarFoundry.API</Name> + </ProjectReference> + <ProjectReference Include="..\IBBoard.WarFoundry.Plugin.Rollcall\IBBoard.WarFoundry.Plugin.Rollcall.csproj"> + <Project>{182E4A7C-7CFB-4337-A9AD-AB2DCA054A53}</Project> + <Name>IBBoard.WarFoundry.Plugin.Rollcall</Name> + </ProjectReference> + <ProjectReference Include="..\IBBoard\IBBoard.csproj"> + <Project>{5DFD64F6-FC2B-4B4F-B92E-483BAC468105}</Project> + <Name>IBBoard</Name> + </ProjectReference> + <ProjectReference Include="..\IBBoard.Log4Net\IBBoard.Log4Net.csproj"> + <Project>{DCBA3FB1-267A-4D89-955B-5C05785EE1CD}</Project> + <Name>IBBoard.Log4Net</Name> + </ProjectReference> + </ItemGroup> + <ItemGroup> + <EmbeddedResource Include="App.ico"> + <LogicalName>App.ico</LogicalName> + </EmbeddedResource> + </ItemGroup> +</Project> \ No newline at end of file
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/IBBoard.WarFoundry.GUI.GTK.csproj.user Tue Feb 17 16:41:55 2009 +0000 @@ -0,0 +1,5 @@ +<Project xmlns="http://schemas.microsoft.com/developer/msbuild/2003"> + <PropertyGroup> + <ProjectView>ProjectFiles</ProjectView> + </PropertyGroup> +</Project> \ No newline at end of file
--- a/WarFoundryGUI.mdp Mon Jan 26 20:16:07 2009 +0000 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,55 +0,0 @@ -<Project name="WarFoundry GTK# GUI" fileversion="2.0" language="C#" DefaultNamespace="IBBoard.WarFoundry.GTK" clr-version="Net_2_0" Description="A GTK# GUI for the WarFoundry army builder application." ctype="DotNetProject"> - <Configurations active="Debug"> - <Configuration name="Debug" ctype="DotNetProjectConfiguration"> - <Output directory="bin/Debug" assemblyKeyFile="/home/ibboard/eclipse/IBBoard.WarFoundry.GUI.GTK/." assembly="WarFoundryGTK" /> - <Build debugmode="True" target="Exe" /> - <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_2_0" /> - <EnvironmentVariables /> - <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="IBBoard.WarFoundry.GTK.FrmMainWindow" generatexmldocumentation="False" win32Icon="/home/ibboard/eclipse/IBBoard.WarFoundry.GUI.GTK/App.ico" ctype="CSharpCompilerParameters" /> - </Configuration> - <Configuration name="Release" ctype="DotNetProjectConfiguration"> - <Output directory="bin/Release" assembly="WarFoundryGTK" /> - <Build debugmode="False" target="Exe" /> - <Execution runwithwarnings="True" consolepause="True" runtime="MsNet" clr-version="Net_2_0" /> - <CodeGeneration compiler="Mcs" warninglevel="4" optimize="True" unsafecodeallowed="False" generateoverflowchecks="True" mainclass="IBBoard.WarFoundry.GTK.FrmMainWindow" generatexmldocumentation="False" win32Icon="/home/ibboard/eclipse/IBBoard.WarFoundry.GUI.GTK/App.ico" ctype="CSharpCompilerParameters" /> - </Configuration> - </Configurations> - <Contents> - <File name="gtk-gui/gui.stetic" subtype="Code" buildaction="EmbedAsResource" /> - <File name="gtk-gui/generated.cs" subtype="Code" buildaction="Compile" /> - <File name="FrmMainWindow.cs" subtype="Code" buildaction="Compile" /> - <File name="AssemblyInfo.cs" subtype="Code" buildaction="Compile" /> - <File name="FrmNewArmy.cs" subtype="Code" buildaction="Compile" /> - <File name="App.png" subtype="Code" buildaction="Nothing" /> - <File name="App.ico" subtype="Code" buildaction="EmbedAsResource" /> - <File name="libs/log4net.dll" subtype="Code" buildaction="Nothing" /> - <File name="libs/log4net.xml" subtype="Code" buildaction="Nothing" /> - <File name="WarFoundryGTK.exe.log4net" subtype="Code" buildaction="FileCopy" /> - <File name="FrmChangeGameSystem.cs" subtype="Code" buildaction="Compile" /> - <File name="FrmNewUnit.cs" subtype="Code" buildaction="Compile" /> - <File name="Widgets" subtype="Directory" buildaction="Compile" /> - <File name="Widgets/UnitDisplayWidget.cs" subtype="Code" buildaction="Compile" /> - <File name="gtk-gui/objects.xml" subtype="Code" buildaction="EmbedAsResource" /> - <File name="translations/en.translation" subtype="Code" buildaction="Nothing" /> - <File name="COPYING.GPL" subtype="Code" buildaction="Nothing" /> - <File name="COPYING.LGPL" subtype="Code" buildaction="Nothing" /> - <File name="gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs" subtype="Code" buildaction="Compile" /> - <File name="gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs" subtype="Code" buildaction="Compile" /> - <File name="gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs" subtype="Code" buildaction="Compile" /> - <File name="gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs" subtype="Code" buildaction="Compile" /> - <File name="gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs" subtype="Code" buildaction="Compile" /> - </Contents> - <References> - <ProjectReference type="Gac" localcopy="True" refto="System, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" /> - <ProjectReference type="Gac" localcopy="True" refto="Mono.Posix, Version=2.0.0.0, Culture=neutral, PublicKeyToken=0738eb9f132ed756" /> - <ProjectReference type="Project" localcopy="True" refto="IBBoard" /> - <ProjectReference type="Project" localcopy="True" refto="IBBoard.WarFoundry.API" /> - <ProjectReference type="Assembly" localcopy="True" refto="libs/log4net.dll" /> - <ProjectReference type="Project" localcopy="True" refto="IBBoard.WarFoundry.Plugin.Rollcall" /> - <ProjectReference type="Project" localcopy="True" refto="IBBoard.Log4Net" /> - <ProjectReference type="Gac" localcopy="True" refto="gtk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> - <ProjectReference type="Gac" localcopy="True" refto="gdk-sharp, Version=2.12.0.0, Culture=neutral, PublicKeyToken=35e10195dab3c99f" /> - </References> - <Deployment.LinuxDeployData scriptName="warfoundry_gui" /> - <GtkDesignInfo generateGettext="False" /> -</Project> \ No newline at end of file
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmChangeGameSystem.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -29,7 +29,7 @@ Stetic.Gui.Initialize(this); // Widget IBBoard.WarFoundry.GTK.FrmChangeGameSystem this.Name = "IBBoard.WarFoundry.GTK.FrmChangeGameSystem"; - this.Title = "Change Game System"; + this.Title = Mono.Unix.Catalog.GetString("Change Game System"); this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); this.TypeHint = ((Gdk.WindowTypeHint)(1)); this.WindowPosition = ((Gtk.WindowPosition)(4)); @@ -53,7 +53,7 @@ // Container child hbox1.Gtk.Box+BoxChild this.lblGameSystem = new Gtk.Label(); this.lblGameSystem.Name = "lblGameSystem"; - this.lblGameSystem.LabelProp = "Game System"; + this.lblGameSystem.LabelProp = Mono.Unix.Catalog.GetString("Game System"); this.hbox1.Add(this.lblGameSystem); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.lblGameSystem])); w2.Position = 0;
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -78,58 +78,58 @@ // Widget IBBoard.WarFoundry.GTK.FrmMainWindow this.UIManager = new Gtk.UIManager(); Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); - this.menuFile = new Gtk.Action("menuFile", "File", null, null); - this.menuFile.ShortLabel = "File"; + this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null); + this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File"); w1.Add(this.menuFile, null); - this.miCreateArmy = new Gtk.Action("miCreateArmy", "Create army", null, null); + this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, null); this.miCreateArmy.Sensitive = false; - this.miCreateArmy.ShortLabel = "Create army"; + this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army"); w1.Add(this.miCreateArmy, null); - this.miOpenArmy = new Gtk.Action("miOpenArmy", "Open army", null, null); + this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, null); this.miOpenArmy.Sensitive = false; - this.miOpenArmy.ShortLabel = "Open army"; + this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army"); w1.Add(this.miOpenArmy, null); - this.miSaveArmy = new Gtk.Action("miSaveArmy", "Save army", null, null); + this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, null); this.miSaveArmy.Sensitive = false; - this.miSaveArmy.ShortLabel = "Save army"; + this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army"); w1.Add(this.miSaveArmy, null); - this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", "Save army as", null, null); + this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, null); this.miSaveArmyAs.Sensitive = false; - this.miSaveArmyAs.ShortLabel = "Save army as"; + this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as"); w1.Add(this.miSaveArmyAs, null); - this.miCloseArmy = new Gtk.Action("miCloseArmy", "Close army", null, null); + this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, null); this.miCloseArmy.Sensitive = false; - this.miCloseArmy.ShortLabel = "Close army"; + this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army"); w1.Add(this.miCloseArmy, null); - this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", "Change game system", null, null); - this.miChangeGameSystem.ShortLabel = "Change game system"; + this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", Mono.Unix.Catalog.GetString("Change game system"), null, null); + this.miChangeGameSystem.ShortLabel = Mono.Unix.Catalog.GetString("Change game system"); w1.Add(this.miChangeGameSystem, null); - this.miReloadFiles = new Gtk.Action("miReloadFiles", "Reload files", null, null); + this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, null); this.miReloadFiles.Sensitive = false; - this.miReloadFiles.ShortLabel = "Reload files"; + this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files"); w1.Add(this.miReloadFiles, null); - this.miExit = new Gtk.Action("miExit", "Exit", null, null); - this.miExit.ShortLabel = "Exit"; + this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, null); + this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); w1.Add(this.miExit, null); - this.menuEdit = new Gtk.Action("menuEdit", "Edit", null, null); - this.menuEdit.ShortLabel = "Edit"; + this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null); + this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); w1.Add(this.menuEdit, null); - this.miUndo = new Gtk.Action("miUndo", "Undo", null, null); + this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, null); this.miUndo.Sensitive = false; - this.miUndo.ShortLabel = "Undo"; + this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo"); w1.Add(this.miUndo, null); - this.miRedo = new Gtk.Action("miRedo", "Redo", null, null); + this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, null); this.miRedo.Sensitive = false; - this.miRedo.ShortLabel = "Redo"; + this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo"); w1.Add(this.miRedo, null); - this.menuHelp = new Gtk.Action("menuHelp", "Help", null, null); - this.menuHelp.ShortLabel = "Help"; + this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null); + this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help"); w1.Add(this.menuHelp, null); - this.miAbout = new Gtk.Action("miAbout", "About", null, null); - this.miAbout.ShortLabel = "About"; + this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, null); + this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About"); w1.Add(this.miAbout, null); - this.miDebugInformation = new Gtk.Action("miDebugInformation", "Debug Information", null, null); - this.miDebugInformation.ShortLabel = "Debug Information"; + this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); + this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information"); w1.Add(this.miDebugInformation, null); this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); this.newArmyButton.Sensitive = false; @@ -153,7 +153,7 @@ this.UIManager.InsertActionGroup(w1, 0); this.AddAccelGroup(this.UIManager.AccelGroup); this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; - this.Title = "MainWindow"; + this.Title = Mono.Unix.Catalog.GetString("MainWindow"); this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild this.vbox1 = new Gtk.VBox();
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewArmy.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -40,7 +40,7 @@ // Widget IBBoard.WarFoundry.GTK.FrmNewArmy this.Events = ((Gdk.EventMask)(256)); this.Name = "IBBoard.WarFoundry.GTK.FrmNewArmy"; - this.Title = "Create new army"; + this.Title = Mono.Unix.Catalog.GetString("Create new army"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.SkipPagerHint = true; @@ -101,7 +101,7 @@ // Container child table1.Gtk.Table+TableChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; - this.label1.LabelProp = "Race"; + this.label1.LabelProp = Mono.Unix.Catalog.GetString("Race"); this.table1.Add(this.label1); Gtk.Table.TableChild w6 = ((Gtk.Table.TableChild)(this.table1[this.label1])); w6.XOptions = ((Gtk.AttachOptions)(4)); @@ -109,7 +109,7 @@ // Container child table1.Gtk.Table+TableChild this.label2 = new Gtk.Label(); this.label2.Name = "label2"; - this.label2.LabelProp = "Army name"; + this.label2.LabelProp = Mono.Unix.Catalog.GetString("Army name"); this.table1.Add(this.label2); Gtk.Table.TableChild w7 = ((Gtk.Table.TableChild)(this.table1[this.label2])); w7.TopAttach = ((uint)(1)); @@ -119,7 +119,7 @@ // Container child table1.Gtk.Table+TableChild this.label3 = new Gtk.Label(); this.label3.Name = "label3"; - this.label3.LabelProp = "Points value"; + this.label3.LabelProp = Mono.Unix.Catalog.GetString("Points value"); this.table1.Add(this.label3); Gtk.Table.TableChild w8 = ((Gtk.Table.TableChild)(this.table1[this.label3])); w8.TopAttach = ((uint)(2)); @@ -182,7 +182,7 @@ w14.Add(w15); // Container child GtkHBox1.Gtk.Container+ContainerChild Gtk.Label w17 = new Gtk.Label(); - w17.LabelProp = "C_reate"; + w17.LabelProp = Mono.Unix.Catalog.GetString("C_reate"); w17.UseUnderline = true; w14.Add(w17); w13.Add(w14);
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmNewUnit.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -33,7 +33,7 @@ Stetic.Gui.Initialize(this); // Widget IBBoard.WarFoundry.GTK.FrmNewUnit this.Name = "IBBoard.WarFoundry.GTK.FrmNewUnit"; - this.Title = "Add new unit"; + this.Title = Mono.Unix.Catalog.GetString("Add new unit"); this.Icon = Stetic.IconLoader.LoadIcon(this, "gtk-new", Gtk.IconSize.Menu, 16); this.WindowPosition = ((Gtk.WindowPosition)(4)); this.Modal = true; @@ -55,7 +55,7 @@ // Container child hbox1.Gtk.Box+BoxChild this.label1 = new Gtk.Label(); this.label1.Name = "label1"; - this.label1.LabelProp = "Unit Type:"; + this.label1.LabelProp = Mono.Unix.Catalog.GetString("Unit Type:"); this.hbox1.Add(this.label1); Gtk.Box.BoxChild w2 = ((Gtk.Box.BoxChild)(this.hbox1[this.label1])); w2.Position = 0;
--- a/gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.Widgets.UnitDisplayWidget.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated. @@ -155,7 +155,7 @@ // Container child table1.Gtk.Table+TableChild this.optionalEquipmentLabel = new Gtk.Label(); this.optionalEquipmentLabel.Name = "optionalEquipmentLabel"; - this.optionalEquipmentLabel.LabelProp = "Optional Equipment:"; + this.optionalEquipmentLabel.LabelProp = Mono.Unix.Catalog.GetString("Optional Equipment:"); this.table1.Add(this.optionalEquipmentLabel); Gtk.Table.TableChild w11 = ((Gtk.Table.TableChild)(this.table1[this.optionalEquipmentLabel])); w11.TopAttach = ((uint)(1)); @@ -165,7 +165,7 @@ // Container child table1.Gtk.Table+TableChild this.requiredEquipmentLabel = new Gtk.Label(); this.requiredEquipmentLabel.Name = "requiredEquipmentLabel"; - this.requiredEquipmentLabel.LabelProp = "Required Equipment:"; + this.requiredEquipmentLabel.LabelProp = Mono.Unix.Catalog.GetString("Required Equipment:"); this.table1.Add(this.requiredEquipmentLabel); Gtk.Table.TableChild w12 = ((Gtk.Table.TableChild)(this.table1[this.requiredEquipmentLabel])); w12.XOptions = ((Gtk.AttachOptions)(4)); @@ -179,7 +179,7 @@ this.bttnReplaceRequired.CanFocus = true; this.bttnReplaceRequired.Name = "bttnReplaceRequired"; this.bttnReplaceRequired.UseUnderline = true; - this.bttnReplaceRequired.Label = "Replace"; + this.bttnReplaceRequired.Label = Mono.Unix.Catalog.GetString("Replace"); this.vbox2.Add(this.bttnReplaceRequired); Gtk.Box.BoxChild w13 = ((Gtk.Box.BoxChild)(this.vbox2[this.bttnReplaceRequired])); w13.Position = 0; @@ -190,7 +190,7 @@ this.bttnEditRequired.CanFocus = true; this.bttnEditRequired.Name = "bttnEditRequired"; this.bttnEditRequired.UseUnderline = true; - this.bttnEditRequired.Label = "Edit"; + this.bttnEditRequired.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbox2.Add(this.bttnEditRequired); Gtk.Box.BoxChild w14 = ((Gtk.Box.BoxChild)(this.vbox2[this.bttnEditRequired])); w14.Position = 1; @@ -211,7 +211,7 @@ this.bttnAddOptional.CanFocus = true; this.bttnAddOptional.Name = "bttnAddOptional"; this.bttnAddOptional.UseUnderline = true; - this.bttnAddOptional.Label = "Add"; + this.bttnAddOptional.Label = Mono.Unix.Catalog.GetString("Add"); this.vbox3.Add(this.bttnAddOptional); Gtk.Box.BoxChild w16 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnAddOptional])); w16.Position = 0; @@ -222,7 +222,7 @@ this.bttnEditOptional.CanFocus = true; this.bttnEditOptional.Name = "bttnEditOptional"; this.bttnEditOptional.UseUnderline = true; - this.bttnEditOptional.Label = "Edit"; + this.bttnEditOptional.Label = Mono.Unix.Catalog.GetString("Edit"); this.vbox3.Add(this.bttnEditOptional); Gtk.Box.BoxChild w17 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnEditOptional])); w17.Position = 1; @@ -233,7 +233,7 @@ this.bttnRemove.CanFocus = true; this.bttnRemove.Name = "bttnRemove"; this.bttnRemove.UseUnderline = true; - this.bttnRemove.Label = "Remove"; + this.bttnRemove.Label = Mono.Unix.Catalog.GetString("Remove"); this.vbox3.Add(this.bttnRemove); Gtk.Box.BoxChild w18 = ((Gtk.Box.BoxChild)(this.vbox3[this.bttnRemove])); w18.Position = 2;
--- a/gtk-gui/generated.cs Mon Jan 26 20:16:07 2009 +0000 +++ b/gtk-gui/generated.cs Tue Feb 17 16:41:55 2009 +0000 @@ -1,7 +1,7 @@ // ------------------------------------------------------------------------------ // <autogenerated> // This code was generated by a tool. -// Mono Runtime Version: 2.0.50727.1433 +// // // Changes to this file may cause incorrect behavior and will be lost if // the code is regenerated.