Author: lluis
Date: 2007-07-19 08:31:51 -0400 (Thu, 19 Jul 2007)
New Revision: 82282

Modified:
   trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs
   
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs
Log:
* MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs: Generate
  comments by default.
* MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs: Fix nullref.

Modified: trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog
===================================================================
--- trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2007-07-19 
11:47:30 UTC (rev 82281)
+++ trunk/monodevelop/Core/src/MonoDevelop.Ide/ChangeLog        2007-07-19 
12:31:51 UTC (rev 82282)
@@ -1,5 +1,11 @@
 2007-07-19  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
+       * MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs: Generate
+         comments by default.
+       * MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs: Fix nullref.
+
+2007-07-19  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
        * MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs: Show command
          icons in the list.
        * MonoDevelop.Ide.Commands/ViewCommands.cs: The pad list doesn't show

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs
        2007-07-19 11:47:30 UTC (rev 82281)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.Gui/SdiWorkspaceWindow.cs
        2007-07-19 12:31:51 UTC (rev 82282)
@@ -388,11 +388,11 @@
                                if (content.StockIconId != null ) {
                                        tabLabel.Icon = new Gtk.Image ( 
content.StockIconId, IconSize.Menu );
                                }
-                               else if (content.ContentName.IndexOfAny (new 
char[] { '*', '+'}) == -1) {
+                               else if (content.ContentName != null && 
content.ContentName.IndexOfAny (new char[] { '*', '+'}) == -1) {
                                        tabLabel.Icon.Pixbuf = 
FileIconLoader.GetPixbufForFile (content.ContentName, 16);
                                }
-                       } catch {
-                               Runtime.LoggingService.Error (e);
+                       } catch (Exception ex) {
+                               Runtime.LoggingService.Error (ex);
                                tabLabel.Icon.Pixbuf = 
FileIconLoader.GetPixbufForType ("gnome-fs-regular", 16);
                        }
 

Modified: 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs
===================================================================
--- 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs
  2007-07-19 11:47:30 UTC (rev 82281)
+++ 
trunk/monodevelop/Core/src/MonoDevelop.Ide/MonoDevelop.Ide.StandardHeader/StandardHeaderService.cs
  2007-07-19 12:31:51 UTC (rev 82282)
@@ -43,7 +43,7 @@
                const string templateFileName = "StandardHeader.xml";
                
                static string header;
-               static bool   generateComments;
+               static bool   generateComments = true;
                
                static List<KeyValuePair<string, string>> headerTemplates = new 
List<KeyValuePair<string, string>> ();
                static List<KeyValuePair<string, string>> customTemplates = new 
List<KeyValuePair<string, string>> ();

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

Reply via email to