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.2 by cebix, 2004-01-14T17:26:29Z vs.
Revision 1.5 by cebix, 2004-01-25T14:16:36Z

# Line 63 | Line 63 | bool Prefs::ShowEditor(bool startup, cha
63  
64          // No XML means no prefs editor
65          if (!xml)
66 <                return false;
66 >                return startup;
67  
68          // Run editor
69          result = false;
# Line 193 | Line 193 | static void ghost_widget(const char *nam
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);
# Line 229 | Line 226 | extern "C" void on_quit_clicked(GtkButto
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)

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines