[Monodevelop-patches-list] r1390 - in trunk/MonoDevelop/src/Main/Base: . Gui/BrowserDisplayBinding
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Mon Apr 5 16:38:03 EDT 2004
Author: jluke
Date: 2004-04-05 16:38:03 -0400 (Mon, 05 Apr 2004)
New Revision: 1390
Modified:
trunk/MonoDevelop/src/Main/Base/ChangeLog
trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/BrowserDisplayBinding.cs
trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
Log:
cleanup
Modified: trunk/MonoDevelop/src/Main/Base/ChangeLog
===================================================================
--- trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-05 19:53:55 UTC (rev 1389)
+++ trunk/MonoDevelop/src/Main/Base/ChangeLog 2004-04-05 20:38:03 UTC (rev 1390)
@@ -1,3 +1,8 @@
+2004-04-04 John Luke <jluke at cfl.rr.com>
+
+ * Gui/BrowserDisplayBinding/HtmlViewPane.cs:
+ * Gui/BrowserDisplayBinding/BrowserDisplayBinding.cs: small cleanups
+
2004-04-04 Todd Berman <tberman at sevenl.net>
* Services/ParserService/DefaultParserService.cs: fix nullref
Modified: trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/BrowserDisplayBinding.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/BrowserDisplayBinding.cs 2004-04-05 19:53:55 UTC (rev 1389)
+++ trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/BrowserDisplayBinding.cs 2004-04-05 20:38:03 UTC (rev 1390)
@@ -10,12 +10,9 @@
using Gtk;
using MonoDevelop.Internal.Undo;
-using System.Drawing.Printing;
using MonoDevelop.Core.Properties;
-
using MonoDevelop.Core.AddIns.Codons;
using MonoDevelop.Gui;
-
using MonoDevelop.Gui.Utils;
namespace MonoDevelop.BrowserDisplayBinding
Modified: trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs 2004-04-05 19:53:55 UTC (rev 1389)
+++ trunk/MonoDevelop/src/Main/Base/Gui/BrowserDisplayBinding/HtmlViewPane.cs 2004-04-05 20:38:03 UTC (rev 1390)
@@ -56,7 +56,7 @@
Gtk.Timeout.Add (50, new Gtk.Function (checkFocus));
} catch {
- Console.WriteLine ("gtkmozembed tossed an exception");
+ Console.WriteLine ("Gecko# tossed an exception");
}
}
}
@@ -99,13 +99,13 @@
{
}
- public BrowserPane (bool showNavigation) // : base (GType)
+ public BrowserPane (bool showNavigation)
{
htmlViewPane = new HtmlViewPane(showNavigation);
htmlViewPane.MozillaControl.TitleChange += new EventHandler (OnTitleChanged);
}
- public BrowserPane () : this(true)
+ public BrowserPane () : this (true)
{
}
@@ -141,7 +141,6 @@
Statusbar status;
bool isHandleCreated = false;
- string lastUrl = null;
static GLib.GType gtype;
public MozillaControl MozillaControl {
@@ -162,18 +161,11 @@
public HtmlViewPane(bool showNavigation) : base (GType)
{
- //RequestSize = new Size (500, 500);
-
Shadow = Gtk.ShadowType.In;
VBox mainbox = new VBox (false, 2);
if (showNavigation) {
- //topPanel.RequestSize = new Size (Width, 25);
- //topPanel.Dock = DockStyle.Top;
-
- //toolBar.Dock = DockStyle.None;
-
Button toolBarBack = new Button ();
toolBarBack.Child = new Image (Gtk.Stock.GoBack, IconSize.SmallToolbar);
toolBarBack.Relief = ReliefStyle.None;
@@ -226,11 +218,6 @@
this.ShowAll ();
}
- //void TitleChange(object sender, DWebBrowserEvents2_TitleChangeEvent e)
- //{
- // urlTextBox.Text = axWebBrowser.LocationURL;
- //}
-
void OnEntryActivated (object o, EventArgs args)
{
htmlControl.LoadUrl (urlTextBox.Text);
@@ -239,9 +226,6 @@
public void CreatedWebBrowserHandle(object sender, EventArgs evArgs)
{
isHandleCreated = true;
- if (lastUrl != null) {
- Navigate(lastUrl);
- }
}
public void Navigate(string name)
More information about the Monodevelop-patches-list
mailing list