Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/gui.stetic @ 86:9515b57ba752
Re #308: Make GTK# UI translatable
* Make form buttons translatable using new method
* Swap "Create" button to a stock "OK" so that we don't lose the image on translation
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Wed, 29 Dec 2010 19:41:51 +0000 |
parents | bfb29a60b802 |
children | 40857cfb309b |
line wrap: on
line diff
--- a/gtk-gui/gui.stetic Wed Dec 29 16:56:55 2010 +0000 +++ b/gtk-gui/gui.stetic Wed Dec 29 19:41:51 2010 +0000 @@ -5,8 +5,8 @@ <target-gtk-version>2.12</target-gtk-version> </configuration> <import> - <widget-library name="../../IBBoard.GtkSharp/bin/Release/IBBoard.GtkSharp.dll" /> - <widget-library name="../bin/Release/WarFoundry-GTK.exe" internal="true" /> + <widget-library name="../../IBBoard.GtkSharp/bin/Debug/IBBoard.GtkSharp.dll" /> + <widget-library name="../bin/Debug/WarFoundry-GTK.exe" internal="true" /> </import> <widget class="Gtk.Window" id="IBBoard.WarFoundry.GUI.GTK.FrmMainWindow" design-size="832 659"> <action-group name="Default"> @@ -432,7 +432,7 @@ </packing> </child> <child> - <widget class="Gtk.Label" id="lblRace"> + <widget class="Gtk.Label" id="lblRaceList"> <property name="MemberName" /> <property name="LabelProp" translatable="yes">race</property> </widget> @@ -536,12 +536,12 @@ <property name="Sensitive">False</property> <property name="CanDefault">True</property> <property name="CanFocus">True</property> - <property name="Type">TextAndIcon</property> - <property name="Icon">stock:gtk-ok Menu</property> - <property name="Label" translatable="yes">C_reate</property> - <property name="UseUnderline">True</property> + <property name="UseStock">True</property> + <property name="Type">StockItem</property> + <property name="StockId">gtk-ok</property> <property name="ResponseId">-5</property> <signal name="Clicked" handler="OnCreateClicked" /> + <property name="label">gtk-ok</property> </widget> <packing> <property name="Position">1</property>