[Monodevelop-patches-list] r859 - in trunk/MonoDevelop/src: AddIns/DisplayBindings/SourceEditor/CodeCompletion AddIns/DisplayBindings/SourceEditor/Commands AddIns/DisplayBindings/SourceEditor/Gui Libraries/MonoDevelop.Gui.Widgets/PropertyGrid Main/Base/Gui/Dialogs/Wizard Main/Base/Gui/Pads/ClassScout Main/Base/Gui/Pads/ProjectBrowser

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Tue Feb 10 13:58:33 EST 2004


Author: tberman
Date: 2004-02-10 13:58:33 -0500 (Tue, 10 Feb 2004)
New Revision: 859

Modified:
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Commands/ToolCommands.cs
   trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
   trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/PropertyGrid/ELabel.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/Wizard/StatusPanel.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/ClassScout/ClassScout.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs
Log:
track gtk-sharp


Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/CodeCompletion/CompletionWindow.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -198,7 +198,7 @@
 			Gdk.Rectangle rect = control.GetIterLocation (control.Buffer.GetIterAtMark (control.Buffer.InsertMark));
 
 			int wx, wy;
-			control.BufferToWindowCoords (Gtk.TextWindowType.Widget, rect.x, rect.y + rect.height, out wx, out wy);
+			control.BufferToWindowCoords (Gtk.TextWindowType.Widget, rect.X, rect.Y + rect.Height, out wx, out wy);
 			
 			int tx, ty;
 			control.GdkWindow.GetOrigin(out tx, out ty);
@@ -284,7 +284,7 @@
 				Gtk.TreePath path = store.GetPath (iter);
 				Gdk.Rectangle backRect = listView.GetBackgroundArea (path, (Gtk.TreeViewColumn)listView.Columns[0]);
 
-				listView.HeightRequest = (backRect.height * 5) + 2;
+				listView.HeightRequest = (backRect.Height * 5) + 2;
 				
 				//FIXME: This code is buggy, and generates a bad placement sometimes when you jump a lot. but it is better than 0,0
 				
@@ -292,10 +292,10 @@
 
 				int listpos_x, listpos_y;
 				GetPosition (out listpos_x, out listpos_y);
-				int vert = listpos_y + rect.y;
+				int vert = listpos_y + rect.Y;
 
 				if (vert >= listpos_y + listView.GdkWindow.Size.Height - 2) {
-					vert = listpos_y + listView.GdkWindow.Size.Height - rect.height;
+					vert = listpos_y + listView.GdkWindow.Size.Height - rect.Height;
 				} else if (vert < listpos_y) {
 					vert = listpos_y;
 				}

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Commands/ToolCommands.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Commands/ToolCommands.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Commands/ToolCommands.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -46,7 +46,7 @@
 		{
 			Gdk.Color color = this.ColorSelection.CurrentColor;
 			StringBuilder s = new StringBuilder ();
-			ushort[] vals = { color.red, color.green, color.blue };
+			ushort[] vals = { color.Red, color.Green, color.Blue };
 			// debug line
 			// Console.WriteLine("r {0}, b {1}, g{2}", color.red, color.green, color.blue );
 			char[] hexchars = {'0', '1', '2', '3', '4', '5', '6', '7', '8', '9', 'A', 'B', 'C', 'D', 'E', 'F'};

Modified: trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs
===================================================================
--- trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/AddIns/DisplayBindings/SourceEditor/Gui/SourceEditorView.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -42,7 +42,7 @@
 		protected override bool OnKeyPressEvent (ref Gdk.EventKey evnt)
 		{
 			Gdk.Key key = evnt.Key;
-			uint state = evnt.state;
+			uint state = evnt.State;
 			state &= 1101u;
 			const uint Normal = 0, Shift = 1, Control = 4, ShiftControl = 5, Alt = 8;
 			

Modified: trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/PropertyGrid/ELabel.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/PropertyGrid/ELabel.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/Libraries/MonoDevelop.Gui.Widgets/PropertyGrid/ELabel.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -46,9 +46,9 @@
 				return;
 			}
 	
-			if (Allocation.width != old_width) 
+			if (Allocation.Width != old_width) 
 				Refresh ();
-			old_width = Allocation.width;
+			old_width = Allocation.Width;
 	
 			refreshed = true;
 		}
@@ -66,7 +66,7 @@
 	
 		void Refresh ()
 		{
-			string ellipsized = Ellipsize (layout, text, Allocation.width, ellipsis_width, en_width);
+			string ellipsized = Ellipsize (layout, text, Allocation.Width, ellipsis_width, en_width);
 			if (base.Text != ellipsized)
 				base.Text = ellipsized;
 		}

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/Wizard/StatusPanel.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/Wizard/StatusPanel.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/Wizard/StatusPanel.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -61,7 +61,7 @@
 		
 		protected void OnPaint(object o, GtkSharp.ExposeEventArgs e)
 		{
-			GdkWindow.BeginPaintRect (e.Event.area);
+			GdkWindow.BeginPaintRect (e.Event.Area);
 				GdkWindow.DrawPixbuf (gc, bitmap, 0, 0, 0, 0, -1, -1, Gdk.RgbDither.None, 0, 0);
 				smallFont.Weight = Pango.Weight.Normal;
 				ly.FontDescription = smallFont;

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/ClassScout/ClassScout.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/ClassScout/ClassScout.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/ClassScout/ClassScout.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -222,7 +222,7 @@
 #endif
 		{
 			//if (e.Button == MouseButtons.Right && SelectedNode != null && SelectedNode is AbstractClassScoutNode) {
-			if (args.Event.button == 3 && SelectedNode != null && SelectedNode is AbstractClassScoutNode) {
+			if (args.Event.Button == 3 && SelectedNode != null && SelectedNode is AbstractClassScoutNode) {
 				AbstractClassScoutNode selectedBrowserNode = (AbstractClassScoutNode)SelectedNode;
 				if (selectedBrowserNode.ContextmenuAddinTreePath != null && selectedBrowserNode.ContextmenuAddinTreePath.Length > 0) {
 					MenuService menuService = (MenuService)ICSharpCode.Core.Services.ServiceManager.Services.GetService(typeof(MenuService));

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs	2004-02-10 05:54:33 UTC (rev 858)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Pads/ProjectBrowser/ProjectBrowserView.cs	2004-02-10 18:58:33 UTC (rev 859)
@@ -335,7 +335,7 @@
 */
 		private void OnButtonRelease(object sender, GtkSharp.ButtonReleaseEventArgs args)
 		{
-			if (args.Event.button != 3 || SelectedNode == null) {
+			if (args.Event.Button != 3 || SelectedNode == null) {
 				return;
 			}
 			AbstractBrowserNode node = (AbstractBrowserNode) SelectedNode;




More information about the Monodevelop-patches-list mailing list