Author: lluis
Date: 2008-02-18 05:25:42 -0500 (Mon, 18 Feb 2008)
New Revision: 96034

Modified:
   
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/ChangeLog
   
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/DotDesktopView.cs
Log:
* MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/DotDesktopView.cs:
  Fixed nullref.

Modified: 
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/ChangeLog
===================================================================
--- 
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/ChangeLog
 2008-02-18 10:24:12 UTC (rev 96033)
+++ 
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/ChangeLog
 2008-02-18 10:25:42 UTC (rev 96034)
@@ -1,3 +1,7 @@
+2008-02-18  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
+
+       * MonoDevelop.Deployment.Linux/DotDesktopView.cs: Fixed nullref.
+
 2008-01-25  Lluis Sanchez Gual <[EMAIL PROTECTED]> 
 
        * MonoDevelop.Deployment.Linux.addin.xml: Update MD version.

Modified: 
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/DotDesktopView.cs
===================================================================
--- 
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/DotDesktopView.cs
    2008-02-18 10:24:12 UTC (rev 96033)
+++ 
trunk/monodevelop/main/src/addins/Deployment/MonoDevelop.Deployment.Linux/MonoDevelop.Deployment.Linux/DotDesktopView.cs
    2008-02-18 10:25:42 UTC (rev 96034)
@@ -15,12 +15,13 @@
                        widget.Changed += delegate {
                                IsDirty = true;
                        };
+                       entry = new DesktopEntry ();
+                       widget.DesktopEntry = entry;
                }
                
                public override void Load (string fileName)
                {
                        ContentName = fileName;
-                       entry = new DesktopEntry ();
                        entry.Load (fileName);
                        widget.DesktopEntry = entry;
                }

_______________________________________________
Mono-patches maillist  -  Mono-patches@lists.ximian.com
http://lists.ximian.com/mailman/listinfo/mono-patches

Reply via email to