mirror of
https://github.com/tstellar/bygfoot.git
synced 2024-12-16 10:21:15 +01:00
Gui updates, spin buttons missing (again)
This commit is contained in:
parent
25d4da4dd9
commit
db281f78d9
@ -137,6 +137,11 @@ create_window_contract (void)
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "spinbutton_contract2");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "spinbutton_contract3");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "spinbutton_contract4");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "radiobutton_contract1");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "radiobutton_contract2");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "radiobutton_contract3");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "radiobutton_contract4");
|
||||
GTK_HOOKUP_OBJECT (window_contract, builder, "button_contract_cancel");
|
||||
|
||||
/* free memory used by GtkBuilder object */
|
||||
g_object_unref (G_OBJECT (builder));
|
||||
|
@ -13,6 +13,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox5">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_text">
|
||||
<property name="visible">True</property>
|
||||
@ -41,6 +42,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox6">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label15">
|
||||
@ -134,6 +136,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox7">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_name">
|
||||
@ -381,6 +384,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox28">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image_match">
|
||||
<property name="visible">True</property>
|
||||
@ -416,6 +420,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox13">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">10</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image7">
|
||||
@ -465,6 +470,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox14">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">10</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_main">
|
||||
@ -483,6 +489,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox15">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_1">
|
||||
<property name="visible">True</property>
|
||||
@ -516,6 +523,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox16">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label_2">
|
||||
<property name="visible">True</property>
|
||||
@ -566,6 +574,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox29">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkButton" id="button_digits_ok">
|
||||
@ -664,6 +673,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox17">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image8">
|
||||
@ -738,6 +748,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox18">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image9">
|
||||
@ -838,6 +849,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_contract1">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">contract_adjustment1</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -851,6 +863,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_contract2">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">contract_adjustment2</property>
|
||||
<property name="climb_rate">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
@ -865,6 +878,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_contract3">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">contract_adjustment3</property>
|
||||
<property name="climb_rate">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
@ -879,6 +893,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_contract4">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">contract_adjustment4</property>
|
||||
<property name="climb_rate">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
@ -993,6 +1008,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox19">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox23">
|
||||
@ -1005,6 +1021,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox20">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label47">
|
||||
<property name="visible">True</property>
|
||||
@ -1047,6 +1064,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox21">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label46">
|
||||
<property name="visible">True</property>
|
||||
@ -1198,6 +1216,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox22">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label48">
|
||||
@ -1276,6 +1295,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox23">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkNotebook" id="notebook1">
|
||||
@ -1284,6 +1304,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox24">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image12">
|
||||
@ -1356,6 +1377,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox25">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image13">
|
||||
@ -1442,6 +1464,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox26">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkImage" id="image14">
|
||||
@ -1566,6 +1589,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox27">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox27">
|
||||
@ -1853,4 +1877,24 @@
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="contract_adjustment1">
|
||||
<property name="upper">100000000</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="contract_adjustment2">
|
||||
<property name="upper">100000000</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="contract_adjustment3">
|
||||
<property name="upper">100000000</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="contract_adjustment4">
|
||||
<property name="upper">100000000</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
</interface>
|
||||
|
@ -12,6 +12,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox1">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="label1">
|
||||
@ -151,6 +152,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox2">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">3</property>
|
||||
<child>
|
||||
<object class="GtkNotebook" id="notebook1">
|
||||
@ -217,6 +219,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox3">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox2">
|
||||
<property name="visible">True</property>
|
||||
@ -621,6 +624,7 @@
|
||||
<object class="GtkVBox" id="vbox5">
|
||||
<property name="visible">True</property>
|
||||
<property name="border_width">5</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">7</property>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox17">
|
||||
@ -997,6 +1001,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox6">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkScrolledWindow" id="scrolledwindow3">
|
||||
<property name="visible">True</property>
|
||||
|
@ -9,6 +9,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox1">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">2</property>
|
||||
<child>
|
||||
<object class="GtkNotebook" id="notebook1">
|
||||
@ -20,6 +21,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox3">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_conf_quit">
|
||||
<property name="label" translatable="yes">Confirm quit when not saved</property>
|
||||
@ -199,6 +201,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="tooltip_text" translatable="yes">How often the game is saved automatically</property>
|
||||
<property name="adjustment">AutosaveInterval_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -223,6 +226,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="tooltip_text" translatable="yes">How many files the autosave uses</property>
|
||||
<property name="adjustment">autosave_files_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
</object>
|
||||
<packing>
|
||||
@ -484,6 +488,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="tooltip_text" translatable="yes">How many digits after the comma there are for skill etc.</property>
|
||||
<property name="adjustment">player_attribute_precision_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -501,6 +506,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="tooltip_text" translatable="yes">How often the player list gets refreshed during a live game (in live game minutes)</property>
|
||||
<property name="adjustment">player_list_refresh_rate_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -574,6 +580,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox6">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_conf_youth">
|
||||
<property name="label" translatable="yes">Confirm removing youths</property>
|
||||
@ -628,6 +635,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_contract">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">end_of_contract_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -696,6 +704,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox7">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_swap_adapts">
|
||||
<property name="label" translatable="yes">Swap adapts structure</property>
|
||||
@ -772,6 +781,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox4">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_show_live">
|
||||
<property name="label" translatable="yes">Show live game</property>
|
||||
@ -836,6 +846,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_live_speed">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">live_game_speed_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -850,6 +861,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_live_verbosity">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">live_game_verbose_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -903,6 +915,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox5">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_pause_injury">
|
||||
<property name="label" translatable="yes">Pause when injury</property>
|
||||
@ -1920,6 +1933,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox8">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_bet_show_all_leagues">
|
||||
<property name="label" translatable="yes">Show matches from all leagues</property>
|
||||
@ -1985,6 +1999,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_bet_wager">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">default_wager_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<property name="numeric">True</property>
|
||||
</object>
|
||||
@ -2024,6 +2039,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox9">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox13">
|
||||
<property name="visible">True</property>
|
||||
@ -2061,6 +2077,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox10">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkHSeparator" id="hseparator7">
|
||||
<property name="height_request">10</property>
|
||||
@ -2093,6 +2110,7 @@
|
||||
<object class="GtkSpinButton" id="spinbutton_recreation">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="adjustment">default_recreation_adjustment</property>
|
||||
<property name="climb_rate">1</property>
|
||||
<signal name="value_changed" handler="on_spinbutton_recreation_value_changed"/>
|
||||
</object>
|
||||
@ -2180,6 +2198,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox11">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">4</property>
|
||||
<child>
|
||||
<object class="GtkHBox" id="hbox17">
|
||||
@ -2355,6 +2374,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox2">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<child>
|
||||
<object class="GtkCheckButton" id="checkbutton_save_global">
|
||||
<property name="label" translatable="yes">Save global settings to file</property>
|
||||
@ -2441,6 +2461,7 @@
|
||||
<child>
|
||||
<object class="GtkVBox" id="vbox12">
|
||||
<property name="visible">True</property>
|
||||
<property name="orientation">vertical</property>
|
||||
<property name="spacing">5</property>
|
||||
<child>
|
||||
<object class="GtkNotebook" id="notebook_constants">
|
||||
@ -2720,4 +2741,49 @@
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="AutosaveInterval_adjustment">
|
||||
<property name="upper">20</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="autosave_files_adjustment">
|
||||
<property name="upper">100</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="end_of_contract_adjustment">
|
||||
<property name="upper">24</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="live_game_speed_adjustment">
|
||||
<property name="upper">40</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="live_game_verbose_adjustment">
|
||||
<property name="upper">7</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="default_wager_adjustment">
|
||||
<property name="upper">25000</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="default_recreation_adjustment">
|
||||
<property name="upper">10</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="player_attribute_precision_adjustment">
|
||||
<property name="upper">3</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
<object class="GtkAdjustment" id="player_list_refresh_rate_adjustment">
|
||||
<property name="upper">100</property>
|
||||
<property name="step_increment">1</property>
|
||||
<property name="page_increment">10</property>
|
||||
</object>
|
||||
</interface>
|
||||
|
Loading…
Reference in New Issue
Block a user