ViewVC Help
View File | Revision Log | Show Annotations | Revision Graph | Root Listing
root/cebix/Frodo4/Src/Prefs_glade.h
(Generate patch)

Comparing Frodo4/Src/Prefs_glade.h (file contents):
Revision 1.5 by cebix, 2004-01-25T14:16:36Z vs.
Revision 1.6 by cebix, 2004-01-26T18:31:21Z

# Line 198 | Line 198 | static void ghost_widgets()
198          ghost_widget("drive11_path", prefs->Emul1541Proc);
199  
200          ghost_widget("sid_filters", prefs->SIDType != SIDTYPE_DIGITAL);
201 +        gtk_toggle_button_set_active(GTK_TOGGLE_BUTTON(glade_xml_get_widget(xml, "sid_filters")), prefs->SIDType == SIDTYPE_DIGITAL ? prefs->SIDFilters : (prefs->SIDType == SIDTYPE_SIDCARD ? true : false));
202   }
203  
204  
# Line 242 | Line 243 | extern "C" void on_sid_type_activate(Gtk
243          prefs->SIDType = gtk_option_menu_get_history(GTK_OPTION_MENU(glade_xml_get_widget(xml, "sid_type")));
244          ghost_widgets();
245   }
246 +
247 + extern "C" void on_sid_filters_toggled(GtkToggleButton *button, gpointer user_data)
248 + {
249 +        prefs->SIDFilters = gtk_toggle_button_get_active(button);
250 + }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines