diff options
author | Mike Krüger <mkrueger@xamarin.com> | 2016-09-19 11:36:22 +0300 |
---|---|---|
committer | Mike Krüger <mkrueger@xamarin.com> | 2016-09-19 11:36:22 +0300 |
commit | d96668af44b5cc1037a40cd84eab4c754bb60f5e (patch) | |
tree | bf701dee068e609f420007958f018db3ff756b6d /main/src/core/MonoDevelop.Ide/gtk-gui | |
parent | 69d4be1ddc59f605caf6d6e56adb43d26341085f (diff) |
[Ide] Added some description to the language bundle panel.
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/gtk-gui')
-rw-r--r-- | main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget.cs | 52 | ||||
-rw-r--r-- | main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic | 62 |
2 files changed, 63 insertions, 51 deletions
diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget.cs b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget.cs index 061df98193..d3d7c385c3 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget.cs +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget.cs @@ -16,6 +16,8 @@ namespace MonoDevelop.Ide.Editor.TextMate private global::Gtk.TreeView bundleTreeview; + private global::Gtk.Label label2; + private global::Gtk.HBox hbox2; private global::Gtk.Button addButton; @@ -72,6 +74,16 @@ namespace MonoDevelop.Ide.Editor.TextMate global::Gtk.Box.BoxChild w5 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.scrolledwindow1])); w5.Position = 0; // Container child vbox5.Gtk.Box+BoxChild + this.label2 = new global::Gtk.Label(); + this.label2.Name = "label2"; + this.label2.Xalign = 0F; + this.label2.LabelProp = global::Mono.Unix.Catalog.GetString("Language bundles can provide new editor themes, code snippets, code completion items and\nother information to improve the editing experience of specific languages.\nXamarin Studio supports:\n*TextMate (.tmBundle)* and *Sublime 3 (.sublime)* package files."); + this.vbox5.Add(this.label2); + global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.label2])); + w6.Position = 1; + w6.Expand = false; + w6.Fill = false; + // Container child vbox5.Gtk.Box+BoxChild this.hbox2 = new global::Gtk.HBox(); this.hbox2.Name = "hbox2"; this.hbox2.Spacing = 6; @@ -83,11 +95,11 @@ namespace MonoDevelop.Ide.Editor.TextMate this.addButton.UseUnderline = true; this.addButton.Label = "gtk-add"; this.hbox2.Add(this.addButton); - global::Gtk.Box.BoxChild w6 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.addButton])); - w6.PackType = ((global::Gtk.PackType)(1)); - w6.Position = 0; - w6.Expand = false; - w6.Fill = false; + global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.addButton])); + w7.PackType = ((global::Gtk.PackType)(1)); + w7.Position = 0; + w7.Expand = false; + w7.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.removeButton = new global::Gtk.Button(); this.removeButton.CanFocus = true; @@ -96,11 +108,11 @@ namespace MonoDevelop.Ide.Editor.TextMate this.removeButton.UseUnderline = true; this.removeButton.Label = "gtk-remove"; this.hbox2.Add(this.removeButton); - global::Gtk.Box.BoxChild w7 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.removeButton])); - w7.PackType = ((global::Gtk.PackType)(1)); - w7.Position = 1; - w7.Expand = false; - w7.Fill = false; + global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.removeButton])); + w8.PackType = ((global::Gtk.PackType)(1)); + w8.Position = 1; + w8.Expand = false; + w8.Fill = false; // Container child hbox2.Gtk.Box+BoxChild this.buttonEdit = new global::Gtk.Button(); this.buttonEdit.CanFocus = true; @@ -108,21 +120,21 @@ namespace MonoDevelop.Ide.Editor.TextMate this.buttonEdit.UseUnderline = true; this.buttonEdit.Label = global::Mono.Unix.Catalog.GetString("_Edit"); this.hbox2.Add(this.buttonEdit); - global::Gtk.Box.BoxChild w8 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonEdit])); - w8.PackType = ((global::Gtk.PackType)(1)); - w8.Position = 2; - w8.Expand = false; - w8.Fill = false; - this.vbox5.Add(this.hbox2); - global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox2])); + global::Gtk.Box.BoxChild w9 = ((global::Gtk.Box.BoxChild)(this.hbox2[this.buttonEdit])); w9.PackType = ((global::Gtk.PackType)(1)); - w9.Position = 1; + w9.Position = 2; w9.Expand = false; w9.Fill = false; + this.vbox5.Add(this.hbox2); + global::Gtk.Box.BoxChild w10 = ((global::Gtk.Box.BoxChild)(this.vbox5[this.hbox2])); + w10.PackType = ((global::Gtk.PackType)(1)); + w10.Position = 2; + w10.Expand = false; + w10.Fill = false; this.GtkAlignment.Add(this.vbox5); this.vbox4.Add(this.GtkAlignment); - global::Gtk.Box.BoxChild w11 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkAlignment])); - w11.Position = 1; + global::Gtk.Box.BoxChild w12 = ((global::Gtk.Box.BoxChild)(this.vbox4[this.GtkAlignment])); + w12.Position = 1; this.Add(this.vbox4); if ((this.Child != null)) { diff --git a/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic b/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic index d60aa816f6..9887d0016a 100644 --- a/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic +++ b/main/src/core/MonoDevelop.Ide/gtk-gui/gui.stetic @@ -62,7 +62,6 @@ <child> <widget class="MonoDevelop.Components.FolderEntry" id="folderEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="TopAttach">2</property> @@ -559,7 +558,6 @@ <child> <widget class="MonoDevelop.Components.FolderEntry" id="folderEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="Position">3</property> @@ -1295,7 +1293,6 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.FileEntry" id="browseButton"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="TopAttach">1</property> @@ -2595,8 +2592,8 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.ImageView" id="imageAdd"> <property name="MemberName" /> - <property name="IconSize">Button</property> <property name="IconId">gtk-add</property> + <property name="IconSize">Button</property> </widget> </child> </widget> @@ -2615,8 +2612,8 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.ImageView" id="imageRemove"> <property name="MemberName" /> - <property name="IconSize">Button</property> <property name="IconId">gtk-remove</property> + <property name="IconSize">Button</property> </widget> </child> </widget> @@ -2667,8 +2664,8 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.ImageView" id="imageUp"> <property name="MemberName" /> - <property name="IconSize">Button</property> <property name="IconId">gtk-go-up</property> + <property name="IconSize">Button</property> </widget> </child> </widget> @@ -2687,8 +2684,8 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.ImageView" id="imageDown"> <property name="MemberName" /> - <property name="IconSize">Button</property> <property name="IconId">gtk-go-down</property> + <property name="IconSize">Button</property> </widget> </child> </widget> @@ -3161,7 +3158,6 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.FolderEntry" id="projectFolderEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="Position">1</property> @@ -3236,8 +3232,8 @@ Diagnostic</property> </child> </widget> <widget class="Gtk.Bin" id="MonoDevelop.Ide.Gui.OptionPanels.IDEStyleOptionsPanelWidget" design-size="315 285"> - <property name="GeneratePublic">False</property> <property name="MemberName" /> + <property name="GeneratePublic">False</property> <child> <widget class="Gtk.VBox" id="vbox13"> <property name="MemberName" /> @@ -5478,7 +5474,6 @@ Diagnostic</property> <child> <widget class="MonoDevelop.Components.FolderEntry" id="folderEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="TopAttach">1</property> @@ -7464,7 +7459,6 @@ All solutions</property> <child> <widget class="MonoDevelop.Components.FileEntry" id="strongNameFileEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="Position">1</property> @@ -7538,7 +7532,6 @@ All solutions</property> <child> <widget class="MonoDevelop.Components.FolderEntry" id="folderEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="Position">1</property> @@ -7672,7 +7665,6 @@ All solutions</property> <child> <widget class="MonoDevelop.Components.FolderEntry" id="outputPathEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="TopAttach">1</property> @@ -8068,8 +8060,8 @@ All solutions</property> <widget class="MonoDevelop.Components.ImageView" id="imageQuestion"> <property name="MemberName" /> <property name="Yalign">0</property> - <property name="IconSize">Dialog</property> <property name="IconId">gtk-dialog-question</property> + <property name="IconSize">Dialog</property> </widget> <packing> <property name="Position">0</property> @@ -8681,7 +8673,6 @@ All solutions</property> <child> <widget class="MonoDevelop.Components.FolderEntry" id="folderentry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="Position">2</property> @@ -9389,16 +9380,15 @@ Visual Studio generates a default ID for embedded resources, instead of simply u <property name="Tooltip" translatable="yes">Add existing files to the project</property> <property name="CanFocus">True</property> <property name="Type">Custom</property> - <property name="UseUnderline">True</property> <property name="Relief">None</property> <signal name="Clicked" handler="OnAddFileButtonClicked" /> - <child> - <widget class="MonoDevelop.Components.ImageView" id="imageAdd"> - <property name="MemberName" /> - <property name="IconSize">Menu</property> - <property name="IconId">gtk-add</property> - </widget> - </child> + <child> + <widget class="MonoDevelop.Components.ImageView" id="imageAdd"> + <property name="MemberName" /> + <property name="IconId">gtk-add</property> + <property name="IconSize">Menu</property> + </widget> + </child> </widget> <packing> <property name="Position">0</property> @@ -9655,8 +9645,6 @@ Visual Studio generates a default ID for embedded resources, instead of simply u <child> <widget class="MonoDevelop.Components.FolderEntry" id="folderentry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> - <signal name="PathChanged" handler="OnFolderentryPathChanged" /> </widget> <packing> <property name="Position">0</property> @@ -10661,7 +10649,6 @@ Visual Studio generates a default ID for embedded resources, instead of simply u <child> <widget class="MonoDevelop.Components.FileEntry" id="fileEntry"> <property name="MemberName" /> - <property name="DisplayAsRelativePath">False</property> </widget> <packing> <property name="Position">1</property> @@ -10903,9 +10890,6 @@ Visual Studio generates a default ID for embedded resources, instead of simply u <child> <widget class="MonoDevelop.Components.FileEntry" id="fileEntry"> <property name="MemberName" /> - <property name="BrowserTitle">Select Policy Set File</property> - <property name="DisplayAsRelativePath">False</property> - <signal name="PathChanged" handler="OnFileEntryPathChanged" /> </widget> <packing> <property name="Position">1</property> @@ -12117,7 +12101,7 @@ Visual Studio generates a default ID for embedded resources, instead of simply u </widget> </child> </widget> - <widget class="Gtk.Bin" id="MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget" design-size="565 400"> + <widget class="Gtk.Bin" id="MonoDevelop.Ide.Editor.TextMate.TextMateBundleOptionsPanelWidget" design-size="1359 400"> <property name="MemberName" /> <property name="Visible">False</property> <child> @@ -12174,6 +12158,22 @@ Visual Studio generates a default ID for embedded resources, instead of simply u </packing> </child> <child> + <widget class="Gtk.Label" id="label2"> + <property name="MemberName" /> + <property name="Xalign">0</property> + <property name="LabelProp" translatable="yes">Language bundles can provide new editor themes, code snippets, code completion items and +other information to improve the editing experience of specific languages. +Xamarin Studio supports: +*TextMate (.tmBundle)* and *Sublime 3 (.sublime)* package files.</property> + </widget> + <packing> + <property name="Position">1</property> + <property name="AutoSize">True</property> + <property name="Expand">False</property> + <property name="Fill">False</property> + </packing> + </child> + <child> <widget class="Gtk.HBox" id="hbox2"> <property name="MemberName" /> <property name="Spacing">6</property> @@ -12230,7 +12230,7 @@ Visual Studio generates a default ID for embedded resources, instead of simply u </widget> <packing> <property name="PackType">End</property> - <property name="Position">1</property> + <property name="Position">2</property> <property name="AutoSize">True</property> <property name="Expand">False</property> <property name="Fill">False</property> |