Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 24:105c68bb759c
Re #86: Complete initial GTK# UI
* Enable "open" buttons now that saving is starting to work
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 22 Aug 2009 19:10:45 +0000 |
parents | d661cb257511 |
children | 01ddadfa9653 |
comparison
equal
deleted
inserted
replaced
23:d661cb257511 | 24:105c68bb759c |
---|---|
131 this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); | 131 this.miDebugInformation = new Gtk.Action("miDebugInformation", Mono.Unix.Catalog.GetString("Debug Information"), null, null); |
132 this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("Debug Information"); | 132 this.miDebugInformation.ShortLabel = Mono.Unix.Catalog.GetString("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 this.newArmyButton.ShortLabel = ""; | |
137 w1.Add(this.newArmyButton, null); | 136 w1.Add(this.newArmyButton, null); |
138 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); | 137 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); |
139 this.openArmyButton.Sensitive = false; | 138 this.openArmyButton.Sensitive = false; |
140 this.openArmyButton.ShortLabel = ""; | |
141 w1.Add(this.openArmyButton, null); | 139 w1.Add(this.openArmyButton, null); |
142 this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save"); | 140 this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save"); |
143 this.saveArmyButton.Sensitive = false; | 141 this.saveArmyButton.Sensitive = false; |
144 this.saveArmyButton.ShortLabel = ""; | |
145 w1.Add(this.saveArmyButton, null); | 142 w1.Add(this.saveArmyButton, null); |
146 this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo"); | 143 this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo"); |
147 this.undoActionButton.Sensitive = false; | 144 this.undoActionButton.Sensitive = false; |
148 this.undoActionButton.ShortLabel = ""; | |
149 w1.Add(this.undoActionButton, null); | 145 w1.Add(this.undoActionButton, null); |
150 this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo"); | 146 this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo"); |
151 this.redoActionButton.Sensitive = false; | 147 this.redoActionButton.Sensitive = false; |
152 this.redoActionButton.ShortLabel = ""; | |
153 w1.Add(this.redoActionButton, null); | 148 w1.Add(this.redoActionButton, null); |
154 this.goDown = new Gtk.Action("goDown", null, null, null); | 149 this.goDown = new Gtk.Action("goDown", null, null, null); |
155 this.goDown.ShortLabel = ""; | |
156 w1.Add(this.goDown, null); | 150 w1.Add(this.goDown, null); |
157 this.add = new Gtk.Action("add", null, null, "gtk-add"); | 151 this.add = new Gtk.Action("add", null, null, "gtk-add"); |
158 this.add.ShortLabel = ""; | |
159 w1.Add(this.add, null); | 152 w1.Add(this.add, null); |
160 this.UIManager.InsertActionGroup(w1, 0); | 153 this.UIManager.InsertActionGroup(w1, 0); |
161 this.AddAccelGroup(this.UIManager.AccelGroup); | 154 this.AddAccelGroup(this.UIManager.AccelGroup); |
162 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; | 155 this.Name = "IBBoard.WarFoundry.GTK.FrmMainWindow"; |
163 this.Title = Mono.Unix.Catalog.GetString("MainWindow"); | 156 this.Title = Mono.Unix.Catalog.GetString("MainWindow"); |