[Monodevelop-patches-list] r1009 - in trunk/MonoDevelop/src: Libraries/SharpRefactory/src/Parser/AST/Expressions Main/Base/Gui/Dialogs

commit-watcher at mono-cvs.ximian.com commit-watcher at mono-cvs.ximian.com
Mon Feb 23 16:34:55 EST 2004


Author: tberman
Date: 2004-02-23 16:34:54 -0500 (Mon, 23 Feb 2004)
New Revision: 1009

Modified:
   trunk/MonoDevelop/src/Libraries/SharpRefactory/src/Parser/AST/Expressions/PrimitiveExpression.cs
   trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs
Log:
committing a patch from Inigo Illan <kodeport at terra.es>
also rework a patch from Inigo to be more friendly.


Modified: trunk/MonoDevelop/src/Libraries/SharpRefactory/src/Parser/AST/Expressions/PrimitiveExpression.cs
===================================================================
--- trunk/MonoDevelop/src/Libraries/SharpRefactory/src/Parser/AST/Expressions/PrimitiveExpression.cs	2004-02-23 21:05:30 UTC (rev 1008)
+++ trunk/MonoDevelop/src/Libraries/SharpRefactory/src/Parser/AST/Expressions/PrimitiveExpression.cs	2004-02-23 21:34:54 UTC (rev 1009)
@@ -33,7 +33,7 @@
 			this.stringValue = stringValue;
 		}
 		
-		static NumberFormatInfo nfi = new CultureInfo( "en-US", false ).NumberFormat;
+		static NumberFormatInfo nfi = CultureInfo.InvariantCulture.NumberFormat;
 
 		public override object AcceptVisitor(IASTVisitor visitor, object data)
 		{

Modified: trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs
===================================================================
--- trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs	2004-02-23 21:05:30 UTC (rev 1008)
+++ trunk/MonoDevelop/src/Main/Base/Gui/Dialogs/WordCountDialog.cs	2004-02-23 21:34:54 UTC (rev 1009)
@@ -22,6 +22,7 @@
 	public class WordCountDialog : Dialog
 	{
 		static GLib.GType gtype;
+		ScrolledWindow scrolledwindow;
 		TreeView resultListView;
 		TreeStore store;
 		ArrayList items;
@@ -301,6 +302,10 @@
 			
 			this.AddButton (Stock.Cancel, (int) ResponseType.Cancel);
 			
+			scrolledwindow = new ScrolledWindow();
+			scrolledwindow.VscrollbarPolicy = PolicyType.Automatic;
+			scrolledwindow.HscrollbarPolicy = PolicyType.Never;
+			
 			resultListView = new TreeView ();
 			resultListView.RulesHint = true;
 
@@ -341,8 +346,9 @@
 			locationComboBox.Menu = m;
 			hbox.PackStart (locationComboBox);
 			
+			scrolledwindow.Add(resultListView);
 			this.VBox.PackStart (hbox, false, true, 0);
-			this.VBox.PackStart (resultListView, true, true, 6);
+			this.VBox.PackStart (scrolledwindow, true, true, 6);
 		}
 		
 		private void OnOptionChanged (object o, EventArgs args)




More information about the Monodevelop-patches-list mailing list