comparison gtk-gui/IBBoard.WarFoundry.GUI.GTK.FrmMainWindow.cs @ 155:7b091ea86819

* Commit code that MonoDevelop insists on reformatting
author IBBoard <dev@ibboard.co.uk>
date Sat, 12 May 2012 19:56:24 +0100
parents 135491fd1830
children 2d1dd73a3289
comparison
equal deleted inserted replaced
154:c549fd4ff4bf 155:7b091ea86819
45 { 45 {
46 global::Stetic.Gui.Initialize (this); 46 global::Stetic.Gui.Initialize (this);
47 // Widget IBBoard.WarFoundry.GUI.GTK.FrmMainWindow 47 // Widget IBBoard.WarFoundry.GUI.GTK.FrmMainWindow
48 this.UIManager = new global::Gtk.UIManager (); 48 this.UIManager = new global::Gtk.UIManager ();
49 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default"); 49 global::Gtk.ActionGroup w1 = new global::Gtk.ActionGroup ("Default");
50 this.menuFile = new global::Gtk.Action ("menuFile", global::Mono.Unix.Catalog.GetString ("File"), null, null); 50 this.menuFile = new global::Gtk.Action (
51 "menuFile",
52 global::Mono.Unix.Catalog.GetString("File"),
53 null,
54 null
55 );
51 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString ("File"); 56 this.menuFile.ShortLabel = global::Mono.Unix.Catalog.GetString ("File");
52 w1.Add (this.menuFile, null); 57 w1.Add (this.menuFile, null);
53 this.miNewArmy = new global::Gtk.Action ("miNewArmy", global::Mono.Unix.Catalog.GetString ("Create army"), null, "gtk-new"); 58 this.miNewArmy = new global::Gtk.Action (
59 "miNewArmy",
60 global::Mono.Unix.Catalog.GetString("Create army"),
61 null,
62 "gtk-new"
63 );
54 this.miNewArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create army"); 64 this.miNewArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Create army");
55 w1.Add (this.miNewArmy, null); 65 w1.Add (this.miNewArmy, null);
56 this.miOpenArmy = new global::Gtk.Action ("miOpenArmy", global::Mono.Unix.Catalog.GetString ("Open army"), null, "gtk-open"); 66 this.miOpenArmy = new global::Gtk.Action (
67 "miOpenArmy",
68 global::Mono.Unix.Catalog.GetString("Open army"),
69 null,
70 "gtk-open"
71 );
57 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open army"); 72 this.miOpenArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Open army");
58 w1.Add (this.miOpenArmy, null); 73 w1.Add (this.miOpenArmy, null);
59 this.miSaveArmy = new global::Gtk.Action ("miSaveArmy", global::Mono.Unix.Catalog.GetString ("Save army"), null, "gtk-save"); 74 this.miSaveArmy = new global::Gtk.Action (
75 "miSaveArmy",
76 global::Mono.Unix.Catalog.GetString("Save army"),
77 null,
78 "gtk-save"
79 );
60 this.miSaveArmy.Sensitive = false; 80 this.miSaveArmy.Sensitive = false;
61 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save army"); 81 this.miSaveArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save army");
62 w1.Add (this.miSaveArmy, null); 82 w1.Add (this.miSaveArmy, null);
63 this.miSaveArmyAs = new global::Gtk.Action ("miSaveArmyAs", global::Mono.Unix.Catalog.GetString ("Save army as"), null, "gtk-save-as"); 83 this.miSaveArmyAs = new global::Gtk.Action (
84 "miSaveArmyAs",
85 global::Mono.Unix.Catalog.GetString("Save army as"),
86 null,
87 "gtk-save-as"
88 );
64 this.miSaveArmyAs.Sensitive = false; 89 this.miSaveArmyAs.Sensitive = false;
65 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save army as"); 90 this.miSaveArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString ("Save army as");
66 w1.Add (this.miSaveArmyAs, null); 91 w1.Add (this.miSaveArmyAs, null);
67 this.miCloseArmy = new global::Gtk.Action ("miCloseArmy", global::Mono.Unix.Catalog.GetString ("Close army"), null, "gtk-close"); 92 this.miCloseArmy = new global::Gtk.Action (
93 "miCloseArmy",
94 global::Mono.Unix.Catalog.GetString("Close army"),
95 null,
96 "gtk-close"
97 );
68 this.miCloseArmy.Sensitive = false; 98 this.miCloseArmy.Sensitive = false;
69 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close army"); 99 this.miCloseArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("Close army");
70 w1.Add (this.miCloseArmy, null); 100 w1.Add (this.miCloseArmy, null);
71 this.miReloadFiles = new global::Gtk.Action ("miReloadFiles", global::Mono.Unix.Catalog.GetString ("Reload files"), null, "gtk-refresh"); 101 this.miReloadFiles = new global::Gtk.Action (
102 "miReloadFiles",
103 global::Mono.Unix.Catalog.GetString("Reload files"),
104 null,
105 "gtk-refresh"
106 );
72 this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString ("Reload files"); 107 this.miReloadFiles.ShortLabel = global::Mono.Unix.Catalog.GetString ("Reload files");
73 w1.Add (this.miReloadFiles, null); 108 w1.Add (this.miReloadFiles, null);
74 this.miExit = new global::Gtk.Action ("miExit", global::Mono.Unix.Catalog.GetString ("Exit"), null, "gtk-quit"); 109 this.miExit = new global::Gtk.Action (
110 "miExit",
111 global::Mono.Unix.Catalog.GetString("Exit"),
112 null,
113 "gtk-quit"
114 );
75 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit"); 115 this.miExit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Exit");
76 w1.Add (this.miExit, null); 116 w1.Add (this.miExit, null);
77 this.menuEdit = new global::Gtk.Action ("menuEdit", global::Mono.Unix.Catalog.GetString ("Edit"), null, null); 117 this.menuEdit = new global::Gtk.Action (
118 "menuEdit",
119 global::Mono.Unix.Catalog.GetString("Edit"),
120 null,
121 null
122 );
78 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit"); 123 this.menuEdit.ShortLabel = global::Mono.Unix.Catalog.GetString ("Edit");
79 w1.Add (this.menuEdit, null); 124 w1.Add (this.menuEdit, null);
80 this.miUndo = new global::Gtk.Action ("miUndo", global::Mono.Unix.Catalog.GetString ("Undo"), null, "gtk-undo"); 125 this.miUndo = new global::Gtk.Action (
126 "miUndo",
127 global::Mono.Unix.Catalog.GetString("Undo"),
128 null,
129 "gtk-undo"
130 );
81 this.miUndo.Sensitive = false; 131 this.miUndo.Sensitive = false;
82 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo"); 132 this.miUndo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Undo");
83 w1.Add (this.miUndo, null); 133 w1.Add (this.miUndo, null);
84 this.miRedo = new global::Gtk.Action ("miRedo", global::Mono.Unix.Catalog.GetString ("Redo"), null, "gtk-redo"); 134 this.miRedo = new global::Gtk.Action (
135 "miRedo",
136 global::Mono.Unix.Catalog.GetString("Redo"),
137 null,
138 "gtk-redo"
139 );
85 this.miRedo.Sensitive = false; 140 this.miRedo.Sensitive = false;
86 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo"); 141 this.miRedo.ShortLabel = global::Mono.Unix.Catalog.GetString ("Redo");
87 w1.Add (this.miRedo, null); 142 w1.Add (this.miRedo, null);
88 this.menuHelp = new global::Gtk.Action ("menuHelp", global::Mono.Unix.Catalog.GetString ("Help"), null, null); 143 this.menuHelp = new global::Gtk.Action (
144 "menuHelp",
145 global::Mono.Unix.Catalog.GetString("Help"),
146 null,
147 null
148 );
89 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help"); 149 this.menuHelp.ShortLabel = global::Mono.Unix.Catalog.GetString ("Help");
90 w1.Add (this.menuHelp, null); 150 w1.Add (this.menuHelp, null);
91 this.miAbout = new global::Gtk.Action ("miAbout", global::Mono.Unix.Catalog.GetString ("About"), null, "gtk-about"); 151 this.miAbout = new global::Gtk.Action (
152 "miAbout",
153 global::Mono.Unix.Catalog.GetString("About"),
154 null,
155 "gtk-about"
156 );
92 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("About"); 157 this.miAbout.ShortLabel = global::Mono.Unix.Catalog.GetString ("About");
93 w1.Add (this.miAbout, null); 158 w1.Add (this.miAbout, null);
94 this.miDebugInformation = new global::Gtk.Action ("miDebugInformation", global::Mono.Unix.Catalog.GetString ("Debug Information"), null, null); 159 this.miDebugInformation = new global::Gtk.Action (
160 "miDebugInformation",
161 global::Mono.Unix.Catalog.GetString("Debug Information"),
162 null,
163 null
164 );
95 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Debug Information"); 165 this.miDebugInformation.ShortLabel = global::Mono.Unix.Catalog.GetString ("Debug Information");
96 w1.Add (this.miDebugInformation, null); 166 w1.Add (this.miDebugInformation, null);
97 this.bttnNewArmy = new global::Gtk.Action ("bttnNewArmy", null, null, "gtk-new"); 167 this.bttnNewArmy = new global::Gtk.Action (
168 "bttnNewArmy",
169 null,
170 null,
171 "gtk-new"
172 );
98 w1.Add (this.bttnNewArmy, null); 173 w1.Add (this.bttnNewArmy, null);
99 this.bttnOpenArmy = new global::Gtk.Action ("bttnOpenArmy", null, null, "gtk-open"); 174 this.bttnOpenArmy = new global::Gtk.Action (
175 "bttnOpenArmy",
176 null,
177 null,
178 "gtk-open"
179 );
100 w1.Add (this.bttnOpenArmy, null); 180 w1.Add (this.bttnOpenArmy, null);
101 this.bttnSaveArmy = new global::Gtk.Action ("bttnSaveArmy", null, null, "gtk-save"); 181 this.bttnSaveArmy = new global::Gtk.Action (
182 "bttnSaveArmy",
183 null,
184 null,
185 "gtk-save"
186 );
102 this.bttnSaveArmy.Sensitive = false; 187 this.bttnSaveArmy.Sensitive = false;
103 w1.Add (this.bttnSaveArmy, null); 188 w1.Add (this.bttnSaveArmy, null);
104 this.bttnUndo = new global::Gtk.Action ("bttnUndo", null, null, "gtk-undo"); 189 this.bttnUndo = new global::Gtk.Action ("bttnUndo", null, null, "gtk-undo");
105 this.bttnUndo.Sensitive = false; 190 this.bttnUndo.Sensitive = false;
106 w1.Add (this.bttnUndo, null); 191 w1.Add (this.bttnUndo, null);
109 w1.Add (this.bttnRedo, null); 194 w1.Add (this.bttnRedo, null);
110 this.goDown = new global::Gtk.Action ("goDown", null, null, null); 195 this.goDown = new global::Gtk.Action ("goDown", null, null, null);
111 w1.Add (this.goDown, null); 196 w1.Add (this.goDown, null);
112 this.add = new global::Gtk.Action ("add", null, null, "gtk-add"); 197 this.add = new global::Gtk.Action ("add", null, null, "gtk-add");
113 w1.Add (this.add, null); 198 w1.Add (this.add, null);
114 this.miExportArmyAs = new global::Gtk.Action ("miExportArmyAs", global::Mono.Unix.Catalog.GetString ("Export army as..."), null, "gtk-convert"); 199 this.miExportArmyAs = new global::Gtk.Action (
200 "miExportArmyAs",
201 global::Mono.Unix.Catalog.GetString("Export army as..."),
202 null,
203 "gtk-convert"
204 );
115 this.miExportArmyAs.Sensitive = false; 205 this.miExportArmyAs.Sensitive = false;
116 this.miExportArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export army as..."); 206 this.miExportArmyAs.ShortLabel = global::Mono.Unix.Catalog.GetString ("Export army as...");
117 w1.Add (this.miExportArmyAs, null); 207 w1.Add (this.miExportArmyAs, null);
118 this.miExportArmyAsBasicHTML = new global::Gtk.Action ("miExportArmyAsBasicHTML", global::Mono.Unix.Catalog.GetString ("Basic HTML"), null, null); 208 this.miExportArmyAsBasicHTML = new global::Gtk.Action (
209 "miExportArmyAsBasicHTML",
210 global::Mono.Unix.Catalog.GetString("Basic HTML"),
211 null,
212 null
213 );
119 this.miExportArmyAsBasicHTML.ShortLabel = global::Mono.Unix.Catalog.GetString ("Basic HTML"); 214 this.miExportArmyAsBasicHTML.ShortLabel = global::Mono.Unix.Catalog.GetString ("Basic HTML");
120 w1.Add (this.miExportArmyAsBasicHTML, null); 215 w1.Add (this.miExportArmyAsBasicHTML, null);
121 this.miPreferences = new global::Gtk.Action ("miPreferences", global::Mono.Unix.Catalog.GetString ("preferences"), null, "gtk-preferences"); 216 this.miPreferences = new global::Gtk.Action (
217 "miPreferences",
218 global::Mono.Unix.Catalog.GetString("preferences"),
219 null,
220 "gtk-preferences"
221 );
122 this.miPreferences.ShortLabel = global::Mono.Unix.Catalog.GetString ("preferences"); 222 this.miPreferences.ShortLabel = global::Mono.Unix.Catalog.GetString ("preferences");
123 w1.Add (this.miPreferences, null); 223 w1.Add (this.miPreferences, null);
124 this.miExportArmyAsTransformedXml = new global::Gtk.Action ("miExportArmyAsTransformedXml", global::Mono.Unix.Catalog.GetString ("transformed xml"), null, null); 224 this.miExportArmyAsTransformedXml = new global::Gtk.Action (
225 "miExportArmyAsTransformedXml",
226 global::Mono.Unix.Catalog.GetString("transformed xml"),
227 null,
228 null
229 );
125 this.miExportArmyAsTransformedXml.ShortLabel = global::Mono.Unix.Catalog.GetString ("transformed xml"); 230 this.miExportArmyAsTransformedXml.ShortLabel = global::Mono.Unix.Catalog.GetString ("transformed xml");
126 w1.Add (this.miExportArmyAsTransformedXml, null); 231 w1.Add (this.miExportArmyAsTransformedXml, null);
127 this.miEditArmy = new global::Gtk.Action ("miEditArmy", global::Mono.Unix.Catalog.GetString ("_edit army"), null, "gtk-edit"); 232 this.miEditArmy = new global::Gtk.Action (
233 "miEditArmy",
234 global::Mono.Unix.Catalog.GetString("_edit army"),
235 null,
236 "gtk-edit"
237 );
128 this.miEditArmy.Sensitive = false; 238 this.miEditArmy.Sensitive = false;
129 this.miEditArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("_edit army"); 239 this.miEditArmy.ShortLabel = global::Mono.Unix.Catalog.GetString ("_edit army");
130 w1.Add (this.miEditArmy, null); 240 w1.Add (this.miEditArmy, null);
131 this.UIManager.InsertActionGroup (w1, 0); 241 this.UIManager.InsertActionGroup (w1, 0);
132 this.AddAccelGroup (this.UIManager.AccelGroup); 242 this.AddAccelGroup (this.UIManager.AccelGroup);