1
1
mirror of https://github.com/tstellar/bygfoot.git synced 2025-01-31 07:54:50 +01:00

Updated bygfoot_misc2 to GtkBuilder format. TODO: fix the spinbuttons

This commit is contained in:
gunnar_g 2009-10-28 13:33:46 +00:00
parent 9ef49d18ed
commit 6cb084290c
20 changed files with 52283 additions and 51189 deletions

7098
po/bg.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

6999
po/da.po

File diff suppressed because it is too large Load Diff

7048
po/de.po

File diff suppressed because it is too large Load Diff

6850
po/el.po

File diff suppressed because it is too large Load Diff

7017
po/es.po

File diff suppressed because it is too large Load Diff

7094
po/fr.po

File diff suppressed because it is too large Load Diff

7063
po/it.po

File diff suppressed because it is too large Load Diff

7052
po/nl.po

File diff suppressed because it is too large Load Diff

6984
po/pl.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

6450
po/ro.po

File diff suppressed because it is too large Load Diff

7016
po/sv.po

File diff suppressed because it is too large Load Diff

2114
po/tr.po

File diff suppressed because it is too large Load Diff

6838
po/zh.po

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -16,13 +16,6 @@
#include "support.h"
#include "file.h"
#define GLADE_HOOKUP_OBJECT(component,widget,name) \
g_object_set_data_full (G_OBJECT (component), name, \
gtk_widget_ref (widget), (GDestroyNotify) gtk_widget_unref)
#define GLADE_HOOKUP_OBJECT_NO_REF(component,widget,name) \
g_object_set_data (G_OBJECT (component), name, widget)
GtkWidget*
create_window_bets (void)
{
@ -31,6 +24,8 @@ create_window_bets (void)
builder = load_ui(file_find_support_file("bygfoot_misc3.glade", TRUE));
window_bets = GTK_WIDGET (gtk_builder_get_object (builder, "window_bets"));
gtk_widget_show (window_bets);
/* Store pointers to all widgets, for use by lookup_widget(). */
GTK_HOOKUP_OBJECT (window_bets, builder, "checkbutton_bet_all_leagues");
GTK_HOOKUP_OBJECT (window_bets, builder, "checkbutton_bet_cups");
GTK_HOOKUP_OBJECT (window_bets, builder, "checkbutton_bet_user_recent");

View File

@ -26,20 +26,20 @@
<object class="GtkMenu" id="menu_file_menu">
<child>
<object class="GtkImageMenuItem" id="menu_new">
<property name="label">gtk-new</property>
<property name="label">New</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<property name="image">image43</property>
<property name="use_stock">False</property>
<accelerator key="n" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="activate" handler="on_menu_new_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="menu_open">
<property name="label">gtk-open</property>
<property name="label">Open</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<property name="image">image44</property>
<property name="use_stock">False</property>
<accelerator key="o" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="activate" handler="on_menu_open_activate"/>
</object>
@ -56,20 +56,20 @@
</child>
<child>
<object class="GtkImageMenuItem" id="menu_save">
<property name="label">gtk-save</property>
<property name="label">Save</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<property name="image">image45</property>
<property name="use_stock">False</property>
<accelerator key="s" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="activate" handler="on_menu_save_activate"/>
</object>
</child>
<child>
<object class="GtkImageMenuItem" id="menu_save_as">
<property name="label">gtk-save-as</property>
<property name="label">Save As</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<property name="image">image46</property>
<property name="use_stock">False</property>
<signal name="activate" handler="on_menu_save_as_activate"/>
</object>
</child>
@ -101,10 +101,10 @@
<object class="GtkMenu" id="menu_options_menu">
<child>
<object class="GtkImageMenuItem" id="menu_preferences">
<property name="label">gtk-preferences</property>
<property name="label">Preferences</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
<property name="image">image47</property>
<property name="use_stock">False</property>
<accelerator key="p" signal="activate" modifiers="GDK_CONTROL_MASK"/>
<signal name="activate" handler="on_menu_preferences_activate"/>
</object>
@ -795,7 +795,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="menu_user_show_last_stats">
<property name="label" translatable="yes">Show last match stats</property>
<property name="label" translatable="yes">Show last match stats</property>
<property name="visible">True</property>
<property name="image">image27</property>
<property name="use_stock">False</property>
@ -1134,7 +1134,7 @@
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="receives_default">False</property>
<property name="tooltip_text" translatable="yes">button_back_to_main</property>
<property name="tooltip_text" translatable="yes">Back to main (Esc)</property>
<property name="border_width">2</property>
<accelerator key="Escape" signal="clicked"/>
<signal name="clicked" handler="on_button_back_to_main_clicked"/>
@ -1837,7 +1837,7 @@
<object class="GtkMenu" id="menu_youth">
<child>
<object class="GtkImageMenuItem" id="menu_youth_move_to_team">
<property name="label" translatable="yes">Move to team</property>
<property name="label">Move to team</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
@ -1846,7 +1846,7 @@
</child>
<child>
<object class="GtkImageMenuItem" id="menu_youth_kick_out_of_academy">
<property name="label" translatable="yes">Kick out of academy</property>
<property name="label">Kick out of academy</property>
<property name="visible">True</property>
<property name="use_underline">True</property>
<property name="use_stock">True</property>
@ -2035,4 +2035,29 @@
<property name="stock">gtk-help</property>
<property name="icon-size">1</property>
</object>
<object class="GtkImage" id="image43">
<property name="visible">True</property>
<property name="stock">gtk-new</property>
<property name="icon-size">1</property>
</object>
<object class="GtkImage" id="image44">
<property name="visible">True</property>
<property name="stock">gtk-open</property>
<property name="icon-size">1</property>
</object>
<object class="GtkImage" id="image45">
<property name="visible">True</property>
<property name="stock">gtk-save</property>
<property name="icon-size">1</property>
</object>
<object class="GtkImage" id="image46">
<property name="visible">True</property>
<property name="stock">gtk-save-as</property>
<property name="icon-size">1</property>
</object>
<object class="GtkImage" id="image47">
<property name="visible">True</property>
<property name="stock">gtk-preferences</property>
<property name="icon-size">1</property>
</object>
</interface>

View File

@ -3,7 +3,6 @@
<requires lib="gtk+" version="2.16"/>
<!-- interface-naming-policy toplevel-contextual -->
<object class="GtkWindow" id="window_job_offer">
<property name="visible">True</property>
<property name="border_width">6</property>
<property name="title" translatable="yes">Job offer</property>
<property name="modal">True</property>
@ -374,7 +373,6 @@
</child>
</object>
<object class="GtkWindow" id="window_progress">
<property name="visible">True</property>
<property name="type">popup</property>
<property name="modal">True</property>
<property name="window_position">center-always</property>
@ -410,7 +408,6 @@
</child>
</object>
<object class="GtkWindow" id="window_warning">
<property name="visible">True</property>
<property name="border_width">10</property>
<property name="modal">True</property>
<property name="window_position">center</property>
@ -461,7 +458,6 @@
</child>
</object>
<object class="GtkWindow" id="window_digits">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="modal">True</property>
<property name="window_position">center</property>
@ -501,7 +497,6 @@
<object class="GtkSpinButton" id="spinbutton1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment"></property>
<property name="climb_rate">1</property>
<property name="numeric">True</property>
<signal name="activate" handler="on_spinbutton1_activate"/>
@ -534,7 +529,6 @@
<object class="GtkSpinButton" id="spinbutton2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment"></property>
<property name="climb_rate">1</property>
<property name="numeric">True</property>
<signal name="activate" handler="on_spinbutton2_activate"/>
@ -661,7 +655,6 @@
</child>
</object>
<object class="GtkWindow" id="window_yesno">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="modal">True</property>
<property name="window_position">center</property>
@ -736,7 +729,6 @@
</child>
</object>
<object class="GtkWindow" id="window_contract">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="modal">True</property>
<property name="window_position">center</property>
@ -844,7 +836,6 @@
<object class="GtkSpinButton" id="spinbutton_contract1">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment"></property>
<property name="climb_rate">1</property>
<property name="numeric">True</property>
</object>
@ -858,7 +849,6 @@
<object class="GtkSpinButton" id="spinbutton_contract2">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment"></property>
<property name="climb_rate">1</property>
</object>
<packing>
@ -873,7 +863,6 @@
<object class="GtkSpinButton" id="spinbutton_contract3">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment"></property>
<property name="climb_rate">1</property>
</object>
<packing>
@ -888,7 +877,6 @@
<object class="GtkSpinButton" id="spinbutton_contract4">
<property name="visible">True</property>
<property name="can_focus">True</property>
<property name="adjustment"></property>
<property name="climb_rate">1</property>
</object>
<packing>
@ -995,7 +983,6 @@
</child>
</object>
<object class="GtkWindow" id="window_user_management">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="window_position">center</property>
<property name="default_width">600</property>
@ -1202,7 +1189,6 @@
</child>
</object>
<object class="GtkWindow" id="window_debug">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="title" translatable="yes">Debug</property>
<property name="window_position">center</property>
@ -1279,7 +1265,6 @@
</child>
</object>
<object class="GtkWindow" id="window_help">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="modal">True</property>
<property name="window_position">center</property>
@ -1302,7 +1287,7 @@
<object class="GtkImage" id="image12">
<property name="visible">True</property>
<property name="ypad">5</property>
<property name="pixbuf">bygfoot_splash2.png</property>
<property name="pixbuf">pixmaps/bygfoot_splash2.png</property>
</object>
<packing>
<property name="expand">False</property>
@ -1448,7 +1433,6 @@
</child>
</object>
<object class="GtkWindow" id="window_transfer_dialog">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="modal">True</property>
<property name="window_position">center</property>
@ -1571,7 +1555,6 @@
</child>
</object>
<object class="GtkWindow" id="window_mmatches">
<property name="visible">True</property>
<property name="border_width">5</property>
<property name="modal">True</property>
<property name="window_position">center</property>