comparison 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
comparison
equal deleted inserted replaced
85:bfb29a60b802 86:9515b57ba752
3 <configuration> 3 <configuration>
4 <images-root-path>..</images-root-path> 4 <images-root-path>..</images-root-path>
5 <target-gtk-version>2.12</target-gtk-version> 5 <target-gtk-version>2.12</target-gtk-version>
6 </configuration> 6 </configuration>
7 <import> 7 <import>
8 <widget-library name="../../IBBoard.GtkSharp/bin/Release/IBBoard.GtkSharp.dll" /> 8 <widget-library name="../../IBBoard.GtkSharp/bin/Debug/IBBoard.GtkSharp.dll" />
9 <widget-library name="../bin/Release/WarFoundry-GTK.exe" internal="true" /> 9 <widget-library name="../bin/Debug/WarFoundry-GTK.exe" internal="true" />
10 </import> 10 </import>
11 <widget class="Gtk.Window" id="IBBoard.WarFoundry.GUI.GTK.FrmMainWindow" design-size="832 659"> 11 <widget class="Gtk.Window" id="IBBoard.WarFoundry.GUI.GTK.FrmMainWindow" design-size="832 659">
12 <action-group name="Default"> 12 <action-group name="Default">
13 <action id="menuFile"> 13 <action id="menuFile">
14 <property name="Type">Action</property> 14 <property name="Type">Action</property>
430 <property name="YFill">True</property> 430 <property name="YFill">True</property>
431 <property name="YShrink">False</property> 431 <property name="YShrink">False</property>
432 </packing> 432 </packing>
433 </child> 433 </child>
434 <child> 434 <child>
435 <widget class="Gtk.Label" id="lblRace"> 435 <widget class="Gtk.Label" id="lblRaceList">
436 <property name="MemberName" /> 436 <property name="MemberName" />
437 <property name="LabelProp" translatable="yes">race</property> 437 <property name="LabelProp" translatable="yes">race</property>
438 </widget> 438 </widget>
439 <packing> 439 <packing>
440 <property name="TopAttach">1</property> 440 <property name="TopAttach">1</property>
534 <widget class="Gtk.Button" id="bttnCreate"> 534 <widget class="Gtk.Button" id="bttnCreate">
535 <property name="MemberName" /> 535 <property name="MemberName" />
536 <property name="Sensitive">False</property> 536 <property name="Sensitive">False</property>
537 <property name="CanDefault">True</property> 537 <property name="CanDefault">True</property>
538 <property name="CanFocus">True</property> 538 <property name="CanFocus">True</property>
539 <property name="Type">TextAndIcon</property> 539 <property name="UseStock">True</property>
540 <property name="Icon">stock:gtk-ok Menu</property> 540 <property name="Type">StockItem</property>
541 <property name="Label" translatable="yes">C_reate</property> 541 <property name="StockId">gtk-ok</property>
542 <property name="UseUnderline">True</property>
543 <property name="ResponseId">-5</property> 542 <property name="ResponseId">-5</property>
544 <signal name="Clicked" handler="OnCreateClicked" /> 543 <signal name="Clicked" handler="OnCreateClicked" />
544 <property name="label">gtk-ok</property>
545 </widget> 545 </widget>
546 <packing> 546 <packing>
547 <property name="Position">1</property> 547 <property name="Position">1</property>
548 <property name="Expand">False</property> 548 <property name="Expand">False</property>
549 <property name="Fill">False</property> 549 <property name="Fill">False</property>