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:
authorVsevolod Kukol <sevoku@xamarin.com>2016-06-01 20:59:04 +0300
committerVsevolod Kukol <sevoku@xamarin.com>2016-06-02 11:02:06 +0300
commit7cbf5867f38f5f067da86b10559244a1f2fdf6d8 (patch)
tree58e954a558a732a1fe57e2a4d7cb921f45f2d270 /main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels
parentb66a080d5d2e61bc906777841a8545ccb4d9d178 (diff)
[Ide] Disable Gtk interactive search in TreeViews
Diffstat (limited to 'main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels')
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs5
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs3
-rw-r--r--main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/TasksOptionsPanel.cs3
3 files changed, 8 insertions, 3 deletions
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs
index a0fb1e9b69..115b78ba70 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/KeyBindingsPanel.cs
@@ -132,7 +132,9 @@ namespace MonoDevelop.Ide.Gui.OptionPanels
});
};
};
-
+
+ keyTreeView.SearchColumn = -1; // disable the interactive search
+
//HACK: workaround for MD Bug 608021: Stetic loses values assigned to "new" properties of custom widget
conflicButton.Label = GettextCatalog.GetString ("_View Conflicts");
conflicButton.UseUnderline = true;
@@ -154,6 +156,7 @@ namespace MonoDevelop.Ide.Gui.OptionPanels
if (keyStore.GetIterFirst (out iter))
Refilter (iter, allVisible);
keyTreeView.Model = filterModel;
+ keyTreeView.SearchColumn = -1; // disable the interactive search
keyTreeView.ExpandAll ();
keyTreeView.ColumnsAutosize ();
}
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
index bb4eeb7d7a..71394230da 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/MonoRuntimePanel.cs
@@ -74,7 +74,8 @@ namespace MonoDevelop.Ide.Gui.OptionPanels
);
store = new ListStore (typeof(string), typeof(object));
tree.Model = store;
-
+ tree.SearchColumn = -1; // disable the interactive search
+
CellRendererText crt = new CellRendererText ();
tree.AppendColumn ("Runtime", crt, "markup", 0);
TargetRuntime defRuntime = IdeApp.Preferences.DefaultTargetRuntime;
diff --git a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/TasksOptionsPanel.cs b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/TasksOptionsPanel.cs
index 94dd433b93..f140f76bbd 100644
--- a/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/TasksOptionsPanel.cs
+++ b/main/src/core/MonoDevelop.Ide/MonoDevelop.Ide.Gui.OptionPanels/TasksOptionsPanel.cs
@@ -59,7 +59,8 @@ namespace MonoDevelop.Ide.Gui.OptionPanels
tokensTreeView.AppendColumn (String.Empty, new CellRendererText (), "text", 0);
tokensTreeView.Selection.Changed += new EventHandler (OnTokenSelectionChanged);
tokensTreeView.Model = tokensStore;
-
+ tokensTreeView.SearchColumn = -1; // disable the interactive search
+
OnTokenSelectionChanged (null, null);
buttonAdd.Clicked += new EventHandler (AddToken);