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 wrap: on
line diff
--- a/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Mon Aug 17 19:49:05 2009 +0000
+++ b/gtk-gui/IBBoard.WarFoundry.GTK.FrmMainWindow.cs	Sat Aug 22 19:10:45 2009 +0000
@@ -133,29 +133,22 @@
             w1.Add(this.miDebugInformation, null);
             this.newArmyButton = new Gtk.Action("newArmyButton", null, null, "gtk-new");
             this.newArmyButton.Sensitive = false;
-            this.newArmyButton.ShortLabel = "";
             w1.Add(this.newArmyButton, null);
             this.openArmyButton = new Gtk.Action("openArmyButton", null, null, "gtk-open");
             this.openArmyButton.Sensitive = false;
-            this.openArmyButton.ShortLabel = "";
             w1.Add(this.openArmyButton, null);
             this.saveArmyButton = new Gtk.Action("saveArmyButton", null, null, "gtk-save");
             this.saveArmyButton.Sensitive = false;
-            this.saveArmyButton.ShortLabel = "";
             w1.Add(this.saveArmyButton, null);
             this.undoActionButton = new Gtk.Action("undoActionButton", null, null, "gtk-undo");
             this.undoActionButton.Sensitive = false;
-            this.undoActionButton.ShortLabel = "";
             w1.Add(this.undoActionButton, null);
             this.redoActionButton = new Gtk.Action("redoActionButton", null, null, "gtk-redo");
             this.redoActionButton.Sensitive = false;
-            this.redoActionButton.ShortLabel = "";
             w1.Add(this.redoActionButton, null);
             this.goDown = new Gtk.Action("goDown", null, null, null);
-            this.goDown.ShortLabel = "";
             w1.Add(this.goDown, null);
             this.add = new Gtk.Action("add", null, null, "gtk-add");
-            this.add.ShortLabel = "";
             w1.Add(this.add, null);
             this.UIManager.InsertActionGroup(w1, 0);
             this.AddAccelGroup(this.UIManager.AccelGroup);
--- a/gtk-gui/gui.stetic	Mon Aug 17 19:49:05 2009 +0000
+++ b/gtk-gui/gui.stetic	Sat Aug 22 19:10:45 2009 +0000
@@ -26,7 +26,6 @@
       <action id="miOpenArmy">
         <property name="Type">Action</property>
         <property name="Label" translatable="yes">Open army</property>
-        <property name="Sensitive">False</property>
         <property name="ShortLabel" translatable="yes">Open army</property>
         <property name="StockId">gtk-open</property>
         <signal name="Activated" handler="OnOpenArmyActivated" />
@@ -115,15 +114,12 @@
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
         <property name="Sensitive">False</property>
-        <property name="ShortLabel" translatable="yes" />
         <property name="StockId">gtk-new</property>
         <signal name="Activated" handler="newTBButtonActivated" />
       </action>
       <action id="openArmyButton">
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
-        <property name="Sensitive">False</property>
-        <property name="ShortLabel" translatable="yes" />
         <property name="StockId">gtk-open</property>
         <signal name="Activated" handler="openTBButtonActivated" />
       </action>
@@ -131,7 +127,6 @@
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
         <property name="Sensitive">False</property>
-        <property name="ShortLabel" translatable="yes" />
         <property name="StockId">gtk-save</property>
         <signal name="Activated" handler="saveTBButtonActivated" />
       </action>
@@ -139,7 +134,6 @@
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
         <property name="Sensitive">False</property>
-        <property name="ShortLabel" translatable="yes" />
         <property name="StockId">gtk-undo</property>
         <signal name="Activated" handler="undoTBButtonActivated" />
       </action>
@@ -147,19 +141,16 @@
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
         <property name="Sensitive">False</property>
-        <property name="ShortLabel" translatable="yes" />
         <property name="StockId">gtk-redo</property>
         <signal name="Activated" handler="redoTBButtonActivated" />
       </action>
       <action id="goDown">
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
-        <property name="ShortLabel" translatable="yes" />
       </action>
       <action id="add">
         <property name="Type">Action</property>
         <property name="Label" translatable="yes" />
-        <property name="ShortLabel" translatable="yes" />
         <property name="StockId">gtk-add</property>
       </action>
     </action-group>