comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 6:cfc7683e73f9

Fix breakage from r33 by completing update of move to IBBoard.WarFoundry.GTK sub-packages no-open-ticket
author IBBoard <dev@ibboard.co.uk>
date Mon, 26 Jan 2009 20:16:07 +0000
parents 65279b85446f
children 58961ff391d4
comparison
equal deleted inserted replaced
5:65279b85446f 6:cfc7683e73f9
1 // ------------------------------------------------------------------------------ 1 // ------------------------------------------------------------------------------
2 // <autogenerated> 2 // <autogenerated>
3 // This code was generated by a tool. 3 // This code was generated by a tool.
4 // Mono Runtime Version: 2.0.50727.42 4 // Mono Runtime Version: 2.0.50727.1433
5 // 5 //
6 // Changes to this file may cause incorrect behavior and will be lost if 6 // Changes to this file may cause incorrect behavior and will be lost if
7 // the code is regenerated. 7 // the code is regenerated.
8 // </autogenerated> 8 // </autogenerated>
9 // ------------------------------------------------------------------------------ 9 // ------------------------------------------------------------------------------
10 10
11 namespace IBBoard.WarFoundry { 11 namespace IBBoard.WarFoundry.GTK {
12 12
13 13
14 public partial class FrmMainWindow { 14 public partial class FrmMainWindow {
15 15
16 private Gtk.UIManager UIManager; 16 private Gtk.UIManager UIManager;
73 73
74 private Gtk.Statusbar statusbar1; 74 private Gtk.Statusbar statusbar1;
75 75
76 protected virtual void Build() { 76 protected virtual void Build() {
77 Stetic.Gui.Initialize(this); 77 Stetic.Gui.Initialize(this);
78 // Widget IBBoard.WarFoundry.FrmMainWindow 78 // Widget IBBoard.WarFoundry.GTK.FrmMainWindow
79 this.UIManager = new Gtk.UIManager(); 79 this.UIManager = new Gtk.UIManager();
80 Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default"); 80 Gtk.ActionGroup w1 = new Gtk.ActionGroup("Default");
81 this.menuFile = new Gtk.Action("menuFile", Mono.Unix.Catalog.GetString("File"), null, null); 81 this.menuFile = new Gtk.Action("menuFile", "File", null, null);
82 this.menuFile.ShortLabel = Mono.Unix.Catalog.GetString("File"); 82 this.menuFile.ShortLabel = "File";
83 w1.Add(this.menuFile, null); 83 w1.Add(this.menuFile, null);
84 this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, null); 84 this.miCreateArmy = new Gtk.Action("miCreateArmy", "Create army", null, null);
85 this.miCreateArmy.Sensitive = false; 85 this.miCreateArmy.Sensitive = false;
86 this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army"); 86 this.miCreateArmy.ShortLabel = "Create army";
87 w1.Add(this.miCreateArmy, null); 87 w1.Add(this.miCreateArmy, null);
88 this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, null); 88 this.miOpenArmy = new Gtk.Action("miOpenArmy", "Open army", null, null);
89 this.miOpenArmy.Sensitive = false; 89 this.miOpenArmy.Sensitive = false;
90 this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army"); 90 this.miOpenArmy.ShortLabel = "Open army";
91 w1.Add(this.miOpenArmy, null); 91 w1.Add(this.miOpenArmy, null);
92 this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, null); 92 this.miSaveArmy = new Gtk.Action("miSaveArmy", "Save army", null, null);
93 this.miSaveArmy.Sensitive = false; 93 this.miSaveArmy.Sensitive = false;
94 this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army"); 94 this.miSaveArmy.ShortLabel = "Save army";
95 w1.Add(this.miSaveArmy, null); 95 w1.Add(this.miSaveArmy, null);
96 this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", Mono.Unix.Catalog.GetString("Save army as"), null, null); 96 this.miSaveArmyAs = new Gtk.Action("miSaveArmyAs", "Save army as", null, null);
97 this.miSaveArmyAs.Sensitive = false; 97 this.miSaveArmyAs.Sensitive = false;
98 this.miSaveArmyAs.ShortLabel = Mono.Unix.Catalog.GetString("Save army as"); 98 this.miSaveArmyAs.ShortLabel = "Save army as";
99 w1.Add(this.miSaveArmyAs, null); 99 w1.Add(this.miSaveArmyAs, null);
100 this.miCloseArmy = new Gtk.Action("miCloseArmy", Mono.Unix.Catalog.GetString("Close army"), null, null); 100 this.miCloseArmy = new Gtk.Action("miCloseArmy", "Close army", null, null);
101 this.miCloseArmy.Sensitive = false; 101 this.miCloseArmy.Sensitive = false;
102 this.miCloseArmy.ShortLabel = Mono.Unix.Catalog.GetString("Close army"); 102 this.miCloseArmy.ShortLabel = "Close army";
103 w1.Add(this.miCloseArmy, null); 103 w1.Add(this.miCloseArmy, null);
104 this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", Mono.Unix.Catalog.GetString("Change game system"), null, null); 104 this.miChangeGameSystem = new Gtk.Action("miChangeGameSystem", "Change game system", null, null);
105 this.miChangeGameSystem.ShortLabel = Mono.Unix.Catalog.GetString("Change game system"); 105 this.miChangeGameSystem.ShortLabel = "Change game system";
106 w1.Add(this.miChangeGameSystem, null); 106 w1.Add(this.miChangeGameSystem, null);
107 this.miReloadFiles = new Gtk.Action("miReloadFiles", Mono.Unix.Catalog.GetString("Reload files"), null, null); 107 this.miReloadFiles = new Gtk.Action("miReloadFiles", "Reload files", null, null);
108 this.miReloadFiles.Sensitive = false; 108 this.miReloadFiles.Sensitive = false;
109 this.miReloadFiles.ShortLabel = Mono.Unix.Catalog.GetString("Reload files"); 109 this.miReloadFiles.ShortLabel = "Reload files";
110 w1.Add(this.miReloadFiles, null); 110 w1.Add(this.miReloadFiles, null);
111 this.miExit = new Gtk.Action("miExit", Mono.Unix.Catalog.GetString("Exit"), null, null); 111 this.miExit = new Gtk.Action("miExit", "Exit", null, null);
112 this.miExit.ShortLabel = Mono.Unix.Catalog.GetString("Exit"); 112 this.miExit.ShortLabel = "Exit";
113 w1.Add(this.miExit, null); 113 w1.Add(this.miExit, null);
114 this.menuEdit = new Gtk.Action("menuEdit", Mono.Unix.Catalog.GetString("Edit"), null, null); 114 this.menuEdit = new Gtk.Action("menuEdit", "Edit", null, null);
115 this.menuEdit.ShortLabel = Mono.Unix.Catalog.GetString("Edit"); 115 this.menuEdit.ShortLabel = "Edit";
116 w1.Add(this.menuEdit, null); 116 w1.Add(this.menuEdit, null);
117 this.miUndo = new Gtk.Action("miUndo", Mono.Unix.Catalog.GetString("Undo"), null, null); 117 this.miUndo = new Gtk.Action("miUndo", "Undo", null, null);
118 this.miUndo.Sensitive = false; 118 this.miUndo.Sensitive = false;
119 this.miUndo.ShortLabel = Mono.Unix.Catalog.GetString("Undo"); 119 this.miUndo.ShortLabel = "Undo";
120 w1.Add(this.miUndo, null); 120 w1.Add(this.miUndo, null);
121 this.miRedo = new Gtk.Action("miRedo", Mono.Unix.Catalog.GetString("Redo"), null, null); 121 this.miRedo = new Gtk.Action("miRedo", "Redo", null, null);
122 this.miRedo.Sensitive = false; 122 this.miRedo.Sensitive = false;
123 this.miRedo.ShortLabel = Mono.Unix.Catalog.GetString("Redo"); 123 this.miRedo.ShortLabel = "Redo";
124 w1.Add(this.miRedo, null); 124 w1.Add(this.miRedo, null);
125 this.menuHelp = new Gtk.Action("menuHelp", Mono.Unix.Catalog.GetString("Help"), null, null); 125 this.menuHelp = new Gtk.Action("menuHelp", "Help", null, null);
126 this.menuHelp.ShortLabel = Mono.Unix.Catalog.GetString("Help"); 126 this.menuHelp.ShortLabel = "Help";
127 w1.Add(this.menuHelp, null); 127 w1.Add(this.menuHelp, null);
128 this.miAbout = new Gtk.Action("miAbout", Mono.Unix.Catalog.GetString("About"), null, null); 128 this.miAbout = new Gtk.Action("miAbout", "About", null, null);
129 this.miAbout.ShortLabel = Mono.Unix.Catalog.GetString("About"); 129 this.miAbout.ShortLabel = "About";
130 w1.Add(this.miAbout, null); 130 w1.Add(this.miAbout, null);
131 this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); 131 this.miDebugInformation = new Gtk.Action("miDebugInformation", "Debug Information", null, null);
132 this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information"); 132 this.miDebugInformation.ShortLabel = "Debug Information";
133 w1.Add(this.miDebugInformation, null); 133 w1.Add(this.miDebugInformation, null);
134 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); 134 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
135 this.newArmyButton.Sensitive = false; 135 this.newArmyButton.Sensitive = false;
136 w1.Add(this.newArmyButton, null); 136 w1.Add(this.newArmyButton, null);
137 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); 137 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open");
150 w1.Add(this.goDown, null); 150 w1.Add(this.goDown, null);
151 this.add = new Gtk.Action("add", null, null, "gtk-add"); 151 this.add = new Gtk.Action("add", null, null, "gtk-add");
152 w1.Add(this.add, null); 152 w1.Add(this.add, null);
153 this.UIManager.InsertActionGroup(w1, 0); 153 this.UIManager.InsertActionGroup(w1, 0);
154 this.AddAccelGroup(this.UIManager.AccelGroup); 154 this.AddAccelGroup(this.UIManager.AccelGroup);
155 this.Name = "IBBoard.WarFoundry.FrmMainWindow"; 155 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow";
156 this.Title = Mono.Unix.Catalog.GetString("MainWindow"); 156 this.Title = "MainWindow";
157 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico"); 157 this.Icon = Gdk.Pixbuf.LoadFromResource("App.ico");
158 // Container child IBBoard.WarFoundry.FrmMainWindow.Gtk.Container+ContainerChild 158 // Container child IBBoard.WarFoundry.GTK.FrmMainWindow.Gtk.Container+ContainerChild
159 this.vbox1 = new Gtk.VBox(); 159 this.vbox1 = new Gtk.VBox();
160 this.vbox1.Name = "vbox1"; 160 this.vbox1.Name = "vbox1";
161 // Container child vbox1.Gtk.Box+BoxChild 161 // Container child vbox1.Gtk.Box+BoxChild
162 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miChangeGameSystem' action='miChangeGameSystem'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>"); 162 this.UIManager.AddUiFromString("<ui><menubar name='menubar1'><menu name='menuFile' action='menuFile'><menuitem name='miCreateArmy' action='miCreateArmy'/><menuitem name='miOpenArmy' action='miOpenArmy'/><menuitem name='miSaveArmy' action='miSaveArmy'/><menuitem name='miSaveArmyAs' action='miSaveArmyAs'/><menuitem name='miCloseArmy' action='miCloseArmy'/><separator/><menuitem name='miChangeGameSystem' action='miChangeGameSystem'/><separator/><menuitem name='miReloadFiles' action='miReloadFiles'/><separator/><menuitem name='miExit' action='miExit'/></menu><menu name='menuEdit' action='menuEdit'><menuitem name='miUndo' action='miUndo'/><menuitem name='miRedo' action='miRedo'/></menu><menu name='menuHelp' action='menuHelp'><menuitem name='miAbout' action='miAbout'/><menuitem name='miDebugInformation' action='miDebugInformation'/></menu></menubar></ui>");
163 this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1"))); 163 this.menubar1 = ((Gtk.MenuBar)(this.UIManager.GetWidget("/menubar1")));