mirror of https://github.com/tstellar/bygfoot.git
XXX COuntry list
This commit is contained in:
parent
6f43a62563
commit
aa4b4ffcb4
|
@ -493,7 +493,7 @@ main (gint argc, gchar *argv[])
|
|||
if(country.sid == NULL)
|
||||
{
|
||||
stat0 = STATUS_SPLASH;
|
||||
window_show_splash();
|
||||
window_show_splash(&bygfoot);
|
||||
|
||||
if(os_is_unix)
|
||||
file_check_home_dir();
|
||||
|
|
|
@ -38,11 +38,11 @@ create_window_bets (void)
|
|||
}
|
||||
|
||||
GtkWidget*
|
||||
create_window_splash (void)
|
||||
create_window_splash (Bygfoot *bygfoot)
|
||||
{
|
||||
GtkWidget *window_splash;
|
||||
GtkBuilder *builder;
|
||||
builder = load_ui(file_find_support_file("bygfoot_misc3.glade", TRUE));
|
||||
builder = load_ui_with_userdata(file_find_support_file("bygfoot_misc3.glade", TRUE), bygfoot);
|
||||
window_splash = GTK_WIDGET (gtk_builder_get_object (builder, "window_splash"));
|
||||
gtk_widget_show (window_splash);
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@
|
|||
* DO NOT EDIT THIS FILE - it is generated by Glade.
|
||||
*/
|
||||
|
||||
#include "bygfoot_struct.h"
|
||||
|
||||
GtkWidget* create_window_bets (void);
|
||||
GtkWidget* create_window_splash (void);
|
||||
GtkWidget* create_window_splash (Bygfoot *bygfoot);
|
||||
GtkWidget* create_window_alr (void);
|
||||
GtkWidget* create_window_news (void);
|
||||
|
|
|
@ -575,7 +575,7 @@ on_eventbox_lg_boost_button_press_event (GtkWidget *widget,
|
|||
|
||||
G_MODULE_EXPORT void
|
||||
on_button_team_selection_back_clicked (GtkButton *button,
|
||||
gpointer user_data)
|
||||
Bygfoot *bygfoot)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("on_button_team_selection_back_clicked\n");
|
||||
|
@ -583,5 +583,5 @@ on_button_team_selection_back_clicked (GtkButton *button,
|
|||
|
||||
window_destroy(&window.startup);
|
||||
stat0 = STATUS_SPLASH;
|
||||
window_show_splash();
|
||||
window_show_splash(bygfoot);
|
||||
}
|
||||
|
|
|
@ -175,5 +175,5 @@ on_eventbox_lg_boost_button_press_event
|
|||
|
||||
void
|
||||
on_button_team_selection_back_clicked (GtkButton *button,
|
||||
gpointer user_data);
|
||||
Bygfoot *bygfoot);
|
||||
#endif
|
||||
|
|
|
@ -58,13 +58,13 @@
|
|||
|
||||
/** Show the splash screen window. */
|
||||
void
|
||||
window_show_splash(void)
|
||||
window_show_splash(Bygfoot *bygfoot)
|
||||
{
|
||||
#ifdef DEBUG
|
||||
printf("window_show_splash\n");
|
||||
#endif
|
||||
|
||||
window_create(WINDOW_SPLASH);
|
||||
window_create_with_userdata(WINDOW_SPLASH, bygfoot);
|
||||
|
||||
treeview_show_contributors(
|
||||
GTK_TREE_VIEW(lookup_widget(window.splash, "treeview_splash_contributors")));
|
||||
|
@ -985,7 +985,7 @@ window_create_with_userdata(gint window_type, Bygfoot *bygfoot)
|
|||
if(window.splash != NULL)
|
||||
debug_print_message("window_create: called on already existing window\n");
|
||||
else
|
||||
window.splash = create_window_splash();
|
||||
window.splash = create_window_splash(bygfoot);
|
||||
wind = window.splash;
|
||||
break;
|
||||
case WINDOW_TRAINING_CAMP:
|
||||
|
|
|
@ -120,7 +120,7 @@ void
|
|||
window_show_progress(gint pictype);
|
||||
|
||||
void
|
||||
window_show_splash(void);
|
||||
window_show_splash(Bygfoot *bygfoot);
|
||||
|
||||
void
|
||||
window_load_hint_number(void);
|
||||
|
|
Loading…
Reference in New Issue