1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-02-07 15:18:41 +01:00

"String freeze."

This commit is contained in:
gyboth 2005-06-14 08:02:46 +00:00
parent a99a5e7308
commit 7928d8dc7a
7 changed files with 911 additions and 919 deletions

View File

@ -69,7 +69,7 @@
<accelerator key="l" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK" signal="activate"/> <accelerator key="l" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image841"> <widget class="GtkImage" id="image874">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-revert-to-saved</property> <property name="stock">gtk-revert-to-saved</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -137,7 +137,7 @@
<accelerator key="p" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="p" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image842"> <widget class="GtkImage" id="image875">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-preferences</property> <property name="stock">gtk-preferences</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -208,7 +208,7 @@
<accelerator key="F3" modifiers="0" signal="activate"/> <accelerator key="F3" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image843"> <widget class="GtkImage" id="image876">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_fixtures.png</property> <property name="pixbuf">menu_fixtures.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -229,7 +229,7 @@
<accelerator key="F4" modifiers="0" signal="activate"/> <accelerator key="F4" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image844"> <widget class="GtkImage" id="image877">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_fixtures_comp.png</property> <property name="pixbuf">menu_fixtures_comp.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -250,7 +250,7 @@
<accelerator key="F5" modifiers="0" signal="activate"/> <accelerator key="F5" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image845"> <widget class="GtkImage" id="image878">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_table.png</property> <property name="pixbuf">menu_table.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -271,7 +271,7 @@
<accelerator key="F6" modifiers="0" signal="activate"/> <accelerator key="F6" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image846"> <widget class="GtkImage" id="image879">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_league_results.png</property> <property name="pixbuf">menu_league_results.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -298,7 +298,7 @@
<accelerator key="s" modifiers="0" signal="activate"/> <accelerator key="s" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image847"> <widget class="GtkImage" id="image880">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_league_stats.png</property> <property name="pixbuf">menu_league_stats.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -319,7 +319,7 @@
<accelerator key="h" modifiers="0" signal="activate"/> <accelerator key="h" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image848"> <widget class="GtkImage" id="image881">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_history.png</property> <property name="pixbuf">menu_history.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -351,7 +351,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image849"> <widget class="GtkImage" id="image882">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_style.png</property> <property name="pixbuf">menu_style.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -369,7 +369,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">All Out Defend</property> <property name="label" translatable="yes">All Out Defend</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:56 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:56 GMT"/>
</widget> </widget>
</child> </child>
@ -379,7 +379,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Defend</property> <property name="label" translatable="yes">Defend</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_all_out_defend</property> <property name="group">menu_all_out_defend</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:17:07 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:17:07 GMT"/>
</widget> </widget>
@ -390,7 +390,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Balanced</property> <property name="label" translatable="yes">Balanced</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_all_out_defend</property> <property name="group">menu_all_out_defend</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:17:14 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:17:14 GMT"/>
</widget> </widget>
@ -401,7 +401,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Attack</property> <property name="label" translatable="yes">Attack</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_all_out_defend</property> <property name="group">menu_all_out_defend</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:17:20 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:17:20 GMT"/>
</widget> </widget>
@ -429,7 +429,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image850"> <widget class="GtkImage" id="image883">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_scout.png</property> <property name="pixbuf">menu_scout.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -447,7 +447,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Best</property> <property name="label" translatable="yes">Best</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:15:47 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:15:47 GMT"/>
</widget> </widget>
</child> </child>
@ -457,7 +457,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Good</property> <property name="label" translatable="yes">Good</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_scout_best</property> <property name="group">menu_scout_best</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:15:35 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:15:35 GMT"/>
</widget> </widget>
@ -468,7 +468,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Average</property> <property name="label" translatable="yes">Average</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_scout_best</property> <property name="group">menu_scout_best</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:15:54 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:15:54 GMT"/>
</widget> </widget>
@ -496,7 +496,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image851"> <widget class="GtkImage" id="image884">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_physio.png</property> <property name="pixbuf">menu_physio.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -514,7 +514,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Best</property> <property name="label" translatable="yes">Best</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:14 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:14 GMT"/>
</widget> </widget>
</child> </child>
@ -524,7 +524,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Good</property> <property name="label" translatable="yes">Good</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_physio_best</property> <property name="group">menu_physio_best</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:21 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:21 GMT"/>
</widget> </widget>
@ -535,7 +535,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Average</property> <property name="label" translatable="yes">Average</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_physio_best</property> <property name="group">menu_physio_best</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:28 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Mon, 28 Feb 2005 08:16:28 GMT"/>
</widget> </widget>
@ -563,7 +563,7 @@
<property name="use_underline">True</property> <property name="use_underline">True</property>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image852"> <widget class="GtkImage" id="image885">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_boost.png</property> <property name="pixbuf">menu_boost.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -581,7 +581,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">On</property> <property name="label" translatable="yes">On</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Tue, 08 Mar 2005 16:37:57 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Tue, 08 Mar 2005 16:37:57 GMT"/>
</widget> </widget>
</child> </child>
@ -591,7 +591,7 @@
<property name="visible">True</property> <property name="visible">True</property>
<property name="label" translatable="yes">Off</property> <property name="label" translatable="yes">Off</property>
<property name="use_underline">True</property> <property name="use_underline">True</property>
<property name="active">False</property> <property name="active">True</property>
<property name="group">menu_boost_on</property> <property name="group">menu_boost_on</property>
<signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Tue, 08 Mar 2005 16:37:48 GMT"/> <signal name="button_press_event" handler="on_menu_team_button_press_event" last_modification_time="Tue, 08 Mar 2005 16:37:48 GMT"/>
</widget> </widget>
@ -626,7 +626,7 @@
<signal name="activate" handler="on_menu_reset_players_activate" last_modification_time="Tue, 26 Apr 2005 13:16:39 GMT"/> <signal name="activate" handler="on_menu_reset_players_activate" last_modification_time="Tue, 26 Apr 2005 13:16:39 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image853"> <widget class="GtkImage" id="image886">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-undo</property> <property name="stock">gtk-undo</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -647,7 +647,7 @@
<signal name="activate" handler="on_menu_custom_structure_activate" last_modification_time="Sat, 26 Feb 2005 12:46:30 GMT"/> <signal name="activate" handler="on_menu_custom_structure_activate" last_modification_time="Sat, 26 Feb 2005 12:46:30 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image854"> <widget class="GtkImage" id="image887">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_structure.png</property> <property name="pixbuf">menu_structure.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -669,7 +669,7 @@
<accelerator key="r" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="r" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image855"> <widget class="GtkImage" id="image888">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_rearrange.png</property> <property name="pixbuf">menu_rearrange.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -695,7 +695,7 @@
<signal name="activate" handler="on_menu_browse_teams_activate" last_modification_time="Mon, 03 Jan 2005 16:58:58 GMT"/> <signal name="activate" handler="on_menu_browse_teams_activate" last_modification_time="Mon, 03 Jan 2005 16:58:58 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image856"> <widget class="GtkImage" id="image889">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_browse_tms.png</property> <property name="pixbuf">menu_browse_tms.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -728,7 +728,7 @@
<signal name="activate" handler="on_menu_show_info_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/> <signal name="activate" handler="on_menu_show_info_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image857"> <widget class="GtkImage" id="image890">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_info.png</property> <property name="pixbuf">menu_player_info.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -748,7 +748,7 @@
<signal name="activate" handler="on_menu_put_on_transfer_list_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/> <signal name="activate" handler="on_menu_put_on_transfer_list_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image858"> <widget class="GtkImage" id="image891">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_put_transfer.png</property> <property name="pixbuf">menu_player_put_transfer.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -768,7 +768,7 @@
<signal name="activate" handler="on_menu_remove_from_transfer_list_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/> <signal name="activate" handler="on_menu_remove_from_transfer_list_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image859"> <widget class="GtkImage" id="image892">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_remove_transfer.png</property> <property name="pixbuf">menu_player_remove_transfer.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -788,7 +788,7 @@
<signal name="activate" handler="on_menu_offer_new_contract_activate" last_modification_time="Fri, 25 Mar 2005 09:23:28 GMT"/> <signal name="activate" handler="on_menu_offer_new_contract_activate" last_modification_time="Fri, 25 Mar 2005 09:23:28 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image860"> <widget class="GtkImage" id="image893">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_contract.png</property> <property name="pixbuf">menu_player_contract.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -808,7 +808,7 @@
<signal name="activate" handler="on_menu_fire_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/> <signal name="activate" handler="on_menu_fire_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image861"> <widget class="GtkImage" id="image894">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_fire.png</property> <property name="pixbuf">menu_player_fire.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -828,7 +828,7 @@
<signal name="activate" handler="on_menu_shoots_penalties_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/> <signal name="activate" handler="on_menu_shoots_penalties_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image862"> <widget class="GtkImage" id="image895">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_shoots.png</property> <property name="pixbuf">menu_player_shoots.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -854,7 +854,7 @@
<signal name="activate" handler="on_menu_browse_players_activate" last_modification_time="Sat, 26 Mar 2005 09:42:31 GMT"/> <signal name="activate" handler="on_menu_browse_players_activate" last_modification_time="Sat, 26 Mar 2005 09:42:31 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image863"> <widget class="GtkImage" id="image896">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_player_browse.png</property> <property name="pixbuf">menu_player_browse.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -888,7 +888,7 @@
<accelerator key="m" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="m" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image864"> <widget class="GtkImage" id="image897">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_last_match.png</property> <property name="pixbuf">menu_last_match.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -909,7 +909,7 @@
<accelerator key="F2" modifiers="0" signal="activate"/> <accelerator key="F2" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image865"> <widget class="GtkImage" id="image898">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_match_stats.png</property> <property name="pixbuf">menu_match_stats.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -921,6 +921,27 @@
</widget> </widget>
</child> </child>
<child>
<widget class="GtkImageMenuItem" id="menu_user_show_coming_matches">
<property name="visible">True</property>
<property name="label" translatable="yes">Show coming matches</property>
<property name="use_underline">True</property>
<signal name="activate" handler="on_menu_user_show_coming_matches_activate" last_modification_time="Tue, 14 Jun 2005 07:21:03 GMT"/>
<child internal-child="image">
<widget class="GtkImage" id="image899">
<property name="visible">True</property>
<property name="stock">gtk-jump-to</property>
<property name="icon_size">1</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
</child>
<child> <child>
<widget class="GtkSeparatorMenuItem" id="trennlinie12"> <widget class="GtkSeparatorMenuItem" id="trennlinie12">
<property name="visible">True</property> <property name="visible">True</property>
@ -936,7 +957,7 @@
<accelerator key="h" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="h" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image866"> <widget class="GtkImage" id="image900">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_history.png</property> <property name="pixbuf">menu_history.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -963,7 +984,7 @@
<accelerator key="F9" modifiers="0" signal="activate"/> <accelerator key="F9" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image867"> <widget class="GtkImage" id="image901">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-go-forward</property> <property name="stock">gtk-go-forward</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -985,7 +1006,7 @@
<accelerator key="F8" modifiers="0" signal="activate"/> <accelerator key="F8" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image868"> <widget class="GtkImage" id="image902">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-go-back</property> <property name="stock">gtk-go-back</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1007,7 +1028,7 @@
<accelerator key="F12" modifiers="0" signal="activate"/> <accelerator key="F12" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image869"> <widget class="GtkImage" id="image903">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-justify-fill</property> <property name="stock">gtk-justify-fill</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1042,7 +1063,7 @@
<accelerator key="f" modifiers="0" signal="activate"/> <accelerator key="f" modifiers="0" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image870"> <widget class="GtkImage" id="image904">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_finances.png</property> <property name="pixbuf">menu_finances.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -1063,7 +1084,7 @@
<accelerator key="f" modifiers="GDK_CONTROL_MASK" signal="activate"/> <accelerator key="f" modifiers="GDK_CONTROL_MASK" signal="activate"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image871"> <widget class="GtkImage" id="image905">
<property name="visible">True</property> <property name="visible">True</property>
<property name="pixbuf">menu_stadium.png</property> <property name="pixbuf">menu_stadium.png</property>
<property name="xalign">0.5</property> <property name="xalign">0.5</property>
@ -1096,7 +1117,7 @@
<signal name="activate" handler="on_menu_about_activate" last_modification_time="Sun, 18 Jan 2004 15:58:22 GMT"/> <signal name="activate" handler="on_menu_about_activate" last_modification_time="Sun, 18 Jan 2004 15:58:22 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image872"> <widget class="GtkImage" id="image906">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-dialog-info</property> <property name="stock">gtk-dialog-info</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1117,7 +1138,7 @@
<signal name="activate" handler="on_menu_contributors_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/> <signal name="activate" handler="on_menu_contributors_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image873"> <widget class="GtkImage" id="image907">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-add</property> <property name="stock">gtk-add</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1138,7 +1159,7 @@
<signal name="activate" handler="on_menu_help_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/> <signal name="activate" handler="on_menu_help_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/>
<child internal-child="image"> <child internal-child="image">
<widget class="GtkImage" id="image874"> <widget class="GtkImage" id="image908">
<property name="visible">True</property> <property name="visible">True</property>
<property name="stock">gtk-help</property> <property name="stock">gtk-help</property>
<property name="icon_size">1</property> <property name="icon_size">1</property>
@ -1342,38 +1363,9 @@
</packing> </packing>
</child> </child>
<child>
<widget class="GtkButton" id="button_preview">
<property name="border_width">2</property>
<property name="visible">True</property>
<property name="tooltip" translatable="yes">Show a preview of my next games (F1)</property>
<property name="can_focus">True</property>
<property name="relief">GTK_RELIEF_NORMAL</property>
<property name="focus_on_click">True</property>
<signal name="clicked" handler="on_button_preview_clicked" last_modification_time="Wed, 04 Feb 2004 13:24:35 GMT"/>
<accelerator key="F1" modifiers="0" signal="clicked"/>
<child>
<widget class="GtkImage" id="image36">
<property name="visible">True</property>
<property name="pixbuf">preview.png</property>
<property name="xalign">0.5</property>
<property name="yalign">0.5</property>
<property name="xpad">0</property>
<property name="ypad">0</property>
</widget>
</child>
</widget>
<packing>
<property name="padding">0</property>
<property name="expand">False</property>
<property name="fill">False</property>
</packing>
</child>
<child> <child>
<widget class="GtkVSeparator" id="vseparator16"> <widget class="GtkVSeparator" id="vseparator16">
<property name="width_request">60</property> <property name="width_request">40</property>
<property name="height_request">1</property> <property name="height_request">1</property>
<property name="visible">True</property> <property name="visible">True</property>
</widget> </widget>

File diff suppressed because it is too large Load Diff

627
po/de.po

File diff suppressed because it is too large Load Diff

View File

@ -151,17 +151,6 @@ on_button_transfers_clicked (GtkButton *button,
} }
void
on_button_preview_clicked (GtkButton *button,
gpointer user_data)
{
stat0 = STATUS_SHOW_PREVIEW;
treeview_show_preview();
gui_set_arrows();
}
void void
on_button_new_week_clicked (GtkButton *button, on_button_new_week_clicked (GtkButton *button,
gpointer user_data) gpointer user_data)
@ -653,6 +642,19 @@ on_menu_user_show_last_stats_activate (GtkMenuItem *menuitem,
gui_set_arrows(); gui_set_arrows();
} }
void
on_menu_user_show_coming_matches_activate
(GtkMenuItem *menuitem,
gpointer user_data)
{
stat0 = STATUS_SHOW_PREVIEW;
treeview_show_preview();
gui_set_arrows();
}
gboolean gboolean
on_eventbox_style_button_press_event (GtkWidget *widget, on_eventbox_style_button_press_event (GtkWidget *widget,
GdkEventButton *event, GdkEventButton *event,
@ -917,3 +919,4 @@ on_button_quit_button_press_event (GtkWidget *widget,
return FALSE; return FALSE;
} }

View File

@ -49,10 +49,6 @@ void
on_button_transfers_clicked (GtkButton *button, on_button_transfers_clicked (GtkButton *button,
gpointer user_data); gpointer user_data);
void
on_button_preview_clicked (GtkButton *button,
gpointer user_data);
void void
on_button_new_week_clicked (GtkButton *button, on_button_new_week_clicked (GtkButton *button,
gpointer user_data); gpointer user_data);
@ -266,3 +262,8 @@ on_menu_help_activate (GtkMenuItem *menuitem,
void void
on_menu_contributors_activate (GtkMenuItem *menuitem, on_menu_contributors_activate (GtkMenuItem *menuitem,
gpointer user_data); gpointer user_data);
void
on_menu_user_show_coming_matches_activate
(GtkMenuItem *menuitem,
gpointer user_data);

View File

@ -38,7 +38,7 @@ create_main_window (void)
GtkWidget *menu_new; GtkWidget *menu_new;
GtkWidget *menu_open; GtkWidget *menu_open;
GtkWidget *menu_load_last_save; GtkWidget *menu_load_last_save;
GtkWidget *image841; GtkWidget *image874;
GtkWidget *menu_save; GtkWidget *menu_save;
GtkWidget *menu_save_as; GtkWidget *menu_save_as;
GtkWidget *trennlinie1; GtkWidget *trennlinie1;
@ -46,7 +46,7 @@ create_main_window (void)
GtkWidget *menu_options; GtkWidget *menu_options;
GtkWidget *menu_options_menu; GtkWidget *menu_options_menu;
GtkWidget *menu_preferences; GtkWidget *menu_preferences;
GtkWidget *image842; GtkWidget *image875;
GtkWidget *trennlinie7; GtkWidget *trennlinie7;
GtkWidget *menu_job_offers; GtkWidget *menu_job_offers;
GtkWidget *menu_live_game; GtkWidget *menu_live_game;
@ -54,22 +54,22 @@ create_main_window (void)
GtkWidget *menu_figures; GtkWidget *menu_figures;
GtkWidget *menu_figures_menu; GtkWidget *menu_figures_menu;
GtkWidget *menu_fixtures_week; GtkWidget *menu_fixtures_week;
GtkWidget *image843; GtkWidget *image876;
GtkWidget *menu_fixtures; GtkWidget *menu_fixtures;
GtkWidget *image844; GtkWidget *image877;
GtkWidget *menu_tables; GtkWidget *menu_tables;
GtkWidget *image845; GtkWidget *image878;
GtkWidget *menu_my_league_results; GtkWidget *menu_my_league_results;
GtkWidget *image846; GtkWidget *image879;
GtkWidget *trennlinie13; GtkWidget *trennlinie13;
GtkWidget *menu_league_stats; GtkWidget *menu_league_stats;
GtkWidget *image847; GtkWidget *image880;
GtkWidget *menu_season_history; GtkWidget *menu_season_history;
GtkWidget *image848; GtkWidget *image881;
GtkWidget *menu_team; GtkWidget *menu_team;
GtkWidget *menu_team_menu; GtkWidget *menu_team_menu;
GtkWidget *menu_playing_style; GtkWidget *menu_playing_style;
GtkWidget *image849; GtkWidget *image882;
GtkWidget *menu_playing_style_menu; GtkWidget *menu_playing_style_menu;
GSList *menu_all_out_defend_group = NULL; GSList *menu_all_out_defend_group = NULL;
GtkWidget *menu_all_out_defend; GtkWidget *menu_all_out_defend;
@ -78,7 +78,7 @@ create_main_window (void)
GtkWidget *menu_attack; GtkWidget *menu_attack;
GtkWidget *menu_all_out_attack; GtkWidget *menu_all_out_attack;
GtkWidget *menu_scout; GtkWidget *menu_scout;
GtkWidget *image850; GtkWidget *image883;
GtkWidget *menu_scout_menu; GtkWidget *menu_scout_menu;
GSList *menu_scout_best_group = NULL; GSList *menu_scout_best_group = NULL;
GtkWidget *menu_scout_best; GtkWidget *menu_scout_best;
@ -86,7 +86,7 @@ create_main_window (void)
GtkWidget *menu_scout_average; GtkWidget *menu_scout_average;
GtkWidget *menu_scout_bad; GtkWidget *menu_scout_bad;
GtkWidget *menu_physio; GtkWidget *menu_physio;
GtkWidget *image851; GtkWidget *image884;
GtkWidget *menu_physio_menu; GtkWidget *menu_physio_menu;
GSList *menu_physio_best_group = NULL; GSList *menu_physio_best_group = NULL;
GtkWidget *menu_physio_best; GtkWidget *menu_physio_best;
@ -94,7 +94,7 @@ create_main_window (void)
GtkWidget *menu_physio_average; GtkWidget *menu_physio_average;
GtkWidget *menu_physio_bad; GtkWidget *menu_physio_bad;
GtkWidget *menu_boost; GtkWidget *menu_boost;
GtkWidget *image852; GtkWidget *image885;
GtkWidget *menu_boost_menu; GtkWidget *menu_boost_menu;
GSList *menu_boost_on_group = NULL; GSList *menu_boost_on_group = NULL;
GtkWidget *menu_boost_on; GtkWidget *menu_boost_on;
@ -102,61 +102,63 @@ create_main_window (void)
GtkWidget *menu_boost_anti; GtkWidget *menu_boost_anti;
GtkWidget *trennlinie11; GtkWidget *trennlinie11;
GtkWidget *menu_reset_players; GtkWidget *menu_reset_players;
GtkWidget *image853; GtkWidget *image886;
GtkWidget *menu_custom_structure; GtkWidget *menu_custom_structure;
GtkWidget *image854; GtkWidget *image887;
GtkWidget *menu_rearrange_team; GtkWidget *menu_rearrange_team;
GtkWidget *image855; GtkWidget *image888;
GtkWidget *trennlinie8; GtkWidget *trennlinie8;
GtkWidget *menu_browse_teams; GtkWidget *menu_browse_teams;
GtkWidget *image856; GtkWidget *image889;
GtkWidget *menu_player; GtkWidget *menu_player;
GtkWidget *menu_player_menu; GtkWidget *menu_player_menu;
GtkWidget *menu_show_info; GtkWidget *menu_show_info;
GtkWidget *image857; GtkWidget *image890;
GtkWidget *menu_put_on_transfer_list; GtkWidget *menu_put_on_transfer_list;
GtkWidget *image858; GtkWidget *image891;
GtkWidget *menu_remove_from_transfer_list; GtkWidget *menu_remove_from_transfer_list;
GtkWidget *image859; GtkWidget *image892;
GtkWidget *menu_offer_new_contract; GtkWidget *menu_offer_new_contract;
GtkWidget *image860; GtkWidget *image893;
GtkWidget *menu_fire; GtkWidget *menu_fire;
GtkWidget *image861; GtkWidget *image894;
GtkWidget *menu_shoots_penalties; GtkWidget *menu_shoots_penalties;
GtkWidget *image862; GtkWidget *image895;
GtkWidget *trennlinie10; GtkWidget *trennlinie10;
GtkWidget *menu_browse_players; GtkWidget *menu_browse_players;
GtkWidget *image863; GtkWidget *image896;
GtkWidget *menu_user; GtkWidget *menu_user;
GtkWidget *menu_user_menu; GtkWidget *menu_user_menu;
GtkWidget *menu_user_show_last_match; GtkWidget *menu_user_show_last_match;
GtkWidget *image864; GtkWidget *image897;
GtkWidget *menu_user_show_last_stats; GtkWidget *menu_user_show_last_stats;
GtkWidget *image865; GtkWidget *image898;
GtkWidget *menu_user_show_coming_matches;
GtkWidget *image899;
GtkWidget *trennlinie12; GtkWidget *trennlinie12;
GtkWidget *menu_user_show_history; GtkWidget *menu_user_show_history;
GtkWidget *image866; GtkWidget *image900;
GtkWidget *trennlinie9; GtkWidget *trennlinie9;
GtkWidget *menu_next_user; GtkWidget *menu_next_user;
GtkWidget *image867; GtkWidget *image901;
GtkWidget *menu_previous_user; GtkWidget *menu_previous_user;
GtkWidget *image868; GtkWidget *image902;
GtkWidget *menu_manage_users; GtkWidget *menu_manage_users;
GtkWidget *image869; GtkWidget *image903;
GtkWidget *menu_finances_stadium; GtkWidget *menu_finances_stadium;
GtkWidget *menu_finances_stadium_menu; GtkWidget *menu_finances_stadium_menu;
GtkWidget *menu_show_finances; GtkWidget *menu_show_finances;
GtkWidget *image870; GtkWidget *image904;
GtkWidget *menu_show_stadium; GtkWidget *menu_show_stadium;
GtkWidget *image871; GtkWidget *image905;
GtkWidget *menu_help1; GtkWidget *menu_help1;
GtkWidget *menu_help1_menu; GtkWidget *menu_help1_menu;
GtkWidget *menu_about; GtkWidget *menu_about;
GtkWidget *image872; GtkWidget *image906;
GtkWidget *menu_contributors; GtkWidget *menu_contributors;
GtkWidget *image873; GtkWidget *image907;
GtkWidget *menu_help; GtkWidget *menu_help;
GtkWidget *image874; GtkWidget *image908;
GtkWidget *hbox1; GtkWidget *hbox1;
GtkWidget *button_load; GtkWidget *button_load;
GtkWidget *image11; GtkWidget *image11;
@ -170,8 +172,6 @@ create_main_window (void)
GtkWidget *image20; GtkWidget *image20;
GtkWidget *button_transfers; GtkWidget *button_transfers;
GtkWidget *image32; GtkWidget *image32;
GtkWidget *button_preview;
GtkWidget *image36;
GtkWidget *vseparator16; GtkWidget *vseparator16;
GtkWidget *button_new_week; GtkWidget *button_new_week;
GtkWidget *image23; GtkWidget *image23;
@ -279,9 +279,9 @@ create_main_window (void)
GDK_l, GDK_CONTROL_MASK | GDK_SHIFT_MASK, GDK_l, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image841 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU); image874 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
gtk_widget_show (image841); gtk_widget_show (image874);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_load_last_save), image841); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_load_last_save), image874);
menu_save = gtk_image_menu_item_new_from_stock ("gtk-save", accel_group); menu_save = gtk_image_menu_item_new_from_stock ("gtk-save", accel_group);
gtk_widget_show (menu_save); gtk_widget_show (menu_save);
@ -314,9 +314,9 @@ create_main_window (void)
GDK_p, GDK_CONTROL_MASK, GDK_p, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image842 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU); image875 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
gtk_widget_show (image842); gtk_widget_show (image875);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_preferences), image842); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_preferences), image875);
trennlinie7 = gtk_separator_menu_item_new (); trennlinie7 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie7); gtk_widget_show (trennlinie7);
@ -351,9 +351,9 @@ create_main_window (void)
GDK_F3, 0, GDK_F3, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image843 = create_pixmap (main_window, "menu_fixtures.png"); image876 = create_pixmap (main_window, "menu_fixtures.png");
gtk_widget_show (image843); gtk_widget_show (image876);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures_week), image843); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures_week), image876);
menu_fixtures = gtk_image_menu_item_new_with_mnemonic (_("Fixtures (competitions)")); menu_fixtures = gtk_image_menu_item_new_with_mnemonic (_("Fixtures (competitions)"));
gtk_widget_show (menu_fixtures); gtk_widget_show (menu_fixtures);
@ -362,9 +362,9 @@ create_main_window (void)
GDK_F4, 0, GDK_F4, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image844 = create_pixmap (main_window, "menu_fixtures_comp.png"); image877 = create_pixmap (main_window, "menu_fixtures_comp.png");
gtk_widget_show (image844); gtk_widget_show (image877);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures), image844); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures), image877);
menu_tables = gtk_image_menu_item_new_with_mnemonic (_("Tables")); menu_tables = gtk_image_menu_item_new_with_mnemonic (_("Tables"));
gtk_widget_show (menu_tables); gtk_widget_show (menu_tables);
@ -373,9 +373,9 @@ create_main_window (void)
GDK_F5, 0, GDK_F5, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image845 = create_pixmap (main_window, "menu_table.png"); image878 = create_pixmap (main_window, "menu_table.png");
gtk_widget_show (image845); gtk_widget_show (image878);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_tables), image845); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_tables), image878);
menu_my_league_results = gtk_image_menu_item_new_with_mnemonic (_("My league results")); menu_my_league_results = gtk_image_menu_item_new_with_mnemonic (_("My league results"));
gtk_widget_show (menu_my_league_results); gtk_widget_show (menu_my_league_results);
@ -384,9 +384,9 @@ create_main_window (void)
GDK_F6, 0, GDK_F6, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image846 = create_pixmap (main_window, "menu_league_results.png"); image879 = create_pixmap (main_window, "menu_league_results.png");
gtk_widget_show (image846); gtk_widget_show (image879);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_my_league_results), image846); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_my_league_results), image879);
trennlinie13 = gtk_separator_menu_item_new (); trennlinie13 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie13); gtk_widget_show (trennlinie13);
@ -400,9 +400,9 @@ create_main_window (void)
GDK_s, 0, GDK_s, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image847 = create_pixmap (main_window, "menu_league_stats.png"); image880 = create_pixmap (main_window, "menu_league_stats.png");
gtk_widget_show (image847); gtk_widget_show (image880);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_league_stats), image847); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_league_stats), image880);
menu_season_history = gtk_image_menu_item_new_with_mnemonic (_("Season history")); menu_season_history = gtk_image_menu_item_new_with_mnemonic (_("Season history"));
gtk_widget_show (menu_season_history); gtk_widget_show (menu_season_history);
@ -411,9 +411,9 @@ create_main_window (void)
GDK_h, 0, GDK_h, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image848 = create_pixmap (main_window, "menu_history.png"); image881 = create_pixmap (main_window, "menu_history.png");
gtk_widget_show (image848); gtk_widget_show (image881);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_season_history), image848); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_season_history), image881);
menu_team = gtk_menu_item_new_with_mnemonic (_("_Team")); menu_team = gtk_menu_item_new_with_mnemonic (_("_Team"));
gtk_widget_show (menu_team); gtk_widget_show (menu_team);
@ -426,9 +426,9 @@ create_main_window (void)
gtk_widget_show (menu_playing_style); gtk_widget_show (menu_playing_style);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_playing_style); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_playing_style);
image849 = create_pixmap (main_window, "menu_style.png"); image882 = create_pixmap (main_window, "menu_style.png");
gtk_widget_show (image849); gtk_widget_show (image882);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_playing_style), image849); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_playing_style), image882);
menu_playing_style_menu = gtk_menu_new (); menu_playing_style_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_playing_style), menu_playing_style_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_playing_style), menu_playing_style_menu);
@ -437,21 +437,25 @@ create_main_window (void)
menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_all_out_defend)); menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_all_out_defend));
gtk_widget_show (menu_all_out_defend); gtk_widget_show (menu_all_out_defend);
gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_all_out_defend); gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_all_out_defend);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_all_out_defend), TRUE);
menu_defend = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("Defend")); menu_defend = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("Defend"));
menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_defend)); menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_defend));
gtk_widget_show (menu_defend); gtk_widget_show (menu_defend);
gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_defend); gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_defend);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_defend), TRUE);
menu_balanced = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("Balanced")); menu_balanced = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("Balanced"));
menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_balanced)); menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_balanced));
gtk_widget_show (menu_balanced); gtk_widget_show (menu_balanced);
gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_balanced); gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_balanced);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_balanced), TRUE);
menu_attack = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("Attack")); menu_attack = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("Attack"));
menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_attack)); menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_attack));
gtk_widget_show (menu_attack); gtk_widget_show (menu_attack);
gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_attack); gtk_container_add (GTK_CONTAINER (menu_playing_style_menu), menu_attack);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_attack), TRUE);
menu_all_out_attack = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("All Out Attack")); menu_all_out_attack = gtk_radio_menu_item_new_with_mnemonic (menu_all_out_defend_group, _("All Out Attack"));
menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_all_out_attack)); menu_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_all_out_attack));
@ -463,9 +467,9 @@ create_main_window (void)
gtk_widget_show (menu_scout); gtk_widget_show (menu_scout);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_scout); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_scout);
image850 = create_pixmap (main_window, "menu_scout.png"); image883 = create_pixmap (main_window, "menu_scout.png");
gtk_widget_show (image850); gtk_widget_show (image883);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_scout), image850); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_scout), image883);
menu_scout_menu = gtk_menu_new (); menu_scout_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_scout), menu_scout_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_scout), menu_scout_menu);
@ -474,16 +478,19 @@ create_main_window (void)
menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_best)); menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_best));
gtk_widget_show (menu_scout_best); gtk_widget_show (menu_scout_best);
gtk_container_add (GTK_CONTAINER (menu_scout_menu), menu_scout_best); gtk_container_add (GTK_CONTAINER (menu_scout_menu), menu_scout_best);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_scout_best), TRUE);
menu_scout_good = gtk_radio_menu_item_new_with_mnemonic (menu_scout_best_group, _("Good")); menu_scout_good = gtk_radio_menu_item_new_with_mnemonic (menu_scout_best_group, _("Good"));
menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_good)); menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_good));
gtk_widget_show (menu_scout_good); gtk_widget_show (menu_scout_good);
gtk_container_add (GTK_CONTAINER (menu_scout_menu), menu_scout_good); gtk_container_add (GTK_CONTAINER (menu_scout_menu), menu_scout_good);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_scout_good), TRUE);
menu_scout_average = gtk_radio_menu_item_new_with_mnemonic (menu_scout_best_group, _("Average")); menu_scout_average = gtk_radio_menu_item_new_with_mnemonic (menu_scout_best_group, _("Average"));
menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_average)); menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_average));
gtk_widget_show (menu_scout_average); gtk_widget_show (menu_scout_average);
gtk_container_add (GTK_CONTAINER (menu_scout_menu), menu_scout_average); gtk_container_add (GTK_CONTAINER (menu_scout_menu), menu_scout_average);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_scout_average), TRUE);
menu_scout_bad = gtk_radio_menu_item_new_with_mnemonic (menu_scout_best_group, _("Bad")); menu_scout_bad = gtk_radio_menu_item_new_with_mnemonic (menu_scout_best_group, _("Bad"));
menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_bad)); menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_bad));
@ -495,9 +502,9 @@ create_main_window (void)
gtk_widget_show (menu_physio); gtk_widget_show (menu_physio);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_physio); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_physio);
image851 = create_pixmap (main_window, "menu_physio.png"); image884 = create_pixmap (main_window, "menu_physio.png");
gtk_widget_show (image851); gtk_widget_show (image884);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_physio), image851); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_physio), image884);
menu_physio_menu = gtk_menu_new (); menu_physio_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_physio), menu_physio_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_physio), menu_physio_menu);
@ -506,16 +513,19 @@ create_main_window (void)
menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_best)); menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_best));
gtk_widget_show (menu_physio_best); gtk_widget_show (menu_physio_best);
gtk_container_add (GTK_CONTAINER (menu_physio_menu), menu_physio_best); gtk_container_add (GTK_CONTAINER (menu_physio_menu), menu_physio_best);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_physio_best), TRUE);
menu_physio_good = gtk_radio_menu_item_new_with_mnemonic (menu_physio_best_group, _("Good")); menu_physio_good = gtk_radio_menu_item_new_with_mnemonic (menu_physio_best_group, _("Good"));
menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_good)); menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_good));
gtk_widget_show (menu_physio_good); gtk_widget_show (menu_physio_good);
gtk_container_add (GTK_CONTAINER (menu_physio_menu), menu_physio_good); gtk_container_add (GTK_CONTAINER (menu_physio_menu), menu_physio_good);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_physio_good), TRUE);
menu_physio_average = gtk_radio_menu_item_new_with_mnemonic (menu_physio_best_group, _("Average")); menu_physio_average = gtk_radio_menu_item_new_with_mnemonic (menu_physio_best_group, _("Average"));
menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_average)); menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_average));
gtk_widget_show (menu_physio_average); gtk_widget_show (menu_physio_average);
gtk_container_add (GTK_CONTAINER (menu_physio_menu), menu_physio_average); gtk_container_add (GTK_CONTAINER (menu_physio_menu), menu_physio_average);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_physio_average), TRUE);
menu_physio_bad = gtk_radio_menu_item_new_with_mnemonic (menu_physio_best_group, _("Bad")); menu_physio_bad = gtk_radio_menu_item_new_with_mnemonic (menu_physio_best_group, _("Bad"));
menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_bad)); menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_bad));
@ -527,9 +537,9 @@ create_main_window (void)
gtk_widget_show (menu_boost); gtk_widget_show (menu_boost);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_boost); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_boost);
image852 = create_pixmap (main_window, "menu_boost.png"); image885 = create_pixmap (main_window, "menu_boost.png");
gtk_widget_show (image852); gtk_widget_show (image885);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_boost), image852); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_boost), image885);
menu_boost_menu = gtk_menu_new (); menu_boost_menu = gtk_menu_new ();
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_boost), menu_boost_menu); gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_boost), menu_boost_menu);
@ -538,11 +548,13 @@ create_main_window (void)
menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_on)); menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_on));
gtk_widget_show (menu_boost_on); gtk_widget_show (menu_boost_on);
gtk_container_add (GTK_CONTAINER (menu_boost_menu), menu_boost_on); gtk_container_add (GTK_CONTAINER (menu_boost_menu), menu_boost_on);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_boost_on), TRUE);
menu_boost_off = gtk_radio_menu_item_new_with_mnemonic (menu_boost_on_group, _("Off")); menu_boost_off = gtk_radio_menu_item_new_with_mnemonic (menu_boost_on_group, _("Off"));
menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_off)); menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_off));
gtk_widget_show (menu_boost_off); gtk_widget_show (menu_boost_off);
gtk_container_add (GTK_CONTAINER (menu_boost_menu), menu_boost_off); gtk_container_add (GTK_CONTAINER (menu_boost_menu), menu_boost_off);
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_boost_off), TRUE);
menu_boost_anti = gtk_radio_menu_item_new_with_mnemonic (menu_boost_on_group, _("Anti")); menu_boost_anti = gtk_radio_menu_item_new_with_mnemonic (menu_boost_on_group, _("Anti"));
menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_anti)); menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_anti));
@ -559,17 +571,17 @@ create_main_window (void)
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_reset_players); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_reset_players);
gtk_tooltips_set_tip (tooltips, menu_reset_players, _("Reset player list to the formation at the beginning of the live game pause (right click on player list)"), NULL); gtk_tooltips_set_tip (tooltips, menu_reset_players, _("Reset player list to the formation at the beginning of the live game pause (right click on player list)"), NULL);
image853 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU); image886 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU);
gtk_widget_show (image853); gtk_widget_show (image886);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reset_players), image853); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reset_players), image886);
menu_custom_structure = gtk_image_menu_item_new_with_mnemonic (_("Enter custom structure")); menu_custom_structure = gtk_image_menu_item_new_with_mnemonic (_("Enter custom structure"));
gtk_widget_show (menu_custom_structure); gtk_widget_show (menu_custom_structure);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_custom_structure); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_custom_structure);
image854 = create_pixmap (main_window, "menu_structure.png"); image887 = create_pixmap (main_window, "menu_structure.png");
gtk_widget_show (image854); gtk_widget_show (image887);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_custom_structure), image854); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_custom_structure), image887);
menu_rearrange_team = gtk_image_menu_item_new_with_mnemonic (_("Rearrange team")); menu_rearrange_team = gtk_image_menu_item_new_with_mnemonic (_("Rearrange team"));
gtk_widget_show (menu_rearrange_team); gtk_widget_show (menu_rearrange_team);
@ -579,9 +591,9 @@ create_main_window (void)
GDK_r, GDK_CONTROL_MASK, GDK_r, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image855 = create_pixmap (main_window, "menu_rearrange.png"); image888 = create_pixmap (main_window, "menu_rearrange.png");
gtk_widget_show (image855); gtk_widget_show (image888);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_rearrange_team), image855); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_rearrange_team), image888);
trennlinie8 = gtk_separator_menu_item_new (); trennlinie8 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie8); gtk_widget_show (trennlinie8);
@ -592,9 +604,9 @@ create_main_window (void)
gtk_widget_show (menu_browse_teams); gtk_widget_show (menu_browse_teams);
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_browse_teams); gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_browse_teams);
image856 = create_pixmap (main_window, "menu_browse_tms.png"); image889 = create_pixmap (main_window, "menu_browse_tms.png");
gtk_widget_show (image856); gtk_widget_show (image889);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_teams), image856); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_teams), image889);
menu_player = gtk_menu_item_new_with_mnemonic (_("_Player")); menu_player = gtk_menu_item_new_with_mnemonic (_("_Player"));
gtk_widget_show (menu_player); gtk_widget_show (menu_player);
@ -607,49 +619,49 @@ create_main_window (void)
gtk_widget_show (menu_show_info); gtk_widget_show (menu_show_info);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_show_info); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_show_info);
image857 = create_pixmap (main_window, "menu_player_info.png"); image890 = create_pixmap (main_window, "menu_player_info.png");
gtk_widget_show (image857); gtk_widget_show (image890);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_info), image857); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_info), image890);
menu_put_on_transfer_list = gtk_image_menu_item_new_with_mnemonic (_("Put on transfer list")); menu_put_on_transfer_list = gtk_image_menu_item_new_with_mnemonic (_("Put on transfer list"));
gtk_widget_show (menu_put_on_transfer_list); gtk_widget_show (menu_put_on_transfer_list);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_put_on_transfer_list); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_put_on_transfer_list);
image858 = create_pixmap (main_window, "menu_player_put_transfer.png"); image891 = create_pixmap (main_window, "menu_player_put_transfer.png");
gtk_widget_show (image858); gtk_widget_show (image891);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_put_on_transfer_list), image858); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_put_on_transfer_list), image891);
menu_remove_from_transfer_list = gtk_image_menu_item_new_with_mnemonic (_("Remove from transfer list")); menu_remove_from_transfer_list = gtk_image_menu_item_new_with_mnemonic (_("Remove from transfer list"));
gtk_widget_show (menu_remove_from_transfer_list); gtk_widget_show (menu_remove_from_transfer_list);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_remove_from_transfer_list); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_remove_from_transfer_list);
image859 = create_pixmap (main_window, "menu_player_remove_transfer.png"); image892 = create_pixmap (main_window, "menu_player_remove_transfer.png");
gtk_widget_show (image859); gtk_widget_show (image892);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_remove_from_transfer_list), image859); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_remove_from_transfer_list), image892);
menu_offer_new_contract = gtk_image_menu_item_new_with_mnemonic (_("Offer new contract")); menu_offer_new_contract = gtk_image_menu_item_new_with_mnemonic (_("Offer new contract"));
gtk_widget_show (menu_offer_new_contract); gtk_widget_show (menu_offer_new_contract);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_offer_new_contract); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_offer_new_contract);
image860 = create_pixmap (main_window, "menu_player_contract.png"); image893 = create_pixmap (main_window, "menu_player_contract.png");
gtk_widget_show (image860); gtk_widget_show (image893);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_offer_new_contract), image860); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_offer_new_contract), image893);
menu_fire = gtk_image_menu_item_new_with_mnemonic (_("Fire")); menu_fire = gtk_image_menu_item_new_with_mnemonic (_("Fire"));
gtk_widget_show (menu_fire); gtk_widget_show (menu_fire);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_fire); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_fire);
image861 = create_pixmap (main_window, "menu_player_fire.png"); image894 = create_pixmap (main_window, "menu_player_fire.png");
gtk_widget_show (image861); gtk_widget_show (image894);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fire), image861); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fire), image894);
menu_shoots_penalties = gtk_image_menu_item_new_with_mnemonic (_("Shoots penalties")); menu_shoots_penalties = gtk_image_menu_item_new_with_mnemonic (_("Shoots penalties"));
gtk_widget_show (menu_shoots_penalties); gtk_widget_show (menu_shoots_penalties);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_shoots_penalties); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_shoots_penalties);
image862 = create_pixmap (main_window, "menu_player_shoots.png"); image895 = create_pixmap (main_window, "menu_player_shoots.png");
gtk_widget_show (image862); gtk_widget_show (image895);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_shoots_penalties), image862); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_shoots_penalties), image895);
trennlinie10 = gtk_separator_menu_item_new (); trennlinie10 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie10); gtk_widget_show (trennlinie10);
@ -660,9 +672,9 @@ create_main_window (void)
gtk_widget_show (menu_browse_players); gtk_widget_show (menu_browse_players);
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_browse_players); gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_browse_players);
image863 = create_pixmap (main_window, "menu_player_browse.png"); image896 = create_pixmap (main_window, "menu_player_browse.png");
gtk_widget_show (image863); gtk_widget_show (image896);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_players), image863); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_players), image896);
menu_user = gtk_menu_item_new_with_mnemonic (_("_User")); menu_user = gtk_menu_item_new_with_mnemonic (_("_User"));
gtk_widget_show (menu_user); gtk_widget_show (menu_user);
@ -678,9 +690,9 @@ create_main_window (void)
GDK_m, GDK_CONTROL_MASK, GDK_m, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image864 = create_pixmap (main_window, "menu_last_match.png"); image897 = create_pixmap (main_window, "menu_last_match.png");
gtk_widget_show (image864); gtk_widget_show (image897);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_match), image864); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_match), image897);
menu_user_show_last_stats = gtk_image_menu_item_new_with_mnemonic (_("Show last match stats")); menu_user_show_last_stats = gtk_image_menu_item_new_with_mnemonic (_("Show last match stats"));
gtk_widget_show (menu_user_show_last_stats); gtk_widget_show (menu_user_show_last_stats);
@ -689,9 +701,17 @@ create_main_window (void)
GDK_F2, 0, GDK_F2, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image865 = create_pixmap (main_window, "menu_match_stats.png"); image898 = create_pixmap (main_window, "menu_match_stats.png");
gtk_widget_show (image865); gtk_widget_show (image898);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_stats), image865); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_stats), image898);
menu_user_show_coming_matches = gtk_image_menu_item_new_with_mnemonic (_("Show coming matches"));
gtk_widget_show (menu_user_show_coming_matches);
gtk_container_add (GTK_CONTAINER (menu_user_menu), menu_user_show_coming_matches);
image899 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
gtk_widget_show (image899);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_coming_matches), image899);
trennlinie12 = gtk_separator_menu_item_new (); trennlinie12 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie12); gtk_widget_show (trennlinie12);
@ -705,9 +725,9 @@ create_main_window (void)
GDK_h, GDK_CONTROL_MASK, GDK_h, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image866 = create_pixmap (main_window, "menu_history.png"); image900 = create_pixmap (main_window, "menu_history.png");
gtk_widget_show (image866); gtk_widget_show (image900);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_history), image866); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_history), image900);
trennlinie9 = gtk_separator_menu_item_new (); trennlinie9 = gtk_separator_menu_item_new ();
gtk_widget_show (trennlinie9); gtk_widget_show (trennlinie9);
@ -721,9 +741,9 @@ create_main_window (void)
GDK_F9, 0, GDK_F9, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image867 = gtk_image_new_from_stock ("gtk-go-forward", GTK_ICON_SIZE_MENU); image901 = gtk_image_new_from_stock ("gtk-go-forward", GTK_ICON_SIZE_MENU);
gtk_widget_show (image867); gtk_widget_show (image901);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_next_user), image867); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_next_user), image901);
menu_previous_user = gtk_image_menu_item_new_with_mnemonic (_("Previous user")); menu_previous_user = gtk_image_menu_item_new_with_mnemonic (_("Previous user"));
gtk_widget_show (menu_previous_user); gtk_widget_show (menu_previous_user);
@ -732,9 +752,9 @@ create_main_window (void)
GDK_F8, 0, GDK_F8, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image868 = gtk_image_new_from_stock ("gtk-go-back", GTK_ICON_SIZE_MENU); image902 = gtk_image_new_from_stock ("gtk-go-back", GTK_ICON_SIZE_MENU);
gtk_widget_show (image868); gtk_widget_show (image902);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_previous_user), image868); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_previous_user), image902);
menu_manage_users = gtk_image_menu_item_new_with_mnemonic (_("Manage users")); menu_manage_users = gtk_image_menu_item_new_with_mnemonic (_("Manage users"));
gtk_widget_show (menu_manage_users); gtk_widget_show (menu_manage_users);
@ -743,9 +763,9 @@ create_main_window (void)
GDK_F12, 0, GDK_F12, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image869 = gtk_image_new_from_stock ("gtk-justify-fill", GTK_ICON_SIZE_MENU); image903 = gtk_image_new_from_stock ("gtk-justify-fill", GTK_ICON_SIZE_MENU);
gtk_widget_show (image869); gtk_widget_show (image903);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_manage_users), image869); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_manage_users), image903);
menu_finances_stadium = gtk_menu_item_new_with_mnemonic (_("Fin_Stad")); menu_finances_stadium = gtk_menu_item_new_with_mnemonic (_("Fin_Stad"));
gtk_widget_show (menu_finances_stadium); gtk_widget_show (menu_finances_stadium);
@ -761,9 +781,9 @@ create_main_window (void)
GDK_f, 0, GDK_f, 0,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image870 = create_pixmap (main_window, "menu_finances.png"); image904 = create_pixmap (main_window, "menu_finances.png");
gtk_widget_show (image870); gtk_widget_show (image904);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_finances), image870); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_finances), image904);
menu_show_stadium = gtk_image_menu_item_new_with_mnemonic (_("Show stadium")); menu_show_stadium = gtk_image_menu_item_new_with_mnemonic (_("Show stadium"));
gtk_widget_show (menu_show_stadium); gtk_widget_show (menu_show_stadium);
@ -772,9 +792,9 @@ create_main_window (void)
GDK_f, GDK_CONTROL_MASK, GDK_f, GDK_CONTROL_MASK,
GTK_ACCEL_VISIBLE); GTK_ACCEL_VISIBLE);
image871 = create_pixmap (main_window, "menu_stadium.png"); image905 = create_pixmap (main_window, "menu_stadium.png");
gtk_widget_show (image871); gtk_widget_show (image905);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_stadium), image871); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_stadium), image905);
menu_help1 = gtk_menu_item_new_with_mnemonic (_("_Help")); menu_help1 = gtk_menu_item_new_with_mnemonic (_("_Help"));
gtk_widget_show (menu_help1); gtk_widget_show (menu_help1);
@ -787,25 +807,25 @@ create_main_window (void)
gtk_widget_show (menu_about); gtk_widget_show (menu_about);
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_about); gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_about);
image872 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU); image906 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU);
gtk_widget_show (image872); gtk_widget_show (image906);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_about), image872); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_about), image906);
menu_contributors = gtk_image_menu_item_new_with_mnemonic (_("Contributors")); menu_contributors = gtk_image_menu_item_new_with_mnemonic (_("Contributors"));
gtk_widget_show (menu_contributors); gtk_widget_show (menu_contributors);
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_contributors); gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_contributors);
image873 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU); image907 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
gtk_widget_show (image873); gtk_widget_show (image907);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_contributors), image873); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_contributors), image907);
menu_help = gtk_image_menu_item_new_with_mnemonic (_("Help")); menu_help = gtk_image_menu_item_new_with_mnemonic (_("Help"));
gtk_widget_show (menu_help); gtk_widget_show (menu_help);
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_help); gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_help);
image874 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU); image908 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU);
gtk_widget_show (image874); gtk_widget_show (image908);
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_help), image874); gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_help), image908);
hbox1 = gtk_hbox_new (FALSE, 0); hbox1 = gtk_hbox_new (FALSE, 0);
gtk_widget_show (hbox1); gtk_widget_show (hbox1);
@ -877,23 +897,10 @@ create_main_window (void)
gtk_widget_show (image32); gtk_widget_show (image32);
gtk_container_add (GTK_CONTAINER (button_transfers), image32); gtk_container_add (GTK_CONTAINER (button_transfers), image32);
button_preview = gtk_button_new ();
gtk_widget_show (button_preview);
gtk_box_pack_start (GTK_BOX (hbox1), button_preview, FALSE, FALSE, 0);
gtk_container_set_border_width (GTK_CONTAINER (button_preview), 2);
gtk_tooltips_set_tip (tooltips, button_preview, _("Show a preview of my next games (F1)"), NULL);
gtk_widget_add_accelerator (button_preview, "clicked", accel_group,
GDK_F1, 0,
GTK_ACCEL_VISIBLE);
image36 = create_pixmap (main_window, "preview.png");
gtk_widget_show (image36);
gtk_container_add (GTK_CONTAINER (button_preview), image36);
vseparator16 = gtk_vseparator_new (); vseparator16 = gtk_vseparator_new ();
gtk_widget_show (vseparator16); gtk_widget_show (vseparator16);
gtk_box_pack_start (GTK_BOX (hbox1), vseparator16, FALSE, FALSE, 0); gtk_box_pack_start (GTK_BOX (hbox1), vseparator16, FALSE, FALSE, 0);
gtk_widget_set_size_request (vseparator16, 60, 1); gtk_widget_set_size_request (vseparator16, 40, 1);
button_new_week = gtk_button_new (); button_new_week = gtk_button_new ();
gtk_widget_show (button_new_week); gtk_widget_show (button_new_week);
@ -1319,6 +1326,9 @@ create_main_window (void)
g_signal_connect ((gpointer) menu_user_show_last_stats, "activate", g_signal_connect ((gpointer) menu_user_show_last_stats, "activate",
G_CALLBACK (on_menu_user_show_last_stats_activate), G_CALLBACK (on_menu_user_show_last_stats_activate),
NULL); NULL);
g_signal_connect ((gpointer) menu_user_show_coming_matches, "activate",
G_CALLBACK (on_menu_user_show_coming_matches_activate),
NULL);
g_signal_connect ((gpointer) menu_user_show_history, "activate", g_signal_connect ((gpointer) menu_user_show_history, "activate",
G_CALLBACK (on_menu_user_show_history_activate), G_CALLBACK (on_menu_user_show_history_activate),
NULL); NULL);
@ -1364,9 +1374,6 @@ create_main_window (void)
g_signal_connect ((gpointer) button_transfers, "clicked", g_signal_connect ((gpointer) button_transfers, "clicked",
G_CALLBACK (on_button_transfers_clicked), G_CALLBACK (on_button_transfers_clicked),
NULL); NULL);
g_signal_connect ((gpointer) button_preview, "clicked",
G_CALLBACK (on_button_preview_clicked),
NULL);
g_signal_connect ((gpointer) button_new_week, "clicked", g_signal_connect ((gpointer) button_new_week, "clicked",
G_CALLBACK (on_button_new_week_clicked), G_CALLBACK (on_button_new_week_clicked),
NULL); NULL);
@ -1410,7 +1417,7 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_new, "menu_new"); GLADE_HOOKUP_OBJECT (main_window, menu_new, "menu_new");
GLADE_HOOKUP_OBJECT (main_window, menu_open, "menu_open"); GLADE_HOOKUP_OBJECT (main_window, menu_open, "menu_open");
GLADE_HOOKUP_OBJECT (main_window, menu_load_last_save, "menu_load_last_save"); GLADE_HOOKUP_OBJECT (main_window, menu_load_last_save, "menu_load_last_save");
GLADE_HOOKUP_OBJECT (main_window, image841, "image841"); GLADE_HOOKUP_OBJECT (main_window, image874, "image874");
GLADE_HOOKUP_OBJECT (main_window, menu_save, "menu_save"); GLADE_HOOKUP_OBJECT (main_window, menu_save, "menu_save");
GLADE_HOOKUP_OBJECT (main_window, menu_save_as, "menu_save_as"); GLADE_HOOKUP_OBJECT (main_window, menu_save_as, "menu_save_as");
GLADE_HOOKUP_OBJECT (main_window, trennlinie1, "trennlinie1"); GLADE_HOOKUP_OBJECT (main_window, trennlinie1, "trennlinie1");
@ -1418,7 +1425,7 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_options, "menu_options"); GLADE_HOOKUP_OBJECT (main_window, menu_options, "menu_options");
GLADE_HOOKUP_OBJECT (main_window, menu_options_menu, "menu_options_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_options_menu, "menu_options_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_preferences, "menu_preferences"); GLADE_HOOKUP_OBJECT (main_window, menu_preferences, "menu_preferences");
GLADE_HOOKUP_OBJECT (main_window, image842, "image842"); GLADE_HOOKUP_OBJECT (main_window, image875, "image875");
GLADE_HOOKUP_OBJECT (main_window, trennlinie7, "trennlinie7"); GLADE_HOOKUP_OBJECT (main_window, trennlinie7, "trennlinie7");
GLADE_HOOKUP_OBJECT (main_window, menu_job_offers, "menu_job_offers"); GLADE_HOOKUP_OBJECT (main_window, menu_job_offers, "menu_job_offers");
GLADE_HOOKUP_OBJECT (main_window, menu_live_game, "menu_live_game"); GLADE_HOOKUP_OBJECT (main_window, menu_live_game, "menu_live_game");
@ -1426,22 +1433,22 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_figures, "menu_figures"); GLADE_HOOKUP_OBJECT (main_window, menu_figures, "menu_figures");
GLADE_HOOKUP_OBJECT (main_window, menu_figures_menu, "menu_figures_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_figures_menu, "menu_figures_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_fixtures_week, "menu_fixtures_week"); GLADE_HOOKUP_OBJECT (main_window, menu_fixtures_week, "menu_fixtures_week");
GLADE_HOOKUP_OBJECT (main_window, image843, "image843"); GLADE_HOOKUP_OBJECT (main_window, image876, "image876");
GLADE_HOOKUP_OBJECT (main_window, menu_fixtures, "menu_fixtures"); GLADE_HOOKUP_OBJECT (main_window, menu_fixtures, "menu_fixtures");
GLADE_HOOKUP_OBJECT (main_window, image844, "image844"); GLADE_HOOKUP_OBJECT (main_window, image877, "image877");
GLADE_HOOKUP_OBJECT (main_window, menu_tables, "menu_tables"); GLADE_HOOKUP_OBJECT (main_window, menu_tables, "menu_tables");
GLADE_HOOKUP_OBJECT (main_window, image845, "image845"); GLADE_HOOKUP_OBJECT (main_window, image878, "image878");
GLADE_HOOKUP_OBJECT (main_window, menu_my_league_results, "menu_my_league_results"); GLADE_HOOKUP_OBJECT (main_window, menu_my_league_results, "menu_my_league_results");
GLADE_HOOKUP_OBJECT (main_window, image846, "image846"); GLADE_HOOKUP_OBJECT (main_window, image879, "image879");
GLADE_HOOKUP_OBJECT (main_window, trennlinie13, "trennlinie13"); GLADE_HOOKUP_OBJECT (main_window, trennlinie13, "trennlinie13");
GLADE_HOOKUP_OBJECT (main_window, menu_league_stats, "menu_league_stats"); GLADE_HOOKUP_OBJECT (main_window, menu_league_stats, "menu_league_stats");
GLADE_HOOKUP_OBJECT (main_window, image847, "image847"); GLADE_HOOKUP_OBJECT (main_window, image880, "image880");
GLADE_HOOKUP_OBJECT (main_window, menu_season_history, "menu_season_history"); GLADE_HOOKUP_OBJECT (main_window, menu_season_history, "menu_season_history");
GLADE_HOOKUP_OBJECT (main_window, image848, "image848"); GLADE_HOOKUP_OBJECT (main_window, image881, "image881");
GLADE_HOOKUP_OBJECT (main_window, menu_team, "menu_team"); GLADE_HOOKUP_OBJECT (main_window, menu_team, "menu_team");
GLADE_HOOKUP_OBJECT (main_window, menu_team_menu, "menu_team_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_team_menu, "menu_team_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_playing_style, "menu_playing_style"); GLADE_HOOKUP_OBJECT (main_window, menu_playing_style, "menu_playing_style");
GLADE_HOOKUP_OBJECT (main_window, image849, "image849"); GLADE_HOOKUP_OBJECT (main_window, image882, "image882");
GLADE_HOOKUP_OBJECT (main_window, menu_playing_style_menu, "menu_playing_style_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_playing_style_menu, "menu_playing_style_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_all_out_defend, "menu_all_out_defend"); GLADE_HOOKUP_OBJECT (main_window, menu_all_out_defend, "menu_all_out_defend");
GLADE_HOOKUP_OBJECT (main_window, menu_defend, "menu_defend"); GLADE_HOOKUP_OBJECT (main_window, menu_defend, "menu_defend");
@ -1449,82 +1456,84 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, menu_attack, "menu_attack"); GLADE_HOOKUP_OBJECT (main_window, menu_attack, "menu_attack");
GLADE_HOOKUP_OBJECT (main_window, menu_all_out_attack, "menu_all_out_attack"); GLADE_HOOKUP_OBJECT (main_window, menu_all_out_attack, "menu_all_out_attack");
GLADE_HOOKUP_OBJECT (main_window, menu_scout, "menu_scout"); GLADE_HOOKUP_OBJECT (main_window, menu_scout, "menu_scout");
GLADE_HOOKUP_OBJECT (main_window, image850, "image850"); GLADE_HOOKUP_OBJECT (main_window, image883, "image883");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_menu, "menu_scout_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_scout_menu, "menu_scout_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_best, "menu_scout_best"); GLADE_HOOKUP_OBJECT (main_window, menu_scout_best, "menu_scout_best");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_good, "menu_scout_good"); GLADE_HOOKUP_OBJECT (main_window, menu_scout_good, "menu_scout_good");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_average, "menu_scout_average"); GLADE_HOOKUP_OBJECT (main_window, menu_scout_average, "menu_scout_average");
GLADE_HOOKUP_OBJECT (main_window, menu_scout_bad, "menu_scout_bad"); GLADE_HOOKUP_OBJECT (main_window, menu_scout_bad, "menu_scout_bad");
GLADE_HOOKUP_OBJECT (main_window, menu_physio, "menu_physio"); GLADE_HOOKUP_OBJECT (main_window, menu_physio, "menu_physio");
GLADE_HOOKUP_OBJECT (main_window, image851, "image851"); GLADE_HOOKUP_OBJECT (main_window, image884, "image884");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_menu, "menu_physio_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_physio_menu, "menu_physio_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_best, "menu_physio_best"); GLADE_HOOKUP_OBJECT (main_window, menu_physio_best, "menu_physio_best");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_good, "menu_physio_good"); GLADE_HOOKUP_OBJECT (main_window, menu_physio_good, "menu_physio_good");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_average, "menu_physio_average"); GLADE_HOOKUP_OBJECT (main_window, menu_physio_average, "menu_physio_average");
GLADE_HOOKUP_OBJECT (main_window, menu_physio_bad, "menu_physio_bad"); GLADE_HOOKUP_OBJECT (main_window, menu_physio_bad, "menu_physio_bad");
GLADE_HOOKUP_OBJECT (main_window, menu_boost, "menu_boost"); GLADE_HOOKUP_OBJECT (main_window, menu_boost, "menu_boost");
GLADE_HOOKUP_OBJECT (main_window, image852, "image852"); GLADE_HOOKUP_OBJECT (main_window, image885, "image885");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_menu, "menu_boost_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_boost_menu, "menu_boost_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_on, "menu_boost_on"); GLADE_HOOKUP_OBJECT (main_window, menu_boost_on, "menu_boost_on");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_off, "menu_boost_off"); GLADE_HOOKUP_OBJECT (main_window, menu_boost_off, "menu_boost_off");
GLADE_HOOKUP_OBJECT (main_window, menu_boost_anti, "menu_boost_anti"); GLADE_HOOKUP_OBJECT (main_window, menu_boost_anti, "menu_boost_anti");
GLADE_HOOKUP_OBJECT (main_window, trennlinie11, "trennlinie11"); GLADE_HOOKUP_OBJECT (main_window, trennlinie11, "trennlinie11");
GLADE_HOOKUP_OBJECT (main_window, menu_reset_players, "menu_reset_players"); GLADE_HOOKUP_OBJECT (main_window, menu_reset_players, "menu_reset_players");
GLADE_HOOKUP_OBJECT (main_window, image853, "image853"); GLADE_HOOKUP_OBJECT (main_window, image886, "image886");
GLADE_HOOKUP_OBJECT (main_window, menu_custom_structure, "menu_custom_structure"); GLADE_HOOKUP_OBJECT (main_window, menu_custom_structure, "menu_custom_structure");
GLADE_HOOKUP_OBJECT (main_window, image854, "image854"); GLADE_HOOKUP_OBJECT (main_window, image887, "image887");
GLADE_HOOKUP_OBJECT (main_window, menu_rearrange_team, "menu_rearrange_team"); GLADE_HOOKUP_OBJECT (main_window, menu_rearrange_team, "menu_rearrange_team");
GLADE_HOOKUP_OBJECT (main_window, image855, "image855"); GLADE_HOOKUP_OBJECT (main_window, image888, "image888");
GLADE_HOOKUP_OBJECT (main_window, trennlinie8, "trennlinie8"); GLADE_HOOKUP_OBJECT (main_window, trennlinie8, "trennlinie8");
GLADE_HOOKUP_OBJECT (main_window, menu_browse_teams, "menu_browse_teams"); GLADE_HOOKUP_OBJECT (main_window, menu_browse_teams, "menu_browse_teams");
GLADE_HOOKUP_OBJECT (main_window, image856, "image856"); GLADE_HOOKUP_OBJECT (main_window, image889, "image889");
GLADE_HOOKUP_OBJECT (main_window, menu_player, "menu_player"); GLADE_HOOKUP_OBJECT (main_window, menu_player, "menu_player");
GLADE_HOOKUP_OBJECT (main_window, menu_player_menu, "menu_player_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_player_menu, "menu_player_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_show_info, "menu_show_info"); GLADE_HOOKUP_OBJECT (main_window, menu_show_info, "menu_show_info");
GLADE_HOOKUP_OBJECT (main_window, image857, "image857"); GLADE_HOOKUP_OBJECT (main_window, image890, "image890");
GLADE_HOOKUP_OBJECT (main_window, menu_put_on_transfer_list, "menu_put_on_transfer_list"); GLADE_HOOKUP_OBJECT (main_window, menu_put_on_transfer_list, "menu_put_on_transfer_list");
GLADE_HOOKUP_OBJECT (main_window, image858, "image858"); GLADE_HOOKUP_OBJECT (main_window, image891, "image891");
GLADE_HOOKUP_OBJECT (main_window, menu_remove_from_transfer_list, "menu_remove_from_transfer_list"); GLADE_HOOKUP_OBJECT (main_window, menu_remove_from_transfer_list, "menu_remove_from_transfer_list");
GLADE_HOOKUP_OBJECT (main_window, image859, "image859"); GLADE_HOOKUP_OBJECT (main_window, image892, "image892");
GLADE_HOOKUP_OBJECT (main_window, menu_offer_new_contract, "menu_offer_new_contract"); GLADE_HOOKUP_OBJECT (main_window, menu_offer_new_contract, "menu_offer_new_contract");
GLADE_HOOKUP_OBJECT (main_window, image860, "image860"); GLADE_HOOKUP_OBJECT (main_window, image893, "image893");
GLADE_HOOKUP_OBJECT (main_window, menu_fire, "menu_fire"); GLADE_HOOKUP_OBJECT (main_window, menu_fire, "menu_fire");
GLADE_HOOKUP_OBJECT (main_window, image861, "image861"); GLADE_HOOKUP_OBJECT (main_window, image894, "image894");
GLADE_HOOKUP_OBJECT (main_window, menu_shoots_penalties, "menu_shoots_penalties"); GLADE_HOOKUP_OBJECT (main_window, menu_shoots_penalties, "menu_shoots_penalties");
GLADE_HOOKUP_OBJECT (main_window, image862, "image862"); GLADE_HOOKUP_OBJECT (main_window, image895, "image895");
GLADE_HOOKUP_OBJECT (main_window, trennlinie10, "trennlinie10"); GLADE_HOOKUP_OBJECT (main_window, trennlinie10, "trennlinie10");
GLADE_HOOKUP_OBJECT (main_window, menu_browse_players, "menu_browse_players"); GLADE_HOOKUP_OBJECT (main_window, menu_browse_players, "menu_browse_players");
GLADE_HOOKUP_OBJECT (main_window, image863, "image863"); GLADE_HOOKUP_OBJECT (main_window, image896, "image896");
GLADE_HOOKUP_OBJECT (main_window, menu_user, "menu_user"); GLADE_HOOKUP_OBJECT (main_window, menu_user, "menu_user");
GLADE_HOOKUP_OBJECT (main_window, menu_user_menu, "menu_user_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_user_menu, "menu_user_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_match, "menu_user_show_last_match"); GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_match, "menu_user_show_last_match");
GLADE_HOOKUP_OBJECT (main_window, image864, "image864"); GLADE_HOOKUP_OBJECT (main_window, image897, "image897");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_stats, "menu_user_show_last_stats"); GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_stats, "menu_user_show_last_stats");
GLADE_HOOKUP_OBJECT (main_window, image865, "image865"); GLADE_HOOKUP_OBJECT (main_window, image898, "image898");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_coming_matches, "menu_user_show_coming_matches");
GLADE_HOOKUP_OBJECT (main_window, image899, "image899");
GLADE_HOOKUP_OBJECT (main_window, trennlinie12, "trennlinie12"); GLADE_HOOKUP_OBJECT (main_window, trennlinie12, "trennlinie12");
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_history, "menu_user_show_history"); GLADE_HOOKUP_OBJECT (main_window, menu_user_show_history, "menu_user_show_history");
GLADE_HOOKUP_OBJECT (main_window, image866, "image866"); GLADE_HOOKUP_OBJECT (main_window, image900, "image900");
GLADE_HOOKUP_OBJECT (main_window, trennlinie9, "trennlinie9"); GLADE_HOOKUP_OBJECT (main_window, trennlinie9, "trennlinie9");
GLADE_HOOKUP_OBJECT (main_window, menu_next_user, "menu_next_user"); GLADE_HOOKUP_OBJECT (main_window, menu_next_user, "menu_next_user");
GLADE_HOOKUP_OBJECT (main_window, image867, "image867"); GLADE_HOOKUP_OBJECT (main_window, image901, "image901");
GLADE_HOOKUP_OBJECT (main_window, menu_previous_user, "menu_previous_user"); GLADE_HOOKUP_OBJECT (main_window, menu_previous_user, "menu_previous_user");
GLADE_HOOKUP_OBJECT (main_window, image868, "image868"); GLADE_HOOKUP_OBJECT (main_window, image902, "image902");
GLADE_HOOKUP_OBJECT (main_window, menu_manage_users, "menu_manage_users"); GLADE_HOOKUP_OBJECT (main_window, menu_manage_users, "menu_manage_users");
GLADE_HOOKUP_OBJECT (main_window, image869, "image869"); GLADE_HOOKUP_OBJECT (main_window, image903, "image903");
GLADE_HOOKUP_OBJECT (main_window, menu_finances_stadium, "menu_finances_stadium"); GLADE_HOOKUP_OBJECT (main_window, menu_finances_stadium, "menu_finances_stadium");
GLADE_HOOKUP_OBJECT (main_window, menu_finances_stadium_menu, "menu_finances_stadium_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_finances_stadium_menu, "menu_finances_stadium_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_show_finances, "menu_show_finances"); GLADE_HOOKUP_OBJECT (main_window, menu_show_finances, "menu_show_finances");
GLADE_HOOKUP_OBJECT (main_window, image870, "image870"); GLADE_HOOKUP_OBJECT (main_window, image904, "image904");
GLADE_HOOKUP_OBJECT (main_window, menu_show_stadium, "menu_show_stadium"); GLADE_HOOKUP_OBJECT (main_window, menu_show_stadium, "menu_show_stadium");
GLADE_HOOKUP_OBJECT (main_window, image871, "image871"); GLADE_HOOKUP_OBJECT (main_window, image905, "image905");
GLADE_HOOKUP_OBJECT (main_window, menu_help1, "menu_help1"); GLADE_HOOKUP_OBJECT (main_window, menu_help1, "menu_help1");
GLADE_HOOKUP_OBJECT (main_window, menu_help1_menu, "menu_help1_menu"); GLADE_HOOKUP_OBJECT (main_window, menu_help1_menu, "menu_help1_menu");
GLADE_HOOKUP_OBJECT (main_window, menu_about, "menu_about"); GLADE_HOOKUP_OBJECT (main_window, menu_about, "menu_about");
GLADE_HOOKUP_OBJECT (main_window, image872, "image872"); GLADE_HOOKUP_OBJECT (main_window, image906, "image906");
GLADE_HOOKUP_OBJECT (main_window, menu_contributors, "menu_contributors"); GLADE_HOOKUP_OBJECT (main_window, menu_contributors, "menu_contributors");
GLADE_HOOKUP_OBJECT (main_window, image873, "image873"); GLADE_HOOKUP_OBJECT (main_window, image907, "image907");
GLADE_HOOKUP_OBJECT (main_window, menu_help, "menu_help"); GLADE_HOOKUP_OBJECT (main_window, menu_help, "menu_help");
GLADE_HOOKUP_OBJECT (main_window, image874, "image874"); GLADE_HOOKUP_OBJECT (main_window, image908, "image908");
GLADE_HOOKUP_OBJECT (main_window, hbox1, "hbox1"); GLADE_HOOKUP_OBJECT (main_window, hbox1, "hbox1");
GLADE_HOOKUP_OBJECT (main_window, button_load, "button_load"); GLADE_HOOKUP_OBJECT (main_window, button_load, "button_load");
GLADE_HOOKUP_OBJECT (main_window, image11, "image11"); GLADE_HOOKUP_OBJECT (main_window, image11, "image11");
@ -1538,8 +1547,6 @@ create_main_window (void)
GLADE_HOOKUP_OBJECT (main_window, image20, "image20"); GLADE_HOOKUP_OBJECT (main_window, image20, "image20");
GLADE_HOOKUP_OBJECT (main_window, button_transfers, "button_transfers"); GLADE_HOOKUP_OBJECT (main_window, button_transfers, "button_transfers");
GLADE_HOOKUP_OBJECT (main_window, image32, "image32"); GLADE_HOOKUP_OBJECT (main_window, image32, "image32");
GLADE_HOOKUP_OBJECT (main_window, button_preview, "button_preview");
GLADE_HOOKUP_OBJECT (main_window, image36, "image36");
GLADE_HOOKUP_OBJECT (main_window, vseparator16, "vseparator16"); GLADE_HOOKUP_OBJECT (main_window, vseparator16, "vseparator16");
GLADE_HOOKUP_OBJECT (main_window, button_new_week, "button_new_week"); GLADE_HOOKUP_OBJECT (main_window, button_new_week, "button_new_week");
GLADE_HOOKUP_OBJECT (main_window, image23, "image23"); GLADE_HOOKUP_OBJECT (main_window, image23, "image23");

View File

@ -2245,16 +2245,16 @@ GtkTreeModel*
treeview_create_league_list(void) treeview_create_league_list(void)
{ {
gint i; gint i;
GtkListStore *ls = gtk_list_store_new(2, G_TYPE_INT, G_TYPE_STRING); GtkListStore *ls = gtk_list_store_new(1, G_TYPE_STRING);
GtkTreeIter iter; GtkTreeIter iter;
gtk_list_store_append(ls, &iter); gtk_list_store_append(ls, &iter);
gtk_list_store_set(ls, &iter, 0, 0, 1, _("Current league"), -1); gtk_list_store_set(ls, &iter, 0, _("Current league"), -1);
for(i=0;i<ligs->len;i++) for(i=0;i<ligs->len;i++)
{ {
gtk_list_store_append(ls, &iter); gtk_list_store_append(ls, &iter);
gtk_list_store_set(ls, &iter, 0, i + 1, 1, lig(i).name->str, -1); gtk_list_store_set(ls, &iter, 0, lig(i).name->str, -1);
} }
return GTK_TREE_MODEL(ls); return GTK_TREE_MODEL(ls);
@ -2274,7 +2274,7 @@ treeview_show_leagues_combo(void)
g_object_unref(model); g_object_unref(model);
if(gtk_combo_box_entry_get_text_column(GTK_COMBO_BOX_ENTRY(combo_leagues)) == -1) if(gtk_combo_box_entry_get_text_column(GTK_COMBO_BOX_ENTRY(combo_leagues)) == -1)
gtk_combo_box_entry_set_text_column(GTK_COMBO_BOX_ENTRY(combo_leagues), 1); gtk_combo_box_entry_set_text_column(GTK_COMBO_BOX_ENTRY(combo_leagues), 0);
gtk_cell_layout_clear(GTK_CELL_LAYOUT(combo_leagues)); gtk_cell_layout_clear(GTK_CELL_LAYOUT(combo_leagues));
@ -2282,9 +2282,5 @@ treeview_show_leagues_combo(void)
gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combo_leagues), renderer, FALSE); gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combo_leagues), renderer, FALSE);
gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo_leagues), renderer, "text", 0, NULL); gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo_leagues), renderer, "text", 0, NULL);
renderer = treeview_helper_cell_renderer_text_new();
gtk_cell_layout_pack_start(GTK_CELL_LAYOUT(combo_leagues), renderer, TRUE);
gtk_cell_layout_set_attributes(GTK_CELL_LAYOUT(combo_leagues), renderer, "text", 1, NULL);
gtk_combo_box_set_active(GTK_COMBO_BOX(combo_leagues), 0); gtk_combo_box_set_active(GTK_COMBO_BOX(combo_leagues), 0);
} }