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:
authorMike Krüger <mkrueger@novell.com>2009-03-13 15:41:48 +0300
committerMike Krüger <mkrueger@novell.com>2009-03-13 15:41:48 +0300
commit10760cdf22e64155ab8d844155b159728ce21e03 (patch)
tree93276c9cc0d9fe3f52c9605b10f0c5de1d722239 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting
parent48f335b094a6428adc2dd7df3be1bba4bbb7bc04 (diff)
* gtk-gui/gui.stetic:
* gtk-gui/MonoDevelop.Ide.DocumentSwitcher.cs: * gtk-gui/MonoDevelop.Ide.SelectEncodingsDialog.cs: * gtk-gui/MonoDevelop.Ide.Gui.Dialogs.NewFileDialog.cs: * gtk-gui/MonoDevelop.Ide.Gui.Dialogs.TipOfTheDayWindow.cs: * gtk-gui/MonoDevelop.Ide.Gui.Dialogs.ExportProjectDialog.cs: * MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs: * gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.KeyBindingsPanel.cs: * gtk-gui/MonoDevelop.Ide.Gui.OptionPanels.AddInsPanelWidget.cs: * gtk-gui/MonoDevelop.Ide.Gui.Dialogs.EncapsulateFieldDialog.cs: * gtk-gui/MonoDevelop.Ide.CodeFormatting.CodeFormattingPolicyPanelWidget.cs: Worked on code format panel. svn path=/trunk/monodevelop/; revision=129272
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs5
1 files changed, 5 insertions, 0 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs
index a38bcf96bd..84497782a7 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.CodeFormatting/CodeFormattingPolicyPanel.cs
@@ -87,6 +87,11 @@ namespace MonoDevelop.Ide.CodeFormatting
public CodeFormattingPolicyPanelWidget()
{
this.Build();
+ ListStore store = new ListStore (typeof (string), typeof (string));
+ store.AppendValues ("text/x-csharp", "default");
+ treeviewUsedProfiles.Model = store;
+ treeviewUsedProfiles.AppendColumn ("mime type", new CellRendererText (), "text", 0);
+ treeviewUsedProfiles.AppendColumn ("profile", new CellRendererText (), "text", 1);
description = TextFileService.GetFormatDescription ("text/x-csharp");
settings = new List<CodeFormatSettings> (TextFileService.GetAvailableSettings (description));