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:
authorMichael Hutchinson <mhutchinson@novell.com>2010-11-06 00:18:28 +0300
committerMichael Hutchinson <mhutchinson@novell.com>2010-11-06 00:18:28 +0300
commitfe64796d9493f8c2cb781162e5cc8e13d9f0fa0c (patch)
treeada6a108ec498508a51519220ae9f075554eb0b2 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels
parent8f0424c57fa81e8d71fa1927fb0a1ec0e7604893 (diff)
Fix GTK warnings
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs6
1 files changed, 3 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs
index 84114bf4c6..d760cd356d 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Projects.OptionPanels/CustomCommandWidget.cs
@@ -88,12 +88,12 @@ namespace MonoDevelop.Ide.Projects.OptionPanels
Array array = Enum.GetValues (typeof (CustomCommandType));
comboType.Active = Array.IndexOf (array, cmd.Type);
labelName.Visible = entryName.Visible = (cmd.Type == CustomCommandType.Custom);
- entryName.Text = cmd.Name;
- entryCommand.Text = cmd.Command;
+ entryName.Text = cmd.Name ?? "";
+ entryCommand.Text = cmd.Command ?? "";
checkExternalCons.Active = cmd.ExternalConsole;
checkPauseCons.Active = cmd.PauseExternalConsole;
checkPauseCons.Sensitive = cmd.ExternalConsole;
- workingdirEntry.Text = cmd.WorkingDir;
+ workingdirEntry.Text = cmd.WorkingDir ?? "";
}
updating = false;
}