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.3 by cebix, 2004-01-23T15:06:17Z 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 226 | 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