diff options
author | Lluis Sanchez Gual <lluis@novell.com> | 2011-03-31 21:40:46 +0400 |
---|---|---|
committer | Lluis Sanchez Gual <lluis@novell.com> | 2011-03-31 21:40:46 +0400 |
commit | 98797cb14ff0bfa036c5091fd6fa8e49d1608145 (patch) | |
tree | 3d45641b84749b26fab8482e3d2564e44331f711 /main/src/addins/CBinding | |
parent | 5aa1e27712243c880e8170235e0ca82e95800623 (diff) |
Added options parameter to OpenDocument
Replaced the old bringToFront and hilightCaret boolean parameters
by a new options parameter which have those and other options.
Diffstat (limited to 'main/src/addins/CBinding')
-rw-r--r-- | main/src/addins/CBinding/Gui/CTextEditorExtension.cs | 2 | ||||
-rw-r--r-- | main/src/addins/CBinding/gtk-gui/CBinding.CodeGenerationPanel.cs | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/main/src/addins/CBinding/Gui/CTextEditorExtension.cs b/main/src/addins/CBinding/Gui/CTextEditorExtension.cs index 635e250fa3..e30477d877 100644 --- a/main/src/addins/CBinding/Gui/CTextEditorExtension.cs +++ b/main/src/addins/CBinding/Gui/CTextEditorExtension.cs @@ -767,7 +767,7 @@ namespace CBinding { LanguageItem item = GetLanguageItemAt (Editor.Caret.Location); if (item != null) - IdeApp.Workbench.OpenDocument ((FilePath)item.File, (int)item.Line, 1, true); + IdeApp.Workbench.OpenDocument ((FilePath)item.File, (int)item.Line, 1); } [CommandUpdateHandler (MonoDevelop.Refactoring.RefactoryCommands.GotoDeclaration)] diff --git a/main/src/addins/CBinding/gtk-gui/CBinding.CodeGenerationPanel.cs b/main/src/addins/CBinding/gtk-gui/CBinding.CodeGenerationPanel.cs index f601009c07..3b3b4a1cb8 100644 --- a/main/src/addins/CBinding/gtk-gui/CBinding.CodeGenerationPanel.cs +++ b/main/src/addins/CBinding/gtk-gui/CBinding.CodeGenerationPanel.cs @@ -158,6 +158,7 @@ namespace CBinding this.noWarningRadio = new global::Gtk.RadioButton (global::Mono.Unix.Catalog.GetString ("no warnings")); this.noWarningRadio.CanFocus = true; this.noWarningRadio.Name = "noWarningRadio"; + this.noWarningRadio.Active = true; this.noWarningRadio.DrawIndicator = true; this.noWarningRadio.UseUnderline = true; this.noWarningRadio.Group = new global::GLib.SList (global::System.IntPtr.Zero); |