comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 25:01ddadfa9653

Re #86: Complete initial GTK# UI * Enable "open" buttons * Fill out "open" method * Fix showing of "save failed" dialog
author IBBoard <dev@ibboard.co.uk>
date Sat, 22 Aug 2009 19:48:03 +0000
parents 105c68bb759c
children 9440eef124b0
comparison
equal deleted inserted replaced
24:105c68bb759c 25:01ddadfa9653
84 this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new"); 84 this.miCreateArmy = new Gtk.Action("miCreateArmy", Mono.Unix.Catalog.GetString("Create army"), null, "gtk-new");
85 this.miCreateArmy.Sensitive = false; 85 this.miCreateArmy.Sensitive = false;
86 this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("Create army"); 86 this.miCreateArmy.ShortLabel = Mono.Unix.Catalog.GetString("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, "gtk-open"); 88 this.miOpenArmy = new Gtk.Action("miOpenArmy", Mono.Unix.Catalog.GetString("Open army"), null, "gtk-open");
89 this.miOpenArmy.Sensitive = false;
90 this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army"); 89 this.miOpenArmy.ShortLabel = Mono.Unix.Catalog.GetString("Open army");
91 w1.Add(this.miOpenArmy, null); 90 w1.Add(this.miOpenArmy, null);
92 this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save"); 91 this.miSaveArmy = new Gtk.Action("miSaveArmy", Mono.Unix.Catalog.GetString("Save army"), null, "gtk-save");
93 this.miSaveArmy.Sensitive = false; 92 this.miSaveArmy.Sensitive = false;
94 this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army"); 93 this.miSaveArmy.ShortLabel = Mono.Unix.Catalog.GetString("Save army");
133 w1.Add(this.miDebugInformation, null); 132 w1.Add(this.miDebugInformation, null);
134 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new"); 133 this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
135 this.newArmyButton.Sensitive = false; 134 this.newArmyButton.Sensitive = false;
136 w1.Add(this.newArmyButton, null); 135 w1.Add(this.newArmyButton, null);
137 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open"); 136 this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open");
138 this.openArmyButton.Sensitive = false;
139 w1.Add(this.openArmyButton, null); 137 w1.Add(this.openArmyButton, null);
140 this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save"); 138 this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save");
141 this.saveArmyButton.Sensitive = false; 139 this.saveArmyButton.Sensitive = false;
142 w1.Add(this.saveArmyButton, null); 140 w1.Add(this.saveArmyButton, null);
143 this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo"); 141 this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo");