[Mono-bugs] [Bug 63439][Maj] Changed - Open bracket not recognised

bugzilla-daemon@bugzilla.ximian.com bugzilla-daemon@bugzilla.ximian.com
Thu, 19 Aug 2004 14:02:47 -0400 (EDT)


Please do not reply to this email- if you want to comment on the bug, go to the
URL shown below and enter your comments there.

Changed by gearoid.donnellan@gmail.com.

http://bugzilla.ximian.com/show_bug.cgi?id=63439

--- shadow/63439	2004-08-19 13:50:05.000000000 -0400
+++ shadow/63439.tmp.10901	2004-08-19 14:02:47.000000000 -0400
@@ -49,6 +49,50 @@
 Im using monodevelop 0.5
 mono 1.0.1
 
 ------- Additional Comments From bmaurer@users.sf.net  2004-08-19 13:50 -------
 Paste the code you compiled. The tutorial asks you to follow along, so
 there is room for making a mistake.
+
+------- Additional Comments From gearoid.donnellan@gmail.com  2004-08-19 14:01 -------
+// project created on 08/18/2004 at 22:28
+using System;
+using Gtk;
+using Glade;
+using Gecko;
+
+public class GladeApp
+{
+        public static void Main (string[] args)
+        {
+                new GladeApp (args);
+        }
+
+        public GladeApp (string[] args) 
+        {
+        		[Widget] Frame frame1;
+        		[Widget] Entry entry1;
+        		WebControl web;
+                Application.Init();
+                Glade.XML gxml = new Glade.XML (null, "gui.glade",
+"window1", null);
+                gxml.Autoconnect (this);
+				web = new WebControl();
+				web.Show();
+				frame1.Add(web);
+				entry1.Activated += load_url;
+                Application.Run();
+        }
+
+        /* Connect the Signals defined in Glade */
+        public void OnWindowDeleteEvent (object o, DeleteEventArgs args) 
+        {
+                Application.Quit ();
+                args.RetVal = true;
+        }
+        
+        void load_url (object source, EventArgs args )
+        {
+        		web.LoadUrl(entry1.Text);
+        }
+}
+