Mercurial > repos > IBDev-IBBoard.WarFoundry.GUI.GTK
comparison gtk-gui/gui.stetic @ 23:d661cb257511
Re #86: Initial GTK# GUI (because of Re #53)
* Refactor file saving in to a common method
* Replace fixed location with dialog
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Mon, 17 Aug 2009 19:49:05 +0000 |
parents | 40485c6e5cb0 |
children | 105c68bb759c |
comparison
equal
deleted
inserted
replaced
22:40485c6e5cb0 | 23:d661cb257511 |
---|---|
113 </action> | 113 </action> |
114 <action id="newArmyButton"> | 114 <action id="newArmyButton"> |
115 <property name="Type">Action</property> | 115 <property name="Type">Action</property> |
116 <property name="Label" translatable="yes" /> | 116 <property name="Label" translatable="yes" /> |
117 <property name="Sensitive">False</property> | 117 <property name="Sensitive">False</property> |
118 <property name="ShortLabel" translatable="yes" /> | |
118 <property name="StockId">gtk-new</property> | 119 <property name="StockId">gtk-new</property> |
119 <signal name="Activated" handler="newTBButtonActivated" /> | 120 <signal name="Activated" handler="newTBButtonActivated" /> |
120 </action> | 121 </action> |
121 <action id="openArmyButton"> | 122 <action id="openArmyButton"> |
122 <property name="Type">Action</property> | 123 <property name="Type">Action</property> |
123 <property name="Label" translatable="yes" /> | 124 <property name="Label" translatable="yes" /> |
124 <property name="Sensitive">False</property> | 125 <property name="Sensitive">False</property> |
126 <property name="ShortLabel" translatable="yes" /> | |
125 <property name="StockId">gtk-open</property> | 127 <property name="StockId">gtk-open</property> |
126 <signal name="Activated" handler="openTBButtonActivated" /> | 128 <signal name="Activated" handler="openTBButtonActivated" /> |
127 </action> | 129 </action> |
128 <action id="saveArmyButton"> | 130 <action id="saveArmyButton"> |
129 <property name="Type">Action</property> | 131 <property name="Type">Action</property> |
130 <property name="Label" translatable="yes" /> | 132 <property name="Label" translatable="yes" /> |
131 <property name="Sensitive">False</property> | 133 <property name="Sensitive">False</property> |
134 <property name="ShortLabel" translatable="yes" /> | |
132 <property name="StockId">gtk-save</property> | 135 <property name="StockId">gtk-save</property> |
133 <signal name="Activated" handler="saveTBButtonActivated" /> | 136 <signal name="Activated" handler="saveTBButtonActivated" /> |
134 </action> | 137 </action> |
135 <action id="undoActionButton"> | 138 <action id="undoActionButton"> |
136 <property name="Type">Action</property> | 139 <property name="Type">Action</property> |
137 <property name="Label" translatable="yes" /> | 140 <property name="Label" translatable="yes" /> |
138 <property name="Sensitive">False</property> | 141 <property name="Sensitive">False</property> |
142 <property name="ShortLabel" translatable="yes" /> | |
139 <property name="StockId">gtk-undo</property> | 143 <property name="StockId">gtk-undo</property> |
140 <signal name="Activated" handler="undoTBButtonActivated" /> | 144 <signal name="Activated" handler="undoTBButtonActivated" /> |
141 </action> | 145 </action> |
142 <action id="redoActionButton"> | 146 <action id="redoActionButton"> |
143 <property name="Type">Action</property> | 147 <property name="Type">Action</property> |
144 <property name="Label" translatable="yes" /> | 148 <property name="Label" translatable="yes" /> |
145 <property name="Sensitive">False</property> | 149 <property name="Sensitive">False</property> |
150 <property name="ShortLabel" translatable="yes" /> | |
146 <property name="StockId">gtk-redo</property> | 151 <property name="StockId">gtk-redo</property> |
147 <signal name="Activated" handler="redoTBButtonActivated" /> | 152 <signal name="Activated" handler="redoTBButtonActivated" /> |
148 </action> | 153 </action> |
149 <action id="goDown"> | 154 <action id="goDown"> |
150 <property name="Type">Action</property> | 155 <property name="Type">Action</property> |
151 <property name="Label" translatable="yes" /> | 156 <property name="Label" translatable="yes" /> |
157 <property name="ShortLabel" translatable="yes" /> | |
152 </action> | 158 </action> |
153 <action id="add"> | 159 <action id="add"> |
154 <property name="Type">Action</property> | 160 <property name="Type">Action</property> |
155 <property name="Label" translatable="yes" /> | 161 <property name="Label" translatable="yes" /> |
162 <property name="ShortLabel" translatable="yes" /> | |
156 <property name="StockId">gtk-add</property> | 163 <property name="StockId">gtk-add</property> |
157 </action> | 164 </action> |
158 </action-group> | 165 </action-group> |
159 <property name="MemberName" /> | 166 <property name="MemberName" /> |
160 <property name="Title" translatable="yes">MainWindow</property> | 167 <property name="Title" translatable="yes">MainWindow</property> |