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>2016-06-07 17:28:58 +0300
committerLluis Sanchez <lluis@xamarin.com>2016-06-07 22:31:48 +0300
commit27f7da25732db8b84f5824568de8c7b721753d93 (patch)
tree3a536a7b86d1396a3b537a4757f4c5fefdcc643e /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs
parentc8840b167502f02798e2c0ece7726aac9608d8e8 (diff)
[Ide] Run configurations UI tweaks
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs17
1 files changed, 15 insertions, 2 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs
index 264ba48893..e749035dee 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.Dialogs/OptionsDialog.cs
@@ -332,7 +332,20 @@ namespace MonoDevelop.Ide.Gui.Dialogs
}
}
}
-
+
+ internal void ExpandChildren (IOptionsPanel parent)
+ {
+ foreach (SectionPage page in pages.Values) {
+ foreach (PanelInstance pi in page.Panels) {
+ if (pi.Panel == parent) {
+ tree.ExpandToPath (store.GetPath (page.Iter));
+ tree.ExpandRow (store.GetPath (page.Iter), false);
+ return;
+ }
+ }
+ }
+ }
+
internal void AddChildSection (IOptionsPanel parent, OptionsDialogSection section, object dataObject)
{
foreach (SectionPage page in pages.Values) {
@@ -538,7 +551,7 @@ namespace MonoDevelop.Ide.Gui.Dialogs
CreatePageWidget (page);
if (section.HeaderImage == null) {
- labelTitle.Markup = "<span weight=\"bold\" size=\"large\">" + GLib.Markup.EscapeText (section.Label) + "</span>";
+ labelTitle.Markup = "<span weight=\"bold\" size=\"large\">" + GLib.Markup.EscapeText (section.HeaderLabel) + "</span>";
textHeader.Show ();
imageHeader.Hide ();
} else {