changeset 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
files gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs gtk-gui/gui.stetic
diffstat 2 files changed, 0 insertions(+), 16 deletions(-) [+]
line diff
     1.1 --- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Mon Aug 17 19:49:05 2009 +0000
     1.2 +++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Sat Aug 22 19:10:45 2009 +0000
     1.3 @@ -133,29 +133,22 @@
     1.4              w1.Add(this.miDebugInformation, null);
     1.5              this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
     1.6              this.newArmyButton.Sensitive = false;
     1.7 -            this.newArmyButton.ShortLabel = "";
     1.8              w1.Add(this.newArmyButton, null);
     1.9              this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open");
    1.10              this.openArmyButton.Sensitive = false;
    1.11 -            this.openArmyButton.ShortLabel = "";
    1.12              w1.Add(this.openArmyButton, null);
    1.13              this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save");
    1.14              this.saveArmyButton.Sensitive = false;
    1.15 -            this.saveArmyButton.ShortLabel = "";
    1.16              w1.Add(this.saveArmyButton, null);
    1.17              this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo");
    1.18              this.undoActionButton.Sensitive = false;
    1.19 -            this.undoActionButton.ShortLabel = "";
    1.20              w1.Add(this.undoActionButton, null);
    1.21              this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo");
    1.22              this.redoActionButton.Sensitive = false;
    1.23 -            this.redoActionButton.ShortLabel = "";
    1.24              w1.Add(this.redoActionButton, null);
    1.25              this.goDown = new Gtk.Action("goDown", null, null, null);
    1.26 -            this.goDown.ShortLabel = "";
    1.27              w1.Add(this.goDown, null);
    1.28              this.add = new Gtk.Action("add", null, null, "gtk-add");
    1.29 -            this.add.ShortLabel = "";
    1.30              w1.Add(this.add, null);
    1.31              this.UIManager.InsertActionGroup(w1, 0);
    1.32              this.AddAccelGroup(this.UIManager.AccelGroup);
     2.1 --- a/gtk-gui/gui.stetic	Mon Aug 17 19:49:05 2009 +0000
     2.2 +++ b/gtk-gui/gui.stetic	Sat Aug 22 19:10:45 2009 +0000
     2.3 @@ -26,7 +26,6 @@
     2.4        <action id="miOpenArmy">
     2.5          <property name="Type">Action</property>
     2.6          <property name="Label" translatable="yes">Open army</property>
     2.7 -        <property name="Sensitive">False</property>
     2.8          <property name="ShortLabel" translatable="yes">Open army</property>
     2.9          <property name="StockId">gtk-open</property>
    2.10          <signal name="Activated" handler="OnOpenArmyActivated" />
    2.11 @@ -115,15 +114,12 @@
    2.12          <property name="Type">Action</property>
    2.13          <property name="Label" translatable="yes" />
    2.14          <property name="Sensitive">False</property>
    2.15 -        <property name="ShortLabel" translatable="yes" />
    2.16          <property name="StockId">gtk-new</property>
    2.17          <signal name="Activated" handler="newTBButtonActivated" />
    2.18        </action>
    2.19        <action id="openArmyButton">
    2.20          <property name="Type">Action</property>
    2.21          <property name="Label" translatable="yes" />
    2.22 -        <property name="Sensitive">False</property>
    2.23 -        <property name="ShortLabel" translatable="yes" />
    2.24          <property name="StockId">gtk-open</property>
    2.25          <signal name="Activated" handler="openTBButtonActivated" />
    2.26        </action>
    2.27 @@ -131,7 +127,6 @@
    2.28          <property name="Type">Action</property>
    2.29          <property name="Label" translatable="yes" />
    2.30          <property name="Sensitive">False</property>
    2.31 -        <property name="ShortLabel" translatable="yes" />
    2.32          <property name="StockId">gtk-save</property>
    2.33          <signal name="Activated" handler="saveTBButtonActivated" />
    2.34        </action>
    2.35 @@ -139,7 +134,6 @@
    2.36          <property name="Type">Action</property>
    2.37          <property name="Label" translatable="yes" />
    2.38          <property name="Sensitive">False</property>
    2.39 -        <property name="ShortLabel" translatable="yes" />
    2.40          <property name="StockId">gtk-undo</property>
    2.41          <signal name="Activated" handler="undoTBButtonActivated" />
    2.42        </action>
    2.43 @@ -147,19 +141,16 @@
    2.44          <property name="Type">Action</property>
    2.45          <property name="Label" translatable="yes" />
    2.46          <property name="Sensitive">False</property>
    2.47 -        <property name="ShortLabel" translatable="yes" />
    2.48          <property name="StockId">gtk-redo</property>
    2.49          <signal name="Activated" handler="redoTBButtonActivated" />
    2.50        </action>
    2.51        <action id="goDown">
    2.52          <property name="Type">Action</property>
    2.53          <property name="Label" translatable="yes" />
    2.54 -        <property name="ShortLabel" translatable="yes" />
    2.55        </action>
    2.56        <action id="add">
    2.57          <property name="Type">Action</property>
    2.58          <property name="Label" translatable="yes" />
    2.59 -        <property name="ShortLabel" translatable="yes" />
    2.60          <property name="StockId">gtk-add</property>
    2.61        </action>
    2.62      </action-group>