63 |
|
|
64 |
|
// No XML means no prefs editor |
65 |
|
if (!xml) |
66 |
< |
return false; |
66 |
> |
return startup; |
67 |
|
|
68 |
|
// Run editor |
69 |
|
result = false; |
193 |
|
|
194 |
|
static void ghost_widgets() |
195 |
|
{ |
196 |
– |
ghost_widget("drive9_type", prefs->Emul1541Proc); |
197 |
– |
ghost_widget("drive10_type", prefs->Emul1541Proc); |
198 |
– |
ghost_widget("drive11_type", prefs->Emul1541Proc); |
196 |
|
ghost_widget("drive9_path", prefs->Emul1541Proc); |
197 |
|
ghost_widget("drive10_path", prefs->Emul1541Proc); |
198 |
|
ghost_widget("drive11_path", prefs->Emul1541Proc); |
226 |
|
|
227 |
|
extern "C" void on_about_activate(GtkMenuItem *menuitem, gpointer user_data) |
228 |
|
{ |
229 |
< |
gtk_widget_show(glade_xml_get_widget(xml, "about_win")); |
229 |
> |
GladeXML *about_xml = glade_xml_new(DATADIR "Frodo.glade", "about_win", NULL); |
230 |
> |
if (about_xml) |
231 |
> |
gtk_widget_show(glade_xml_get_widget(about_xml, "about_win")); |
232 |
|
} |
233 |
|
|
234 |
|
extern "C" void on_emul1541_proc_toggled(GtkToggleButton *button, gpointer user_data) |