diff --git a/bygfoot_misc.glade b/bygfoot_misc.glade index c2103532..7a8eaa2a 100644 --- a/bygfoot_misc.glade +++ b/bygfoot_misc.glade @@ -220,10 +220,9 @@ - + True False - True True diff --git a/src/misc_callback_func.c b/src/misc_callback_func.c index b92122c2..ad32deb4 100644 --- a/src/misc_callback_func.c +++ b/src/misc_callback_func.c @@ -127,7 +127,7 @@ misc_callback_add_player(void) GtkEntry *entry_player_name = GTK_ENTRY(lookup_widget(window.startup, "entry_player_name")); GtkComboBox *combo_leagues = - GTK_COMBO_BOX(lookup_widget(window.startup, "comboboxentry_start_league")); + GTK_COMBO_BOX(lookup_widget(window.startup, "combobox_start_league")); const gchar *player_name = gtk_entry_get_text(entry_player_name); User new_user = user_new(); Team *tm = (Team*)treeview_helper_get_pointer(treeview_startup, 2); diff --git a/src/misc_interface.c b/src/misc_interface.c index 9426cfc7..b44fb540 100644 --- a/src/misc_interface.c +++ b/src/misc_interface.c @@ -42,7 +42,7 @@ create_window_startup (void) GtkWidget *treeview_startup; GtkWidget *hseparator11; GtkWidget *label4; - GtkWidget *comboboxentry_start_league; + GtkWidget *combobox_start_league; GtkWidget *hseparator12; GtkWidget *label75; GtkWidget *hbox54; @@ -147,9 +147,9 @@ create_window_startup (void) gtk_widget_show (label4); gtk_box_pack_start (GTK_BOX (vbox2), label4, FALSE, FALSE, 0); - comboboxentry_start_league = gtk_combo_box_entry_new_text (); - gtk_widget_show (comboboxentry_start_league); - gtk_box_pack_start (GTK_BOX (vbox2), comboboxentry_start_league, FALSE, FALSE, 0); + combobox_start_league = gtk_combo_box_new_text (); + gtk_widget_show (combobox_start_league); + gtk_box_pack_start (GTK_BOX (vbox2), combobox_start_league, FALSE, FALSE, 0); hseparator12 = gtk_hseparator_new (); gtk_widget_show (hseparator12); @@ -335,7 +335,7 @@ create_window_startup (void) GLADE_HOOKUP_OBJECT (window_startup, treeview_startup, "treeview_startup"); GLADE_HOOKUP_OBJECT (window_startup, hseparator11, "hseparator11"); GLADE_HOOKUP_OBJECT (window_startup, label4, "label4"); - GLADE_HOOKUP_OBJECT (window_startup, comboboxentry_start_league, "comboboxentry_start_league"); + GLADE_HOOKUP_OBJECT (window_startup, combobox_start_league, "combobox_start_league"); GLADE_HOOKUP_OBJECT (window_startup, hseparator12, "hseparator12"); GLADE_HOOKUP_OBJECT (window_startup, label75, "label75"); GLADE_HOOKUP_OBJECT (window_startup, hbox54, "hbox54"); diff --git a/src/treeview.c b/src/treeview.c index 6b9e2281..81625d2d 100644 --- a/src/treeview.c +++ b/src/treeview.c @@ -2499,7 +2499,7 @@ treeview_show_leagues_combo(void) { GtkTreeModel *model = treeview_create_league_list(); GtkComboBox *combo_leagues = - GTK_COMBO_BOX(lookup_widget(window.startup, "comboboxentry_start_league")); + GTK_COMBO_BOX(lookup_widget(window.startup, "combobox_start_league")); GtkCellRenderer *renderer = NULL; gtk_combo_box_set_model(combo_leagues, model);