Mercurial > repos > IBBoard.WarFoundry.GUI.GTK
diff gtk-gui/gui.stetic @ 89:31d54f67d50d
Re #308: Make GTK# UI translatable
* Start to make use of TranslatableButtons now that we've finally got them working and usable
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Thu, 30 Dec 2010 21:00:00 +0000 |
parents | b0089e875754 |
children | a754a2d1881c |
line wrap: on
line diff
--- a/gtk-gui/gui.stetic Wed Dec 29 20:56:03 2010 +0000 +++ b/gtk-gui/gui.stetic Thu Dec 30 21:00:00 2010 +0000 @@ -552,7 +552,7 @@ </widget> </child> </widget> - <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GUI.GTK.FrmNewUnit" design-size="400 318"> + <widget class="Gtk.Dialog" id="IBBoard.WarFoundry.GUI.GTK.FrmNewUnit" design-size="403 259"> <property name="MemberName" /> <property name="Title" translatable="yes">Add new unit</property> <property name="Icon">stock:gtk-new Menu</property> @@ -645,15 +645,13 @@ <property name="Size">2</property> <property name="LayoutStyle">End</property> <child> - <widget class="Gtk.Button" id="bttnCancel"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnCancel"> <property name="MemberName" /> - <property name="CanDefault">True</property> <property name="CanFocus">True</property> <property name="UseStock">True</property> <property name="Type">StockItem</property> <property name="StockId">gtk-cancel</property> <property name="ResponseId">-6</property> - <signal name="Activated" handler="OnButtonCancelActivated" /> <property name="label">gtk-cancel</property> </widget> <packing> @@ -662,16 +660,13 @@ </packing> </child> <child> - <widget class="Gtk.Button" id="bttnCreate"> + <widget class="IBBoard.GtkSharp.Translatable.TranslatableButton" id="bttnCreate"> <property name="MemberName" /> - <property name="Sensitive">False</property> - <property name="CanDefault">True</property> <property name="CanFocus">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="OnButtonOkClicked" /> <property name="label">gtk-ok</property> </widget> <packing>