mirror of
https://github.com/tstellar/bygfoot.git
synced 2025-01-28 14:39:22 +01:00
"MM improvements."
This commit is contained in:
parent
ee104567bd
commit
a4c840f972
117
bygfoot.glade
117
bygfoot.glade
@ -68,7 +68,7 @@
|
||||
<accelerator key="l" modifiers="GDK_CONTROL_MASK | GDK_SHIFT_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1728">
|
||||
<widget class="GtkImage" id="image1800">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-revert-to-saved</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -136,7 +136,7 @@
|
||||
<accelerator key="p" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1729">
|
||||
<widget class="GtkImage" id="image1801">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-preferences</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -207,7 +207,7 @@
|
||||
<accelerator key="F3" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1730">
|
||||
<widget class="GtkImage" id="image1802">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_fixtures.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -228,7 +228,7 @@
|
||||
<accelerator key="F4" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1731">
|
||||
<widget class="GtkImage" id="image1803">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_fixtures_comp.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -249,7 +249,7 @@
|
||||
<accelerator key="F5" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1732">
|
||||
<widget class="GtkImage" id="image1804">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_table.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -270,7 +270,7 @@
|
||||
<accelerator key="F6" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1733">
|
||||
<widget class="GtkImage" id="image1805">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_league_results.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -297,7 +297,7 @@
|
||||
<accelerator key="s" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1734">
|
||||
<widget class="GtkImage" id="image1806">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_league_stats.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -318,7 +318,7 @@
|
||||
<accelerator key="h" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1735">
|
||||
<widget class="GtkImage" id="image1807">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_history.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -350,7 +350,7 @@
|
||||
<property name="use_underline">True</property>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1736">
|
||||
<widget class="GtkImage" id="image1808">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_style.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -368,7 +368,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">All Out Defend</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:16:56 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
@ -378,7 +378,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Defend</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_all_out_defend</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:17:07 GMT"/>
|
||||
</widget>
|
||||
@ -389,7 +389,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Balanced</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_all_out_defend</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:17:14 GMT"/>
|
||||
</widget>
|
||||
@ -400,7 +400,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Attack</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_all_out_defend</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:17:20 GMT"/>
|
||||
</widget>
|
||||
@ -428,7 +428,7 @@
|
||||
<property name="use_underline">True</property>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1737">
|
||||
<widget class="GtkImage" id="image1809">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_scout.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -446,7 +446,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Best</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:15:47 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
@ -456,7 +456,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Good</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_scout_best</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:15:35 GMT"/>
|
||||
</widget>
|
||||
@ -467,7 +467,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Average</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_scout_best</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:15:54 GMT"/>
|
||||
</widget>
|
||||
@ -495,7 +495,7 @@
|
||||
<property name="use_underline">True</property>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1738">
|
||||
<widget class="GtkImage" id="image1810">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_physio.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -513,7 +513,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Best</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:16:14 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
@ -523,7 +523,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Good</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_physio_best</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:16:21 GMT"/>
|
||||
</widget>
|
||||
@ -534,7 +534,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Average</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_physio_best</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Mon, 28 Feb 2005 08:16:28 GMT"/>
|
||||
</widget>
|
||||
@ -588,7 +588,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Best</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 07 Jul 2005 14:50:03 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
@ -598,7 +598,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Good</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_yc_best</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 07 Jul 2005 14:50:03 GMT"/>
|
||||
</widget>
|
||||
@ -609,7 +609,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Average</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_yc_best</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 07 Jul 2005 14:50:03 GMT"/>
|
||||
</widget>
|
||||
@ -644,7 +644,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Goalies</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 14 Jul 2005 07:26:30 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
@ -654,7 +654,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Defenders</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_recruit0</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 14 Jul 2005 07:29:19 GMT"/>
|
||||
</widget>
|
||||
@ -665,7 +665,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Midfielders</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_recruit0</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 14 Jul 2005 07:29:14 GMT"/>
|
||||
</widget>
|
||||
@ -676,7 +676,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Forwards</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_recruit0</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Thu, 14 Jul 2005 07:29:09 GMT"/>
|
||||
</widget>
|
||||
@ -718,7 +718,7 @@
|
||||
<property name="use_underline">True</property>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1739">
|
||||
<widget class="GtkImage" id="image1811">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_boost.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -736,7 +736,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">On</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Tue, 08 Mar 2005 16:37:57 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
@ -746,7 +746,7 @@
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Off</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="active">True</property>
|
||||
<property name="active">False</property>
|
||||
<property name="group">menu_boost_on</property>
|
||||
<signal name="button_release_event" handler="on_menu_team_button_release_event" last_modification_time="Tue, 08 Mar 2005 16:37:48 GMT"/>
|
||||
</widget>
|
||||
@ -781,7 +781,7 @@
|
||||
<signal name="activate" handler="on_menu_reset_players_activate" last_modification_time="Tue, 26 Apr 2005 13:16:39 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1740">
|
||||
<widget class="GtkImage" id="image1812">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-undo</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -802,7 +802,7 @@
|
||||
<signal name="activate" handler="on_menu_custom_structure_activate" last_modification_time="Sat, 26 Feb 2005 12:46:30 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1741">
|
||||
<widget class="GtkImage" id="image1813">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_structure.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -824,7 +824,7 @@
|
||||
<accelerator key="r" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1742">
|
||||
<widget class="GtkImage" id="image1814">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_rearrange.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -850,7 +850,7 @@
|
||||
<signal name="activate" handler="on_menu_browse_teams_activate" last_modification_time="Mon, 03 Jan 2005 16:58:58 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1743">
|
||||
<widget class="GtkImage" id="image1815">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_browse_tms.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -883,7 +883,7 @@
|
||||
<signal name="activate" handler="on_menu_show_info_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1744">
|
||||
<widget class="GtkImage" id="image1816">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_info.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -903,7 +903,7 @@
|
||||
<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">
|
||||
<widget class="GtkImage" id="image1745">
|
||||
<widget class="GtkImage" id="image1817">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_put_transfer.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -923,7 +923,7 @@
|
||||
<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">
|
||||
<widget class="GtkImage" id="image1746">
|
||||
<widget class="GtkImage" id="image1818">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_remove_transfer.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -943,7 +943,7 @@
|
||||
<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">
|
||||
<widget class="GtkImage" id="image1747">
|
||||
<widget class="GtkImage" id="image1819">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_contract.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -963,7 +963,7 @@
|
||||
<signal name="activate" handler="on_menu_fire_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1748">
|
||||
<widget class="GtkImage" id="image1820">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_fire.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -983,7 +983,7 @@
|
||||
<signal name="activate" handler="on_menu_shoots_penalties_activate" last_modification_time="Sun, 02 Jan 2005 15:42:09 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1749">
|
||||
<widget class="GtkImage" id="image1821">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_shoots.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1018,7 +1018,7 @@
|
||||
<signal name="activate" handler="on_menu_browse_players_activate" last_modification_time="Sat, 26 Mar 2005 09:42:31 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1750">
|
||||
<widget class="GtkImage" id="image1822">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_player_browse.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1049,10 +1049,10 @@
|
||||
<property name="label" translatable="yes">Show last match</property>
|
||||
<property name="use_underline">True</property>
|
||||
<signal name="activate" handler="on_menu_user_show_last_match_activate" last_modification_time="Fri, 11 Mar 2005 15:22:26 GMT"/>
|
||||
<accelerator key="m" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
<accelerator key="v" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1751">
|
||||
<widget class="GtkImage" id="image1823">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_last_match.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1073,7 +1073,7 @@
|
||||
<accelerator key="F2" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1752">
|
||||
<widget class="GtkImage" id="image1824">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_match_stats.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1091,9 +1091,10 @@
|
||||
<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"/>
|
||||
<accelerator key="F1" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1753">
|
||||
<widget class="GtkImage" id="image1825">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-jump-to</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1122,9 +1123,10 @@
|
||||
<property name="label" translatable="yes">Add last match</property>
|
||||
<property name="use_underline">True</property>
|
||||
<signal name="activate" handler="on_mm_add_last_match_activate" last_modification_time="Fri, 19 Aug 2005 10:25:28 GMT"/>
|
||||
<accelerator key="a" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1754">
|
||||
<widget class="GtkImage" id="image1826">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-add</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1144,9 +1146,10 @@
|
||||
<property name="label" translatable="yes">Manage matches</property>
|
||||
<property name="use_underline">True</property>
|
||||
<signal name="activate" handler="on_mm_manage_matches_activate" last_modification_time="Fri, 19 Aug 2005 10:25:28 GMT"/>
|
||||
<accelerator key="m" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1755">
|
||||
<widget class="GtkImage" id="image1827">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-preferences</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1178,7 +1181,7 @@
|
||||
<accelerator key="h" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1756">
|
||||
<widget class="GtkImage" id="image1828">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_history.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1205,7 +1208,7 @@
|
||||
<accelerator key="F9" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1757">
|
||||
<widget class="GtkImage" id="image1829">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-media-forward</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1227,7 +1230,7 @@
|
||||
<accelerator key="F8" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1758">
|
||||
<widget class="GtkImage" id="image1830">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-go-back</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1249,7 +1252,7 @@
|
||||
<accelerator key="F12" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1759">
|
||||
<widget class="GtkImage" id="image1831">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-justify-fill</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1284,7 +1287,7 @@
|
||||
<accelerator key="f" modifiers="0" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1760">
|
||||
<widget class="GtkImage" id="image1832">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_finances.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1305,7 +1308,7 @@
|
||||
<accelerator key="f" modifiers="GDK_CONTROL_MASK" signal="activate"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1761">
|
||||
<widget class="GtkImage" id="image1833">
|
||||
<property name="visible">True</property>
|
||||
<property name="pixbuf">menu_stadium.png</property>
|
||||
<property name="xalign">0.5</property>
|
||||
@ -1338,7 +1341,7 @@
|
||||
<signal name="activate" handler="on_menu_about_activate" last_modification_time="Sun, 18 Jan 2004 15:58:22 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1762">
|
||||
<widget class="GtkImage" id="image1834">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-dialog-info</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1359,7 +1362,7 @@
|
||||
<signal name="activate" handler="on_menu_contributors_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1763">
|
||||
<widget class="GtkImage" id="image1835">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-add</property>
|
||||
<property name="icon_size">1</property>
|
||||
@ -1380,7 +1383,7 @@
|
||||
<signal name="activate" handler="on_menu_help_activate" last_modification_time="Sun, 22 May 2005 06:42:11 GMT"/>
|
||||
|
||||
<child internal-child="image">
|
||||
<widget class="GtkImage" id="image1764">
|
||||
<widget class="GtkImage" id="image1836">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-help</property>
|
||||
<property name="icon_size">1</property>
|
||||
|
@ -2329,7 +2329,7 @@
|
||||
<property name="type">GTK_WINDOW_TOPLEVEL</property>
|
||||
<property name="window_position">GTK_WIN_POS_CENTER</property>
|
||||
<property name="modal">False</property>
|
||||
<property name="default_width">550</property>
|
||||
<property name="default_width">600</property>
|
||||
<property name="default_height">500</property>
|
||||
<property name="resizable">True</property>
|
||||
<property name="destroy_with_parent">False</property>
|
||||
@ -2485,123 +2485,6 @@
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkScrolledWindow" id="scrolledwindow5">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="hscrollbar_policy">GTK_POLICY_ALWAYS</property>
|
||||
<property name="vscrollbar_policy">GTK_POLICY_ALWAYS</property>
|
||||
<property name="shadow_type">GTK_SHADOW_IN</property>
|
||||
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTreeView" id="treeview_mmatches">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="headers_visible">True</property>
|
||||
<property name="rules_hint">False</property>
|
||||
<property name="reorderable">False</property>
|
||||
<property name="enable_search">False</property>
|
||||
<signal name="button_press_event" handler="on_treeview_mmatches_button_press_event" last_modification_time="Fri, 19 Aug 2005 10:49:54 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox36">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">3</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="button_mm_add">
|
||||
<property name="visible">True</property>
|
||||
<property name="tooltip" translatable="yes">Add last match to the list; you still have to save to file if you want to store the match permanently</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_mm_add_clicked" last_modification_time="Fri, 19 Aug 2005 18:55:34 GMT"/>
|
||||
|
||||
<child>
|
||||
<widget class="GtkAlignment" id="alignment12">
|
||||
<property name="visible">True</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xscale">0</property>
|
||||
<property name="yscale">0</property>
|
||||
<property name="top_padding">0</property>
|
||||
<property name="bottom_padding">0</property>
|
||||
<property name="left_padding">0</property>
|
||||
<property name="right_padding">0</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkHBox" id="hbox32">
|
||||
<property name="visible">True</property>
|
||||
<property name="homogeneous">False</property>
|
||||
<property name="spacing">2</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkImage" id="image19">
|
||||
<property name="visible">True</property>
|
||||
<property name="stock">gtk-add</property>
|
||||
<property name="icon_size">4</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkLabel" id="label59">
|
||||
<property name="visible">True</property>
|
||||
<property name="label" translatable="yes">Add last match</property>
|
||||
<property name="use_underline">True</property>
|
||||
<property name="use_markup">False</property>
|
||||
<property name="justify">GTK_JUSTIFY_LEFT</property>
|
||||
<property name="wrap">False</property>
|
||||
<property name="selectable">False</property>
|
||||
<property name="xalign">0.5</property>
|
||||
<property name="yalign">0.5</property>
|
||||
<property name="xpad">0</property>
|
||||
<property name="ypad">0</property>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkButton" id="button_mm_import">
|
||||
@ -2674,15 +2557,43 @@
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
</packing>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">False</property>
|
||||
<property name="fill">False</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<widget class="GtkScrolledWindow" id="scrolledwindow5">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="hscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||
<property name="vscrollbar_policy">GTK_POLICY_AUTOMATIC</property>
|
||||
<property name="shadow_type">GTK_SHADOW_IN</property>
|
||||
<property name="window_placement">GTK_CORNER_TOP_LEFT</property>
|
||||
|
||||
<child>
|
||||
<widget class="GtkTreeView" id="treeview_mmatches">
|
||||
<property name="visible">True</property>
|
||||
<property name="can_focus">True</property>
|
||||
<property name="headers_visible">True</property>
|
||||
<property name="rules_hint">False</property>
|
||||
<property name="reorderable">False</property>
|
||||
<property name="enable_search">False</property>
|
||||
<signal name="button_press_event" handler="on_treeview_mmatches_button_press_event" last_modification_time="Fri, 19 Aug 2005 10:49:54 GMT"/>
|
||||
</widget>
|
||||
</child>
|
||||
</widget>
|
||||
<packing>
|
||||
<property name="padding">0</property>
|
||||
<property name="expand">True</property>
|
||||
<property name="fill">True</property>
|
||||
</packing>
|
||||
</child>
|
||||
|
||||
|
400
src/interface.c
400
src/interface.c
@ -38,7 +38,7 @@ create_main_window (void)
|
||||
GtkWidget *menu_new;
|
||||
GtkWidget *menu_open;
|
||||
GtkWidget *menu_load_last_save;
|
||||
GtkWidget *image1728;
|
||||
GtkWidget *image1800;
|
||||
GtkWidget *menu_save;
|
||||
GtkWidget *menu_save_as;
|
||||
GtkWidget *trennlinie1;
|
||||
@ -46,7 +46,7 @@ create_main_window (void)
|
||||
GtkWidget *menu_options;
|
||||
GtkWidget *menu_options_menu;
|
||||
GtkWidget *menu_preferences;
|
||||
GtkWidget *image1729;
|
||||
GtkWidget *image1801;
|
||||
GtkWidget *trennlinie7;
|
||||
GtkWidget *menu_job_offers;
|
||||
GtkWidget *menu_live_game;
|
||||
@ -54,22 +54,22 @@ create_main_window (void)
|
||||
GtkWidget *menu_figures;
|
||||
GtkWidget *menu_figures_menu;
|
||||
GtkWidget *menu_fixtures_week;
|
||||
GtkWidget *image1730;
|
||||
GtkWidget *image1802;
|
||||
GtkWidget *menu_fixtures;
|
||||
GtkWidget *image1731;
|
||||
GtkWidget *image1803;
|
||||
GtkWidget *menu_tables;
|
||||
GtkWidget *image1732;
|
||||
GtkWidget *image1804;
|
||||
GtkWidget *menu_my_league_results;
|
||||
GtkWidget *image1733;
|
||||
GtkWidget *image1805;
|
||||
GtkWidget *trennlinie13;
|
||||
GtkWidget *menu_league_stats;
|
||||
GtkWidget *image1734;
|
||||
GtkWidget *image1806;
|
||||
GtkWidget *menu_season_history;
|
||||
GtkWidget *image1735;
|
||||
GtkWidget *image1807;
|
||||
GtkWidget *menu_team;
|
||||
GtkWidget *menu_team_menu;
|
||||
GtkWidget *menu_playing_style;
|
||||
GtkWidget *image1736;
|
||||
GtkWidget *image1808;
|
||||
GtkWidget *menu_playing_style_menu;
|
||||
GSList *menu_all_out_defend_group = NULL;
|
||||
GtkWidget *menu_all_out_defend;
|
||||
@ -78,7 +78,7 @@ create_main_window (void)
|
||||
GtkWidget *menu_attack;
|
||||
GtkWidget *menu_all_out_attack;
|
||||
GtkWidget *menu_scout;
|
||||
GtkWidget *image1737;
|
||||
GtkWidget *image1809;
|
||||
GtkWidget *menu_scout_menu;
|
||||
GSList *menu_scout_best_group = NULL;
|
||||
GtkWidget *menu_scout_best;
|
||||
@ -86,7 +86,7 @@ create_main_window (void)
|
||||
GtkWidget *menu_scout_average;
|
||||
GtkWidget *menu_scout_bad;
|
||||
GtkWidget *menu_physio;
|
||||
GtkWidget *image1738;
|
||||
GtkWidget *image1810;
|
||||
GtkWidget *menu_physio_menu;
|
||||
GSList *menu_physio_best_group = NULL;
|
||||
GtkWidget *menu_physio_best;
|
||||
@ -113,7 +113,7 @@ create_main_window (void)
|
||||
GtkWidget *menu_recruit4;
|
||||
GtkWidget *menu_set_investment;
|
||||
GtkWidget *menu_boost;
|
||||
GtkWidget *image1739;
|
||||
GtkWidget *image1811;
|
||||
GtkWidget *menu_boost_menu;
|
||||
GSList *menu_boost_on_group = NULL;
|
||||
GtkWidget *menu_boost_on;
|
||||
@ -121,70 +121,70 @@ create_main_window (void)
|
||||
GtkWidget *menu_boost_anti;
|
||||
GtkWidget *trennlinie11;
|
||||
GtkWidget *menu_reset_players;
|
||||
GtkWidget *image1740;
|
||||
GtkWidget *image1812;
|
||||
GtkWidget *menu_custom_structure;
|
||||
GtkWidget *image1741;
|
||||
GtkWidget *image1813;
|
||||
GtkWidget *menu_rearrange_team;
|
||||
GtkWidget *image1742;
|
||||
GtkWidget *image1814;
|
||||
GtkWidget *trennlinie8;
|
||||
GtkWidget *menu_browse_teams;
|
||||
GtkWidget *image1743;
|
||||
GtkWidget *image1815;
|
||||
GtkWidget *menu_player;
|
||||
GtkWidget *menu_player_menu;
|
||||
GtkWidget *menu_show_info;
|
||||
GtkWidget *image1744;
|
||||
GtkWidget *image1816;
|
||||
GtkWidget *menu_put_on_transfer_list;
|
||||
GtkWidget *image1745;
|
||||
GtkWidget *image1817;
|
||||
GtkWidget *menu_remove_from_transfer_list;
|
||||
GtkWidget *image1746;
|
||||
GtkWidget *image1818;
|
||||
GtkWidget *menu_offer_new_contract;
|
||||
GtkWidget *image1747;
|
||||
GtkWidget *image1819;
|
||||
GtkWidget *menu_fire;
|
||||
GtkWidget *image1748;
|
||||
GtkWidget *image1820;
|
||||
GtkWidget *menu_shoots_penalties;
|
||||
GtkWidget *image1749;
|
||||
GtkWidget *image1821;
|
||||
GtkWidget *menu_move_to_youth_academy;
|
||||
GtkWidget *trennlinie10;
|
||||
GtkWidget *menu_browse_players;
|
||||
GtkWidget *image1750;
|
||||
GtkWidget *image1822;
|
||||
GtkWidget *menu_user;
|
||||
GtkWidget *menu_user_menu;
|
||||
GtkWidget *menu_user_show_last_match;
|
||||
GtkWidget *image1751;
|
||||
GtkWidget *image1823;
|
||||
GtkWidget *menu_user_show_last_stats;
|
||||
GtkWidget *image1752;
|
||||
GtkWidget *image1824;
|
||||
GtkWidget *menu_user_show_coming_matches;
|
||||
GtkWidget *image1753;
|
||||
GtkWidget *image1825;
|
||||
GtkWidget *memorable_matches;
|
||||
GtkWidget *memorable_matches_menu;
|
||||
GtkWidget *mm_add_last_match;
|
||||
GtkWidget *image1754;
|
||||
GtkWidget *image1826;
|
||||
GtkWidget *mm_manage_matches;
|
||||
GtkWidget *image1755;
|
||||
GtkWidget *image1827;
|
||||
GtkWidget *trennlinie12;
|
||||
GtkWidget *menu_user_show_history;
|
||||
GtkWidget *image1756;
|
||||
GtkWidget *image1828;
|
||||
GtkWidget *trennlinie9;
|
||||
GtkWidget *menu_next_user;
|
||||
GtkWidget *image1757;
|
||||
GtkWidget *image1829;
|
||||
GtkWidget *menu_previous_user;
|
||||
GtkWidget *image1758;
|
||||
GtkWidget *image1830;
|
||||
GtkWidget *menu_manage_users;
|
||||
GtkWidget *image1759;
|
||||
GtkWidget *image1831;
|
||||
GtkWidget *menu_finances_stadium;
|
||||
GtkWidget *menu_finances_stadium_menu;
|
||||
GtkWidget *menu_show_finances;
|
||||
GtkWidget *image1760;
|
||||
GtkWidget *image1832;
|
||||
GtkWidget *menu_show_stadium;
|
||||
GtkWidget *image1761;
|
||||
GtkWidget *image1833;
|
||||
GtkWidget *menu_help1;
|
||||
GtkWidget *menu_help1_menu;
|
||||
GtkWidget *menu_about;
|
||||
GtkWidget *image1762;
|
||||
GtkWidget *image1834;
|
||||
GtkWidget *menu_contributors;
|
||||
GtkWidget *image1763;
|
||||
GtkWidget *image1835;
|
||||
GtkWidget *menu_help;
|
||||
GtkWidget *image1764;
|
||||
GtkWidget *image1836;
|
||||
GtkWidget *hbox1;
|
||||
GtkWidget *button_load;
|
||||
GtkWidget *image11;
|
||||
@ -305,9 +305,9 @@ create_main_window (void)
|
||||
GDK_l, GDK_CONTROL_MASK | GDK_SHIFT_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1728 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1728);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_load_last_save), image1728);
|
||||
image1800 = gtk_image_new_from_stock ("gtk-revert-to-saved", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1800);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_load_last_save), image1800);
|
||||
|
||||
menu_save = gtk_image_menu_item_new_from_stock ("gtk-save", accel_group);
|
||||
gtk_widget_show (menu_save);
|
||||
@ -340,9 +340,9 @@ create_main_window (void)
|
||||
GDK_p, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1729 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1729);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_preferences), image1729);
|
||||
image1801 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1801);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_preferences), image1801);
|
||||
|
||||
trennlinie7 = gtk_separator_menu_item_new ();
|
||||
gtk_widget_show (trennlinie7);
|
||||
@ -377,9 +377,9 @@ create_main_window (void)
|
||||
GDK_F3, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1730 = create_pixmap (main_window, "menu_fixtures.png");
|
||||
gtk_widget_show (image1730);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures_week), image1730);
|
||||
image1802 = create_pixmap (main_window, "menu_fixtures.png");
|
||||
gtk_widget_show (image1802);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures_week), image1802);
|
||||
|
||||
menu_fixtures = gtk_image_menu_item_new_with_mnemonic (_("Fixtures (competitions)"));
|
||||
gtk_widget_show (menu_fixtures);
|
||||
@ -388,9 +388,9 @@ create_main_window (void)
|
||||
GDK_F4, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1731 = create_pixmap (main_window, "menu_fixtures_comp.png");
|
||||
gtk_widget_show (image1731);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures), image1731);
|
||||
image1803 = create_pixmap (main_window, "menu_fixtures_comp.png");
|
||||
gtk_widget_show (image1803);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fixtures), image1803);
|
||||
|
||||
menu_tables = gtk_image_menu_item_new_with_mnemonic (_("Tables"));
|
||||
gtk_widget_show (menu_tables);
|
||||
@ -399,9 +399,9 @@ create_main_window (void)
|
||||
GDK_F5, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1732 = create_pixmap (main_window, "menu_table.png");
|
||||
gtk_widget_show (image1732);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_tables), image1732);
|
||||
image1804 = create_pixmap (main_window, "menu_table.png");
|
||||
gtk_widget_show (image1804);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_tables), image1804);
|
||||
|
||||
menu_my_league_results = gtk_image_menu_item_new_with_mnemonic (_("My league results"));
|
||||
gtk_widget_show (menu_my_league_results);
|
||||
@ -410,9 +410,9 @@ create_main_window (void)
|
||||
GDK_F6, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1733 = create_pixmap (main_window, "menu_league_results.png");
|
||||
gtk_widget_show (image1733);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_my_league_results), image1733);
|
||||
image1805 = create_pixmap (main_window, "menu_league_results.png");
|
||||
gtk_widget_show (image1805);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_my_league_results), image1805);
|
||||
|
||||
trennlinie13 = gtk_separator_menu_item_new ();
|
||||
gtk_widget_show (trennlinie13);
|
||||
@ -426,9 +426,9 @@ create_main_window (void)
|
||||
GDK_s, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1734 = create_pixmap (main_window, "menu_league_stats.png");
|
||||
gtk_widget_show (image1734);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_league_stats), image1734);
|
||||
image1806 = create_pixmap (main_window, "menu_league_stats.png");
|
||||
gtk_widget_show (image1806);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_league_stats), image1806);
|
||||
|
||||
menu_season_history = gtk_image_menu_item_new_with_mnemonic (_("Season history"));
|
||||
gtk_widget_show (menu_season_history);
|
||||
@ -437,9 +437,9 @@ create_main_window (void)
|
||||
GDK_h, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1735 = create_pixmap (main_window, "menu_history.png");
|
||||
gtk_widget_show (image1735);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_season_history), image1735);
|
||||
image1807 = create_pixmap (main_window, "menu_history.png");
|
||||
gtk_widget_show (image1807);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_season_history), image1807);
|
||||
|
||||
menu_team = gtk_menu_item_new_with_mnemonic (_("_Team"));
|
||||
gtk_widget_show (menu_team);
|
||||
@ -452,9 +452,9 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_playing_style);
|
||||
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_playing_style);
|
||||
|
||||
image1736 = create_pixmap (main_window, "menu_style.png");
|
||||
gtk_widget_show (image1736);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_playing_style), image1736);
|
||||
image1808 = create_pixmap (main_window, "menu_style.png");
|
||||
gtk_widget_show (image1808);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_playing_style), image1808);
|
||||
|
||||
menu_playing_style_menu = gtk_menu_new ();
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_playing_style), menu_playing_style_menu);
|
||||
@ -463,25 +463,21 @@ create_main_window (void)
|
||||
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_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_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_defend));
|
||||
gtk_widget_show (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_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_balanced));
|
||||
gtk_widget_show (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_all_out_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_attack));
|
||||
gtk_widget_show (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_defend_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_all_out_attack));
|
||||
@ -493,9 +489,9 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_scout);
|
||||
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_scout);
|
||||
|
||||
image1737 = create_pixmap (main_window, "menu_scout.png");
|
||||
gtk_widget_show (image1737);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_scout), image1737);
|
||||
image1809 = create_pixmap (main_window, "menu_scout.png");
|
||||
gtk_widget_show (image1809);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_scout), image1809);
|
||||
|
||||
menu_scout_menu = gtk_menu_new ();
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_scout), menu_scout_menu);
|
||||
@ -504,19 +500,16 @@ create_main_window (void)
|
||||
menu_scout_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_best));
|
||||
gtk_widget_show (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_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_good));
|
||||
gtk_widget_show (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_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_average));
|
||||
gtk_widget_show (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_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_scout_bad));
|
||||
@ -528,9 +521,9 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_physio);
|
||||
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_physio);
|
||||
|
||||
image1738 = create_pixmap (main_window, "menu_physio.png");
|
||||
gtk_widget_show (image1738);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_physio), image1738);
|
||||
image1810 = create_pixmap (main_window, "menu_physio.png");
|
||||
gtk_widget_show (image1810);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_physio), image1810);
|
||||
|
||||
menu_physio_menu = gtk_menu_new ();
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_physio), menu_physio_menu);
|
||||
@ -539,19 +532,16 @@ create_main_window (void)
|
||||
menu_physio_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_best));
|
||||
gtk_widget_show (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_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_good));
|
||||
gtk_widget_show (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_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_average));
|
||||
gtk_widget_show (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_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_physio_bad));
|
||||
@ -584,19 +574,16 @@ create_main_window (void)
|
||||
menu_yc_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_yc_best));
|
||||
gtk_widget_show (menu_yc_best);
|
||||
gtk_container_add (GTK_CONTAINER (youth_coach1_menu), menu_yc_best);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_yc_best), TRUE);
|
||||
|
||||
menu_yc_good = gtk_radio_menu_item_new_with_mnemonic (menu_yc_best_group, _("Good"));
|
||||
menu_yc_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_yc_good));
|
||||
gtk_widget_show (menu_yc_good);
|
||||
gtk_container_add (GTK_CONTAINER (youth_coach1_menu), menu_yc_good);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_yc_good), TRUE);
|
||||
|
||||
menu_yc_average = gtk_radio_menu_item_new_with_mnemonic (menu_yc_best_group, _("Average"));
|
||||
menu_yc_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_yc_average));
|
||||
gtk_widget_show (menu_yc_average);
|
||||
gtk_container_add (GTK_CONTAINER (youth_coach1_menu), menu_yc_average);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_yc_average), TRUE);
|
||||
|
||||
menu_yc_bad = gtk_radio_menu_item_new_with_mnemonic (menu_yc_best_group, _("Bad"));
|
||||
menu_yc_best_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_yc_bad));
|
||||
@ -615,25 +602,21 @@ create_main_window (void)
|
||||
menu_recruit0_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_recruit0));
|
||||
gtk_widget_show (menu_recruit0);
|
||||
gtk_container_add (GTK_CONTAINER (recruiting_preference1_menu), menu_recruit0);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_recruit0), TRUE);
|
||||
|
||||
menu_recruit1 = gtk_radio_menu_item_new_with_mnemonic (menu_recruit0_group, _("Defenders"));
|
||||
menu_recruit0_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_recruit1));
|
||||
gtk_widget_show (menu_recruit1);
|
||||
gtk_container_add (GTK_CONTAINER (recruiting_preference1_menu), menu_recruit1);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_recruit1), TRUE);
|
||||
|
||||
menu_recruit2 = gtk_radio_menu_item_new_with_mnemonic (menu_recruit0_group, _("Midfielders"));
|
||||
menu_recruit0_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_recruit2));
|
||||
gtk_widget_show (menu_recruit2);
|
||||
gtk_container_add (GTK_CONTAINER (recruiting_preference1_menu), menu_recruit2);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_recruit2), TRUE);
|
||||
|
||||
menu_recruit3 = gtk_radio_menu_item_new_with_mnemonic (menu_recruit0_group, _("Forwards"));
|
||||
menu_recruit0_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_recruit3));
|
||||
gtk_widget_show (menu_recruit3);
|
||||
gtk_container_add (GTK_CONTAINER (recruiting_preference1_menu), menu_recruit3);
|
||||
gtk_check_menu_item_set_active (GTK_CHECK_MENU_ITEM (menu_recruit3), TRUE);
|
||||
|
||||
menu_recruit4 = gtk_radio_menu_item_new_with_mnemonic (menu_recruit0_group, _("Any"));
|
||||
menu_recruit0_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_recruit4));
|
||||
@ -650,9 +633,9 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_boost);
|
||||
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_boost);
|
||||
|
||||
image1739 = create_pixmap (main_window, "menu_boost.png");
|
||||
gtk_widget_show (image1739);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_boost), image1739);
|
||||
image1811 = create_pixmap (main_window, "menu_boost.png");
|
||||
gtk_widget_show (image1811);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_boost), image1811);
|
||||
|
||||
menu_boost_menu = gtk_menu_new ();
|
||||
gtk_menu_item_set_submenu (GTK_MENU_ITEM (menu_boost), menu_boost_menu);
|
||||
@ -661,13 +644,11 @@ create_main_window (void)
|
||||
menu_boost_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_on));
|
||||
gtk_widget_show (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_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_off));
|
||||
gtk_widget_show (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_on_group = gtk_radio_menu_item_get_group (GTK_RADIO_MENU_ITEM (menu_boost_anti));
|
||||
@ -684,17 +665,17 @@ create_main_window (void)
|
||||
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);
|
||||
|
||||
image1740 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1740);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reset_players), image1740);
|
||||
image1812 = gtk_image_new_from_stock ("gtk-undo", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1812);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_reset_players), image1812);
|
||||
|
||||
menu_custom_structure = gtk_image_menu_item_new_with_mnemonic (_("Enter custom structure"));
|
||||
gtk_widget_show (menu_custom_structure);
|
||||
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_custom_structure);
|
||||
|
||||
image1741 = create_pixmap (main_window, "menu_structure.png");
|
||||
gtk_widget_show (image1741);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_custom_structure), image1741);
|
||||
image1813 = create_pixmap (main_window, "menu_structure.png");
|
||||
gtk_widget_show (image1813);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_custom_structure), image1813);
|
||||
|
||||
menu_rearrange_team = gtk_image_menu_item_new_with_mnemonic (_("Rearrange team"));
|
||||
gtk_widget_show (menu_rearrange_team);
|
||||
@ -704,9 +685,9 @@ create_main_window (void)
|
||||
GDK_r, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1742 = create_pixmap (main_window, "menu_rearrange.png");
|
||||
gtk_widget_show (image1742);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_rearrange_team), image1742);
|
||||
image1814 = create_pixmap (main_window, "menu_rearrange.png");
|
||||
gtk_widget_show (image1814);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_rearrange_team), image1814);
|
||||
|
||||
trennlinie8 = gtk_separator_menu_item_new ();
|
||||
gtk_widget_show (trennlinie8);
|
||||
@ -717,9 +698,9 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_browse_teams);
|
||||
gtk_container_add (GTK_CONTAINER (menu_team_menu), menu_browse_teams);
|
||||
|
||||
image1743 = create_pixmap (main_window, "menu_browse_tms.png");
|
||||
gtk_widget_show (image1743);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_teams), image1743);
|
||||
image1815 = create_pixmap (main_window, "menu_browse_tms.png");
|
||||
gtk_widget_show (image1815);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_teams), image1815);
|
||||
|
||||
menu_player = gtk_menu_item_new_with_mnemonic (_("_Player"));
|
||||
gtk_widget_show (menu_player);
|
||||
@ -732,49 +713,49 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_show_info);
|
||||
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_show_info);
|
||||
|
||||
image1744 = create_pixmap (main_window, "menu_player_info.png");
|
||||
gtk_widget_show (image1744);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_info), image1744);
|
||||
image1816 = create_pixmap (main_window, "menu_player_info.png");
|
||||
gtk_widget_show (image1816);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_info), image1816);
|
||||
|
||||
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_container_add (GTK_CONTAINER (menu_player_menu), menu_put_on_transfer_list);
|
||||
|
||||
image1745 = create_pixmap (main_window, "menu_player_put_transfer.png");
|
||||
gtk_widget_show (image1745);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_put_on_transfer_list), image1745);
|
||||
image1817 = create_pixmap (main_window, "menu_player_put_transfer.png");
|
||||
gtk_widget_show (image1817);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_put_on_transfer_list), image1817);
|
||||
|
||||
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_container_add (GTK_CONTAINER (menu_player_menu), menu_remove_from_transfer_list);
|
||||
|
||||
image1746 = create_pixmap (main_window, "menu_player_remove_transfer.png");
|
||||
gtk_widget_show (image1746);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_remove_from_transfer_list), image1746);
|
||||
image1818 = create_pixmap (main_window, "menu_player_remove_transfer.png");
|
||||
gtk_widget_show (image1818);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_remove_from_transfer_list), image1818);
|
||||
|
||||
menu_offer_new_contract = gtk_image_menu_item_new_with_mnemonic (_("Offer new contract"));
|
||||
gtk_widget_show (menu_offer_new_contract);
|
||||
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_offer_new_contract);
|
||||
|
||||
image1747 = create_pixmap (main_window, "menu_player_contract.png");
|
||||
gtk_widget_show (image1747);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_offer_new_contract), image1747);
|
||||
image1819 = create_pixmap (main_window, "menu_player_contract.png");
|
||||
gtk_widget_show (image1819);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_offer_new_contract), image1819);
|
||||
|
||||
menu_fire = gtk_image_menu_item_new_with_mnemonic (_("Fire"));
|
||||
gtk_widget_show (menu_fire);
|
||||
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_fire);
|
||||
|
||||
image1748 = create_pixmap (main_window, "menu_player_fire.png");
|
||||
gtk_widget_show (image1748);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fire), image1748);
|
||||
image1820 = create_pixmap (main_window, "menu_player_fire.png");
|
||||
gtk_widget_show (image1820);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_fire), image1820);
|
||||
|
||||
menu_shoots_penalties = gtk_image_menu_item_new_with_mnemonic (_("Shoots penalties"));
|
||||
gtk_widget_show (menu_shoots_penalties);
|
||||
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_shoots_penalties);
|
||||
|
||||
image1749 = create_pixmap (main_window, "menu_player_shoots.png");
|
||||
gtk_widget_show (image1749);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_shoots_penalties), image1749);
|
||||
image1821 = create_pixmap (main_window, "menu_player_shoots.png");
|
||||
gtk_widget_show (image1821);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_shoots_penalties), image1821);
|
||||
|
||||
menu_move_to_youth_academy = gtk_menu_item_new_with_mnemonic (_("Move to youth academy"));
|
||||
gtk_widget_show (menu_move_to_youth_academy);
|
||||
@ -789,9 +770,9 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_browse_players);
|
||||
gtk_container_add (GTK_CONTAINER (menu_player_menu), menu_browse_players);
|
||||
|
||||
image1750 = create_pixmap (main_window, "menu_player_browse.png");
|
||||
gtk_widget_show (image1750);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_players), image1750);
|
||||
image1822 = create_pixmap (main_window, "menu_player_browse.png");
|
||||
gtk_widget_show (image1822);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_browse_players), image1822);
|
||||
|
||||
menu_user = gtk_menu_item_new_with_mnemonic (_("_User"));
|
||||
gtk_widget_show (menu_user);
|
||||
@ -804,12 +785,12 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_user_show_last_match);
|
||||
gtk_container_add (GTK_CONTAINER (menu_user_menu), menu_user_show_last_match);
|
||||
gtk_widget_add_accelerator (menu_user_show_last_match, "activate", accel_group,
|
||||
GDK_m, GDK_CONTROL_MASK,
|
||||
GDK_v, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1751 = create_pixmap (main_window, "menu_last_match.png");
|
||||
gtk_widget_show (image1751);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_match), image1751);
|
||||
image1823 = create_pixmap (main_window, "menu_last_match.png");
|
||||
gtk_widget_show (image1823);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_match), image1823);
|
||||
|
||||
menu_user_show_last_stats = gtk_image_menu_item_new_with_mnemonic (_("Show last match stats"));
|
||||
gtk_widget_show (menu_user_show_last_stats);
|
||||
@ -818,17 +799,20 @@ create_main_window (void)
|
||||
GDK_F2, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1752 = create_pixmap (main_window, "menu_match_stats.png");
|
||||
gtk_widget_show (image1752);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_stats), image1752);
|
||||
image1824 = create_pixmap (main_window, "menu_match_stats.png");
|
||||
gtk_widget_show (image1824);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_last_stats), image1824);
|
||||
|
||||
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);
|
||||
gtk_widget_add_accelerator (menu_user_show_coming_matches, "activate", accel_group,
|
||||
GDK_F1, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1753 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1753);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_coming_matches), image1753);
|
||||
image1825 = gtk_image_new_from_stock ("gtk-jump-to", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1825);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_coming_matches), image1825);
|
||||
|
||||
memorable_matches = gtk_menu_item_new_with_mnemonic (_("Memorable matches"));
|
||||
gtk_widget_show (memorable_matches);
|
||||
@ -841,19 +825,25 @@ create_main_window (void)
|
||||
gtk_widget_show (mm_add_last_match);
|
||||
gtk_container_add (GTK_CONTAINER (memorable_matches_menu), mm_add_last_match);
|
||||
gtk_tooltips_set_tip (tooltips, mm_add_last_match, _("Add last recorded match to the current memorable matches file."), NULL);
|
||||
gtk_widget_add_accelerator (mm_add_last_match, "activate", accel_group,
|
||||
GDK_a, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1754 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1754);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_add_last_match), image1754);
|
||||
image1826 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1826);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_add_last_match), image1826);
|
||||
|
||||
mm_manage_matches = gtk_image_menu_item_new_with_mnemonic (_("Manage matches"));
|
||||
gtk_widget_show (mm_manage_matches);
|
||||
gtk_container_add (GTK_CONTAINER (memorable_matches_menu), mm_manage_matches);
|
||||
gtk_tooltips_set_tip (tooltips, mm_manage_matches, _("Play, delete or add memorable matches."), NULL);
|
||||
gtk_widget_add_accelerator (mm_manage_matches, "activate", accel_group,
|
||||
GDK_m, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1755 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1755);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_manage_matches), image1755);
|
||||
image1827 = gtk_image_new_from_stock ("gtk-preferences", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1827);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (mm_manage_matches), image1827);
|
||||
|
||||
trennlinie12 = gtk_separator_menu_item_new ();
|
||||
gtk_widget_show (trennlinie12);
|
||||
@ -867,9 +857,9 @@ create_main_window (void)
|
||||
GDK_h, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1756 = create_pixmap (main_window, "menu_history.png");
|
||||
gtk_widget_show (image1756);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_history), image1756);
|
||||
image1828 = create_pixmap (main_window, "menu_history.png");
|
||||
gtk_widget_show (image1828);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_user_show_history), image1828);
|
||||
|
||||
trennlinie9 = gtk_separator_menu_item_new ();
|
||||
gtk_widget_show (trennlinie9);
|
||||
@ -883,9 +873,9 @@ create_main_window (void)
|
||||
GDK_F9, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1757 = gtk_image_new_from_stock ("gtk-media-forward", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1757);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_next_user), image1757);
|
||||
image1829 = gtk_image_new_from_stock ("gtk-media-forward", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1829);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_next_user), image1829);
|
||||
|
||||
menu_previous_user = gtk_image_menu_item_new_with_mnemonic (_("Previous user"));
|
||||
gtk_widget_show (menu_previous_user);
|
||||
@ -894,9 +884,9 @@ create_main_window (void)
|
||||
GDK_F8, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1758 = gtk_image_new_from_stock ("gtk-go-back", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1758);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_previous_user), image1758);
|
||||
image1830 = gtk_image_new_from_stock ("gtk-go-back", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1830);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_previous_user), image1830);
|
||||
|
||||
menu_manage_users = gtk_image_menu_item_new_with_mnemonic (_("Manage users"));
|
||||
gtk_widget_show (menu_manage_users);
|
||||
@ -905,9 +895,9 @@ create_main_window (void)
|
||||
GDK_F12, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1759 = gtk_image_new_from_stock ("gtk-justify-fill", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1759);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_manage_users), image1759);
|
||||
image1831 = gtk_image_new_from_stock ("gtk-justify-fill", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1831);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_manage_users), image1831);
|
||||
|
||||
menu_finances_stadium = gtk_menu_item_new_with_mnemonic (_("Fin_Stad"));
|
||||
gtk_widget_show (menu_finances_stadium);
|
||||
@ -923,9 +913,9 @@ create_main_window (void)
|
||||
GDK_f, 0,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1760 = create_pixmap (main_window, "menu_finances.png");
|
||||
gtk_widget_show (image1760);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_finances), image1760);
|
||||
image1832 = create_pixmap (main_window, "menu_finances.png");
|
||||
gtk_widget_show (image1832);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_finances), image1832);
|
||||
|
||||
menu_show_stadium = gtk_image_menu_item_new_with_mnemonic (_("Show stadium"));
|
||||
gtk_widget_show (menu_show_stadium);
|
||||
@ -934,9 +924,9 @@ create_main_window (void)
|
||||
GDK_f, GDK_CONTROL_MASK,
|
||||
GTK_ACCEL_VISIBLE);
|
||||
|
||||
image1761 = create_pixmap (main_window, "menu_stadium.png");
|
||||
gtk_widget_show (image1761);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_stadium), image1761);
|
||||
image1833 = create_pixmap (main_window, "menu_stadium.png");
|
||||
gtk_widget_show (image1833);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_show_stadium), image1833);
|
||||
|
||||
menu_help1 = gtk_menu_item_new_with_mnemonic (_("_Help"));
|
||||
gtk_widget_show (menu_help1);
|
||||
@ -949,25 +939,25 @@ create_main_window (void)
|
||||
gtk_widget_show (menu_about);
|
||||
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_about);
|
||||
|
||||
image1762 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1762);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_about), image1762);
|
||||
image1834 = gtk_image_new_from_stock ("gtk-dialog-info", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1834);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_about), image1834);
|
||||
|
||||
menu_contributors = gtk_image_menu_item_new_with_mnemonic (_("Contributors"));
|
||||
gtk_widget_show (menu_contributors);
|
||||
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_contributors);
|
||||
|
||||
image1763 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1763);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_contributors), image1763);
|
||||
image1835 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1835);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_contributors), image1835);
|
||||
|
||||
menu_help = gtk_image_menu_item_new_with_mnemonic (_("Help"));
|
||||
gtk_widget_show (menu_help);
|
||||
gtk_container_add (GTK_CONTAINER (menu_help1_menu), menu_help);
|
||||
|
||||
image1764 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1764);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_help), image1764);
|
||||
image1836 = gtk_image_new_from_stock ("gtk-help", GTK_ICON_SIZE_MENU);
|
||||
gtk_widget_show (image1836);
|
||||
gtk_image_menu_item_set_image (GTK_IMAGE_MENU_ITEM (menu_help), image1836);
|
||||
|
||||
hbox1 = gtk_hbox_new (FALSE, 0);
|
||||
gtk_widget_show (hbox1);
|
||||
@ -1598,7 +1588,7 @@ create_main_window (void)
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_new, "menu_new");
|
||||
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, image1728, "image1728");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1800, "image1800");
|
||||
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, trennlinie1, "trennlinie1");
|
||||
@ -1606,7 +1596,7 @@ create_main_window (void)
|
||||
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_preferences, "menu_preferences");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1729, "image1729");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1801, "image1801");
|
||||
GLADE_HOOKUP_OBJECT (main_window, trennlinie7, "trennlinie7");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_job_offers, "menu_job_offers");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_live_game, "menu_live_game");
|
||||
@ -1614,22 +1604,22 @@ create_main_window (void)
|
||||
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_fixtures_week, "menu_fixtures_week");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1730, "image1730");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1802, "image1802");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_fixtures, "menu_fixtures");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1731, "image1731");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1803, "image1803");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_tables, "menu_tables");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1732, "image1732");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1804, "image1804");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_my_league_results, "menu_my_league_results");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1733, "image1733");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1805, "image1805");
|
||||
GLADE_HOOKUP_OBJECT (main_window, trennlinie13, "trennlinie13");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_league_stats, "menu_league_stats");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1734, "image1734");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1806, "image1806");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_season_history, "menu_season_history");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1735, "image1735");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1807, "image1807");
|
||||
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_playing_style, "menu_playing_style");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1736, "image1736");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1808, "image1808");
|
||||
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_defend, "menu_defend");
|
||||
@ -1637,14 +1627,14 @@ create_main_window (void)
|
||||
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_scout, "menu_scout");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1737, "image1737");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1809, "image1809");
|
||||
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_good, "menu_scout_good");
|
||||
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_physio, "menu_physio");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1738, "image1738");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1810, "image1810");
|
||||
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_good, "menu_physio_good");
|
||||
@ -1668,77 +1658,77 @@ create_main_window (void)
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_recruit4, "menu_recruit4");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_set_investment, "menu_set_investment");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_boost, "menu_boost");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1739, "image1739");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1811, "image1811");
|
||||
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_off, "menu_boost_off");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_boost_anti, "menu_boost_anti");
|
||||
GLADE_HOOKUP_OBJECT (main_window, trennlinie11, "trennlinie11");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_reset_players, "menu_reset_players");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1740, "image1740");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1812, "image1812");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_custom_structure, "menu_custom_structure");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1741, "image1741");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1813, "image1813");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_rearrange_team, "menu_rearrange_team");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1742, "image1742");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1814, "image1814");
|
||||
GLADE_HOOKUP_OBJECT (main_window, trennlinie8, "trennlinie8");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_browse_teams, "menu_browse_teams");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1743, "image1743");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1815, "image1815");
|
||||
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_show_info, "menu_show_info");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1744, "image1744");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1816, "image1816");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_put_on_transfer_list, "menu_put_on_transfer_list");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1745, "image1745");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1817, "image1817");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_remove_from_transfer_list, "menu_remove_from_transfer_list");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1746, "image1746");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1818, "image1818");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_offer_new_contract, "menu_offer_new_contract");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1747, "image1747");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1819, "image1819");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_fire, "menu_fire");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1748, "image1748");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1820, "image1820");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_shoots_penalties, "menu_shoots_penalties");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1749, "image1749");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1821, "image1821");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_move_to_youth_academy, "menu_move_to_youth_academy");
|
||||
GLADE_HOOKUP_OBJECT (main_window, trennlinie10, "trennlinie10");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_browse_players, "menu_browse_players");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1750, "image1750");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1822, "image1822");
|
||||
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_show_last_match, "menu_user_show_last_match");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1751, "image1751");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1823, "image1823");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_last_stats, "menu_user_show_last_stats");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1752, "image1752");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1824, "image1824");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_user_show_coming_matches, "menu_user_show_coming_matches");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1753, "image1753");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1825, "image1825");
|
||||
GLADE_HOOKUP_OBJECT (main_window, memorable_matches, "memorable_matches");
|
||||
GLADE_HOOKUP_OBJECT (main_window, memorable_matches_menu, "memorable_matches_menu");
|
||||
GLADE_HOOKUP_OBJECT (main_window, mm_add_last_match, "mm_add_last_match");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1754, "image1754");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1826, "image1826");
|
||||
GLADE_HOOKUP_OBJECT (main_window, mm_manage_matches, "mm_manage_matches");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1755, "image1755");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1827, "image1827");
|
||||
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, image1756, "image1756");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1828, "image1828");
|
||||
GLADE_HOOKUP_OBJECT (main_window, trennlinie9, "trennlinie9");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_next_user, "menu_next_user");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1757, "image1757");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1829, "image1829");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_previous_user, "menu_previous_user");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1758, "image1758");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1830, "image1830");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_manage_users, "menu_manage_users");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1759, "image1759");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1831, "image1831");
|
||||
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_show_finances, "menu_show_finances");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1760, "image1760");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1832, "image1832");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_show_stadium, "menu_show_stadium");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1761, "image1761");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1833, "image1833");
|
||||
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_about, "menu_about");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1762, "image1762");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1834, "image1834");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_contributors, "menu_contributors");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1763, "image1763");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1835, "image1835");
|
||||
GLADE_HOOKUP_OBJECT (main_window, menu_help, "menu_help");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1764, "image1764");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image1836, "image1836");
|
||||
GLADE_HOOKUP_OBJECT (main_window, hbox1, "hbox1");
|
||||
GLADE_HOOKUP_OBJECT (main_window, button_load, "button_load");
|
||||
GLADE_HOOKUP_OBJECT (main_window, image11, "image11");
|
||||
|
@ -1,6 +1,8 @@
|
||||
#include "callbacks.h"
|
||||
#include "callback_func.h"
|
||||
#include "file.h"
|
||||
#include "finance.h"
|
||||
#include "free.h"
|
||||
#include "game_gui.h"
|
||||
#include "maths.h"
|
||||
#include "misc2_callback_func.h"
|
||||
@ -9,6 +11,7 @@
|
||||
#include "support.h"
|
||||
#include "team.h"
|
||||
#include "treeview.h"
|
||||
#include "treeview2.h"
|
||||
#include "treeview_helper.h"
|
||||
#include "transfer.h"
|
||||
#include "user.h"
|
||||
@ -210,3 +213,49 @@ misc2_callback_add_user(void)
|
||||
|
||||
setsav0;
|
||||
}
|
||||
|
||||
/** Handle a click in the MM window treeview.
|
||||
@param widget The treeview widget.
|
||||
@param row_num The row that's been clicked on.
|
||||
@param col_num The column number. */
|
||||
void
|
||||
misc2_callback_mmatches_button_press(GtkWidget *widget, gint row_num, gint col_num)
|
||||
{
|
||||
if(row_num < current_user.mmatches->len)
|
||||
{
|
||||
if(col_num == TREEVIEW_MMATCH_COL_REPLAY)
|
||||
{
|
||||
stat1 = STATUS_SHOW_LAST_MATCH;
|
||||
stat3 = 0;
|
||||
callback_show_last_match(TRUE,
|
||||
&g_array_index(current_user.mmatches, MemMatch, row_num).lg);
|
||||
}
|
||||
else if(col_num == TREEVIEW_MMATCH_COL_REMOVE)
|
||||
{
|
||||
gtk_widget_hide(widget);
|
||||
free_g_string(&g_array_index(current_user.mmatches, MemMatch, row_num).competition_name);
|
||||
free_g_string(&g_array_index(current_user.mmatches, MemMatch, row_num).country_name);
|
||||
free_live_game(&g_array_index(current_user.mmatches, MemMatch, row_num).lg);
|
||||
g_array_remove_index(current_user.mmatches, row_num);
|
||||
treeview2_show_mmatches();
|
||||
gtk_widget_show(widget);
|
||||
}
|
||||
else if(col_num == TREEVIEW_MMATCH_COL_EXPORT)
|
||||
{
|
||||
stat5 = STATUS_SELECT_MM_FILE_EXPORT;
|
||||
stat4 = row_num;
|
||||
window_show_file_sel();
|
||||
}
|
||||
}
|
||||
else if(row_num == current_user.mmatches->len && col_num == 1)
|
||||
{
|
||||
if(current_user.live_game.units->len == 0)
|
||||
{
|
||||
game_gui_show_warning(_("No match stored."));
|
||||
return;
|
||||
}
|
||||
|
||||
user_mm_add_last_match(FALSE, FALSE);
|
||||
treeview2_show_mmatches();
|
||||
}
|
||||
}
|
||||
|
@ -18,5 +18,8 @@ misc2_callback_contract_offer(void);
|
||||
void
|
||||
misc2_callback_add_user(void);
|
||||
|
||||
void
|
||||
misc2_callback_mmatches_button_press(GtkWidget *widget, gint row_num, gint col_num);
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -510,29 +510,7 @@ on_treeview_mmatches_button_press_event (GtkWidget *widget,
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
if(col_num == TREEVIEW_MMATCH_COL_REPLAY)
|
||||
{
|
||||
stat1 = STATUS_SHOW_LAST_MATCH;
|
||||
stat3 = 0;
|
||||
callback_show_last_match(TRUE,
|
||||
&g_array_index(current_user.mmatches, MemMatch, mmidx).lg);
|
||||
}
|
||||
else if(col_num == TREEVIEW_MMATCH_COL_REMOVE)
|
||||
{
|
||||
gtk_widget_hide(widget);
|
||||
free_g_string(&g_array_index(current_user.mmatches, MemMatch, mmidx).competition_name);
|
||||
free_g_string(&g_array_index(current_user.mmatches, MemMatch, mmidx).country_name);
|
||||
free_live_game(&g_array_index(current_user.mmatches, MemMatch, mmidx).lg);
|
||||
g_array_remove_index(current_user.mmatches, mmidx);
|
||||
treeview2_show_mmatches();
|
||||
gtk_widget_show(widget);
|
||||
}
|
||||
else if(col_num == TREEVIEW_MMATCH_COL_EXPORT)
|
||||
{
|
||||
stat5 = STATUS_SELECT_MM_FILE_EXPORT;
|
||||
stat4 = mmidx;
|
||||
window_show_file_sel();
|
||||
}
|
||||
misc2_callback_mmatches_button_press(widget, mmidx, col_num);
|
||||
|
||||
return TRUE;
|
||||
}
|
||||
|
@ -1243,19 +1243,13 @@ create_window_mmatches (void)
|
||||
GtkWidget *hbox31;
|
||||
GtkWidget *image18;
|
||||
GtkWidget *label58;
|
||||
GtkWidget *scrolledwindow5;
|
||||
GtkWidget *treeview_mmatches;
|
||||
GtkWidget *hbox36;
|
||||
GtkWidget *button_mm_add;
|
||||
GtkWidget *alignment12;
|
||||
GtkWidget *hbox32;
|
||||
GtkWidget *image19;
|
||||
GtkWidget *label59;
|
||||
GtkWidget *button_mm_import;
|
||||
GtkWidget *alignment15;
|
||||
GtkWidget *hbox37;
|
||||
GtkWidget *image22;
|
||||
GtkWidget *label62;
|
||||
GtkWidget *scrolledwindow5;
|
||||
GtkWidget *treeview_mmatches;
|
||||
GtkWidget *hbox34;
|
||||
GtkWidget *button_mm_save_close;
|
||||
GtkWidget *alignment13;
|
||||
@ -1274,7 +1268,7 @@ create_window_mmatches (void)
|
||||
window_mmatches = gtk_window_new (GTK_WINDOW_TOPLEVEL);
|
||||
gtk_container_set_border_width (GTK_CONTAINER (window_mmatches), 5);
|
||||
gtk_window_set_position (GTK_WINDOW (window_mmatches), GTK_WIN_POS_CENTER);
|
||||
gtk_window_set_default_size (GTK_WINDOW (window_mmatches), 550, 500);
|
||||
gtk_window_set_default_size (GTK_WINDOW (window_mmatches), 600, 500);
|
||||
|
||||
vbox27 = gtk_vbox_new (FALSE, 3);
|
||||
gtk_widget_show (vbox27);
|
||||
@ -1318,44 +1312,9 @@ create_window_mmatches (void)
|
||||
gtk_widget_show (label58);
|
||||
gtk_box_pack_start (GTK_BOX (hbox31), label58, FALSE, FALSE, 0);
|
||||
|
||||
scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
|
||||
gtk_widget_show (scrolledwindow5);
|
||||
gtk_box_pack_start (GTK_BOX (vbox27), scrolledwindow5, TRUE, TRUE, 0);
|
||||
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_SHADOW_IN);
|
||||
|
||||
treeview_mmatches = gtk_tree_view_new ();
|
||||
gtk_widget_show (treeview_mmatches);
|
||||
gtk_container_add (GTK_CONTAINER (scrolledwindow5), treeview_mmatches);
|
||||
gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview_mmatches), FALSE);
|
||||
|
||||
hbox36 = gtk_hbox_new (FALSE, 3);
|
||||
gtk_widget_show (hbox36);
|
||||
gtk_box_pack_start (GTK_BOX (vbox27), hbox36, FALSE, FALSE, 0);
|
||||
|
||||
button_mm_add = gtk_button_new ();
|
||||
gtk_widget_show (button_mm_add);
|
||||
gtk_box_pack_start (GTK_BOX (hbox36), button_mm_add, TRUE, TRUE, 0);
|
||||
gtk_tooltips_set_tip (tooltips, button_mm_add, _("Add last match to the list; you still have to save to file if you want to store the match permanently"), NULL);
|
||||
|
||||
alignment12 = gtk_alignment_new (0.5, 0.5, 0, 0);
|
||||
gtk_widget_show (alignment12);
|
||||
gtk_container_add (GTK_CONTAINER (button_mm_add), alignment12);
|
||||
|
||||
hbox32 = gtk_hbox_new (FALSE, 2);
|
||||
gtk_widget_show (hbox32);
|
||||
gtk_container_add (GTK_CONTAINER (alignment12), hbox32);
|
||||
|
||||
image19 = gtk_image_new_from_stock ("gtk-add", GTK_ICON_SIZE_BUTTON);
|
||||
gtk_widget_show (image19);
|
||||
gtk_box_pack_start (GTK_BOX (hbox32), image19, FALSE, FALSE, 0);
|
||||
|
||||
label59 = gtk_label_new_with_mnemonic (_("Add last match"));
|
||||
gtk_widget_show (label59);
|
||||
gtk_box_pack_start (GTK_BOX (hbox32), label59, FALSE, FALSE, 0);
|
||||
|
||||
button_mm_import = gtk_button_new ();
|
||||
gtk_widget_show (button_mm_import);
|
||||
gtk_box_pack_start (GTK_BOX (hbox36), button_mm_import, TRUE, TRUE, 0);
|
||||
gtk_box_pack_start (GTK_BOX (hbox27), button_mm_import, FALSE, FALSE, 0);
|
||||
gtk_tooltips_set_tip (tooltips, button_mm_import, _("Import the matches from a memorable matches file"), NULL);
|
||||
|
||||
alignment15 = gtk_alignment_new (0.5, 0.5, 0, 0);
|
||||
@ -1374,6 +1333,17 @@ create_window_mmatches (void)
|
||||
gtk_widget_show (label62);
|
||||
gtk_box_pack_start (GTK_BOX (hbox37), label62, FALSE, FALSE, 0);
|
||||
|
||||
scrolledwindow5 = gtk_scrolled_window_new (NULL, NULL);
|
||||
gtk_widget_show (scrolledwindow5);
|
||||
gtk_box_pack_start (GTK_BOX (vbox27), scrolledwindow5, TRUE, TRUE, 0);
|
||||
gtk_scrolled_window_set_policy (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_POLICY_AUTOMATIC, GTK_POLICY_AUTOMATIC);
|
||||
gtk_scrolled_window_set_shadow_type (GTK_SCROLLED_WINDOW (scrolledwindow5), GTK_SHADOW_IN);
|
||||
|
||||
treeview_mmatches = gtk_tree_view_new ();
|
||||
gtk_widget_show (treeview_mmatches);
|
||||
gtk_container_add (GTK_CONTAINER (scrolledwindow5), treeview_mmatches);
|
||||
gtk_tree_view_set_enable_search (GTK_TREE_VIEW (treeview_mmatches), FALSE);
|
||||
|
||||
hbox34 = gtk_hbox_new (FALSE, 3);
|
||||
gtk_widget_show (hbox34);
|
||||
gtk_box_pack_start (GTK_BOX (vbox27), hbox34, FALSE, FALSE, 0);
|
||||
@ -1429,15 +1399,12 @@ create_window_mmatches (void)
|
||||
g_signal_connect ((gpointer) button_mm_reload, "clicked",
|
||||
G_CALLBACK (on_button_mm_reload_clicked),
|
||||
NULL);
|
||||
g_signal_connect ((gpointer) treeview_mmatches, "button_press_event",
|
||||
G_CALLBACK (on_treeview_mmatches_button_press_event),
|
||||
NULL);
|
||||
g_signal_connect ((gpointer) button_mm_add, "clicked",
|
||||
G_CALLBACK (on_button_mm_add_clicked),
|
||||
NULL);
|
||||
g_signal_connect ((gpointer) button_mm_import, "clicked",
|
||||
G_CALLBACK (on_button_mm_import_clicked),
|
||||
NULL);
|
||||
g_signal_connect ((gpointer) treeview_mmatches, "button_press_event",
|
||||
G_CALLBACK (on_treeview_mmatches_button_press_event),
|
||||
NULL);
|
||||
g_signal_connect ((gpointer) button_mm_save_close, "clicked",
|
||||
G_CALLBACK (on_button_mm_save_close_clicked),
|
||||
NULL);
|
||||
@ -1457,19 +1424,13 @@ create_window_mmatches (void)
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, hbox31, "hbox31");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, image18, "image18");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, label58, "label58");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, scrolledwindow5, "scrolledwindow5");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, treeview_mmatches, "treeview_mmatches");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, hbox36, "hbox36");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, button_mm_add, "button_mm_add");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, alignment12, "alignment12");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, hbox32, "hbox32");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, image19, "image19");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, label59, "label59");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, button_mm_import, "button_mm_import");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, alignment15, "alignment15");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, hbox37, "hbox37");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, image22, "image22");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, label62, "label62");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, scrolledwindow5, "scrolledwindow5");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, treeview_mmatches, "treeview_mmatches");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, hbox34, "hbox34");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, button_mm_save_close, "button_mm_save_close");
|
||||
GLADE_HOOKUP_OBJECT (window_mmatches, alignment13, "alignment13");
|
||||
|
@ -1,4 +1,5 @@
|
||||
#include "live_game.h"
|
||||
#include "option.h"
|
||||
#include "support.h"
|
||||
#include "treeview2.h"
|
||||
#include "treeview_helper.h"
|
||||
@ -34,6 +35,10 @@ treeview2_create_mmatches(GtkListStore *ls)
|
||||
TREEVIEW_MMATCH_COL_EXPORT, _("EXPORT"),
|
||||
-1);
|
||||
}
|
||||
|
||||
gtk_list_store_append(ls, &iter);
|
||||
gtk_list_store_set(ls, &iter, 0, const_int("int_treeview_helper_int_empty"),
|
||||
1, NULL, -1);
|
||||
}
|
||||
|
||||
void
|
||||
@ -58,9 +63,9 @@ treeview2_set_up_mmatches(GtkTreeView *treeview)
|
||||
gtk_tree_view_append_column(treeview, col);
|
||||
renderer = treeview_helper_cell_renderer_text_new();
|
||||
gtk_tree_view_column_pack_start(col, renderer, TRUE);
|
||||
gtk_tree_view_column_add_attribute(col, renderer,
|
||||
"text", 0);
|
||||
g_object_set(renderer, "xalign", 0.5, NULL);
|
||||
gtk_tree_view_column_set_cell_data_func(col, renderer,
|
||||
treeview_helper_int_to_cell,
|
||||
NULL, NULL);
|
||||
|
||||
for(i=1;i<3;i++)
|
||||
{
|
||||
|
@ -1263,14 +1263,32 @@ treeview_helper_mm_teams(GtkTreeViewColumn *col,
|
||||
const_app("string_treeview_helper_color_default_background"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_color_default_foreground"), NULL);
|
||||
g_object_set(renderer, "text", "", NULL);
|
||||
|
||||
if(column == 1 || column == 2)
|
||||
{
|
||||
gtk_tree_model_get(model, iter, column, &mm, -1);
|
||||
if(column == 1)
|
||||
g_object_set(renderer, "text", mm->lg.team_names[mm->user_team]->str, NULL);
|
||||
else
|
||||
g_object_set(renderer, "text", mm->lg.team_names[!mm->user_team]->str, NULL);
|
||||
if(mm != NULL)
|
||||
{
|
||||
if(column == 1)
|
||||
g_object_set(renderer, "text", mm->lg.team_names[mm->user_team]->str, NULL);
|
||||
else
|
||||
g_object_set(renderer, "text", mm->lg.team_names[!mm->user_team]->str, NULL);
|
||||
|
||||
if(!mm->neutral &&
|
||||
((column == 1 && mm->user_team == 1) ||
|
||||
(column == 2 && mm->user_team == 0)))
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_live_game_commentary_away_bg"), NULL);
|
||||
}
|
||||
else if(column == 1)
|
||||
{
|
||||
g_object_set(renderer, "text", _("ADD LAST MATCH"), NULL);
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_add_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_add_fg"), NULL);
|
||||
}
|
||||
}
|
||||
else if(column >= TREEVIEW_MMATCH_COL_REPLAY)
|
||||
{
|
||||
@ -1278,32 +1296,30 @@ treeview_helper_mm_teams(GtkTreeViewColumn *col,
|
||||
g_object_set(renderer, "text", text, NULL);
|
||||
}
|
||||
|
||||
if(((column == 1 && mm->user_team == 1) ||
|
||||
(column == 2 && mm->user_team == 0)) &&
|
||||
!mm->neutral)
|
||||
gtk_tree_model_get(model, iter, 1, &mm, -1);
|
||||
|
||||
if(mm != NULL)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_live_game_commentary_away_bg"), NULL);
|
||||
}
|
||||
else if(column == TREEVIEW_MMATCH_COL_REPLAY)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_replay_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_replay_fg"), NULL);
|
||||
}
|
||||
else if(column == TREEVIEW_MMATCH_COL_REMOVE)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_remove_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_remove_fg"), NULL);
|
||||
}
|
||||
else if(column == TREEVIEW_MMATCH_COL_EXPORT)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_export_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_export_fg"), NULL);
|
||||
if(column == TREEVIEW_MMATCH_COL_REPLAY)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_replay_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_replay_fg"), NULL);
|
||||
}
|
||||
else if(column == TREEVIEW_MMATCH_COL_REMOVE)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_remove_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_remove_fg"), NULL);
|
||||
}
|
||||
else if(column == TREEVIEW_MMATCH_COL_EXPORT)
|
||||
{
|
||||
g_object_set(renderer, "background",
|
||||
const_app("string_treeview_helper_mmatches_export_bg"), NULL);
|
||||
g_object_set(renderer, "foreground",
|
||||
const_app("string_treeview_helper_mmatches_export_fg"), NULL);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -128,6 +128,8 @@ string_treeview_helper_mmatches_remove_fg white
|
||||
string_treeview_helper_mmatches_remove_bg darkred
|
||||
string_treeview_helper_mmatches_export_fg black
|
||||
string_treeview_helper_mmatches_export_bg lightblue
|
||||
string_treeview_helper_mmatches_add_fg black
|
||||
string_treeview_helper_mmatches_add_bg khaki
|
||||
|
||||
|
||||
#############################################
|
||||
|
Loading…
x
Reference in New Issue
Block a user