Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/monodevelop.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLluis Sanchez <lluis@xamarin.com>2013-05-02 22:07:57 +0400
committerLluis Sanchez <lluis@xamarin.com>2013-05-02 22:07:57 +0400
commit8fe75c7ec634d65bdf3c0d654619e67414a3061e (patch)
tree884148c945ecd19fd3c3afd0973d641fbbd89987 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
parent04c5e80870e436f07d4617c8044b37f57fb54edf (diff)
Fix warnings
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
index 316f2bad41..360b044631 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Commands/FileCommands.cs
@@ -272,8 +272,10 @@ namespace MonoDevelop.Ide.Commands
Description = GettextCatalog.GetString ("Open {0}", ri.FileName)
};
Gdk.Pixbuf icon = DesktopService.GetPixbufForFile (ri.FileName, IconSize.Menu);
+ #pragma warning disable 618
if (icon != null)
cmd.Icon = ImageService.GetStockId (icon, IconSize.Menu);
+ #pragma warning restore 618
info.Add (cmd, ri.FileName);
i++;
}