Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs @ 29:2e5448a662b6
Re #69: Add "export army" UI
* Only enable export menu when there is an army to export
no-open-ticket
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Tue, 01 Sep 2009 19:42:53 +0000 |
parents | 9440eef124b0 |
children | 5fafbb1b4592 |
comparison
equal
deleted
inserted
replaced
28:9440eef124b0 | 29:2e5448a662b6 |
---|---|
151 this.goDown = new Gtk.Action("goDown", null, null, null); | 151 this.goDown = new Gtk.Action("goDown", null, null, null); |
152 w1.Add(this.goDown, null); | 152 w1.Add(this.goDown, null); |
153 this.add = new Gtk.Action("add", null, null, "gtk-add"); | 153 this.add = new Gtk.Action("add", null, null, "gtk-add"); |
154 w1.Add(this.add, null); | 154 w1.Add(this.add, null); |
155 this.miExportArmy = new Gtk.Action("miExportArmy", Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert"); | 155 this.miExportArmy = new Gtk.Action("miExportArmy", Mono.Unix.Catalog.GetString("Export army as..."), null, "gtk-convert"); |
156 this.miExportArmy.Sensitive = false; | |
156 this.miExportArmy.ShortLabel = Mono.Unix.Catalog.GetString("Export army"); | 157 this.miExportArmy.ShortLabel = Mono.Unix.Catalog.GetString("Export army"); |
157 w1.Add(this.miExportArmy, null); | 158 w1.Add(this.miExportArmy, null); |
158 this.miExportAsBasicHtml = new Gtk.Action("miExportAsBasicHtml", Mono.Unix.Catalog.GetString("Basic HTML"), null, null); | 159 this.miExportAsBasicHtml = new Gtk.Action("miExportAsBasicHtml", Mono.Unix.Catalog.GetString("Basic HTML"), null, null); |
159 this.miExportAsBasicHtml.ShortLabel = Mono.Unix.Catalog.GetString("Basic HTML"); | 160 this.miExportAsBasicHtml.ShortLabel = Mono.Unix.Catalog.GetString("Basic HTML"); |
160 w1.Add(this.miExportAsBasicHtml, null); | 161 w1.Add(this.miExportAsBasicHtml, null); |