Author: lluis
Date: 2008-01-23 15:02:32 -0500 (Wed, 23 Jan 2008)
New Revision: 93701

Modified:
   branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
   
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/WordCountDialog.cs
Log:
        * MonoDevelop.Ide.Gui.Dialogs/WordCountDialog.cs: Fix crash when 
counting
          words in a solution with a translation project. Changed the order of 
the
          buttons. Execute should be the rightmost.

2008-01-23  Lluis Sanchez Gual <[EMAIL PROTECTED]> 



Modified: branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog
===================================================================
--- branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog    
2008-01-23 20:02:04 UTC (rev 93700)
+++ branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/ChangeLog    
2008-01-23 20:02:32 UTC (rev 93701)
@@ -1,5 +1,11 @@
 2008-01-23  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
+       * MonoDevelop.Ide.Gui.Dialogs/WordCountDialog.cs: Fix crash when 
counting
+         words in a solution with a translation project. Changed the order of 
the
+         buttons. Execute should be the rightmost.
+
+2008-01-23  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
        * MonoDevelop.Ide.Gui/Ide.cs: Initialize the resource service before
          initializing the workbench.
 

Modified: 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/WordCountDialog.cs
===================================================================
--- 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/WordCountDialog.cs
       2008-01-23 20:02:04 UTC (rev 93700)
+++ 
branches/monodevelop/main/1.0/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/WordCountDialog.cs
       2008-01-23 20:02:32 UTC (rev 93701)
@@ -159,7 +159,7 @@
                                                        items.Add(r);
                                                }
                                        }
-                               } else
+                               } else if (entry is Combine)
                                        CountCombine ((Combine)entry, ref all);
                        }
                }
@@ -203,12 +203,12 @@
                        this.Title = GettextCatalog.GetString ("Word Count");
                        Button startButton = new Button (Gtk.Stock.Execute);
                        startButton.Clicked += new EventHandler (StartEvent);
+                       
+                       this.AddButton (Gtk.Stock.Cancel, (int) 
ResponseType.Cancel);
 
                        // dont emit response
                        this.ActionArea.PackStart (startButton);
                        
-                       this.AddButton (Gtk.Stock.Cancel, (int) 
ResponseType.Cancel);
-                       
                        scrolledwindow = new ScrolledWindow();
                        scrolledwindow.VscrollbarPolicy = PolicyType.Automatic;
                        scrolledwindow.HscrollbarPolicy = PolicyType.Never;

_______________________________________________
Mono-patches maillist  -  [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to