97 |
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "emul1541_proc")), prefs->Emul1541Proc); |
98 |
|
gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "map_slash")), prefs->MapSlash); |
99 |
|
|
100 |
– |
gtk_option_menu_set_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive8_type")), prefs->DriveType[0]); |
101 |
– |
gtk_option_menu_set_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive9_type")), prefs->DriveType[1]); |
102 |
– |
gtk_option_menu_set_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive10_type")), prefs->DriveType[2]); |
103 |
– |
gtk_option_menu_set_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive11_type")), prefs->DriveType[3]); |
104 |
– |
|
100 |
|
gtk_entry_set_text(GTK_ENTRY(gnome_file_entry_gtk_entry(GNOME_FILE_ENTRY(glade_xml_get_widget(xml, "drive8_path")))), prefs->DrivePath[0]); |
101 |
|
gtk_entry_set_text(GTK_ENTRY(gnome_file_entry_gtk_entry(GNOME_FILE_ENTRY(glade_xml_get_widget(xml, "drive9_path")))), prefs->DrivePath[1]); |
102 |
|
gtk_entry_set_text(GTK_ENTRY(gnome_file_entry_gtk_entry(GNOME_FILE_ENTRY(glade_xml_get_widget(xml, "drive10_path")))), prefs->DrivePath[2]); |
151 |
|
prefs->Emul1541Proc = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "emul1541_proc"))); |
152 |
|
prefs->MapSlash = gtk_toggle_button_get_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "map_slash"))); |
153 |
|
|
159 |
– |
prefs->DriveType[0] = gtk_option_menu_get_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive8_type"))); |
160 |
– |
prefs->DriveType[1] = gtk_option_menu_get_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive9_type"))); |
161 |
– |
prefs->DriveType[2] = gtk_option_menu_get_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive10_type"))); |
162 |
– |
prefs->DriveType[3] = gtk_option_menu_get_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "drive11_type"))); |
163 |
– |
|
154 |
|
get_drive_path(0, "drive8_path"); |
155 |
|
get_drive_path(1, "drive9_path"); |
156 |
|
get_drive_path(2, "drive10_path"); |