From 78021dc72ceb61097b68c099be34ce6f384055eb Mon Sep 17 00:00:00 2001 From: namespace Date: Thu, 26 Apr 2007 18:14:45 +0000 Subject: [PATCH] - Disabled auto-search for texbrowser and entityinspector even when the option is turned on in the gtkrc git-svn-id: https://zerowing.idsoftware.com/svn/radiant/GtkRadiant/trunk@166 8a3a26a2-13c4-0310-b231-cf6edde360e5 --- CHANGES | 4 ++++ radiant/entityinspector.cpp | 2 ++ radiant/texwindow.cpp | 2 ++ setup/win32/components/gtk2.xml | 2 +- 4 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGES b/CHANGES index fcdd5b51..6abb592e 100644 --- a/CHANGES +++ b/CHANGES @@ -1,6 +1,10 @@ This is the changelog for developers, != changelog for the end user that we distribute with the binaries. (see changelog) +26/04/2007 +- Disabled auto-search for texbrowser and entityinspector even when the option + is turned on in the gtkrc + 26/04/2007 - Fixed q3map2 lightbounce bug (by Unknown) diff --git a/radiant/entityinspector.cpp b/radiant/entityinspector.cpp index de3086d8..e2f3c194 100644 --- a/radiant/entityinspector.cpp +++ b/radiant/entityinspector.cpp @@ -1476,6 +1476,7 @@ GtkWidget* EntityInspector_constructWindow(GtkWindow* toplevel) GtkListStore* store = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_POINTER); GtkTreeView* view = GTK_TREE_VIEW(gtk_tree_view_new_with_model(GTK_TREE_MODEL(store))); + gtk_tree_view_set_enable_search(GTK_TREE_VIEW(view), FALSE); gtk_tree_view_set_headers_visible(view, FALSE); g_signal_connect(G_OBJECT(view), "button_press_event", G_CALLBACK(EntityClassList_button_press), 0); g_signal_connect(G_OBJECT(view), "key_press_event", G_CALLBACK(EntityClassList_keypress), 0); @@ -1559,6 +1560,7 @@ GtkWidget* EntityInspector_constructWindow(GtkWindow* toplevel) GtkListStore* store = gtk_list_store_new(2, G_TYPE_STRING, G_TYPE_STRING); GtkWidget* view = gtk_tree_view_new_with_model(GTK_TREE_MODEL(store)); + gtk_tree_view_set_enable_search(GTK_TREE_VIEW(view), FALSE); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(view), FALSE); { diff --git a/radiant/texwindow.cpp b/radiant/texwindow.cpp index 5b0e0293..810fc195 100644 --- a/radiant/texwindow.cpp +++ b/radiant/texwindow.cpp @@ -1595,6 +1595,7 @@ void TextureBrowser_createTreeViewTree() { GtkCellRenderer* renderer; g_TextureBrowser.m_treeViewTree = GTK_WIDGET(gtk_tree_view_new()); + gtk_tree_view_set_enable_search(GTK_TREE_VIEW(g_TextureBrowser.m_treeViewTree), FALSE); gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(g_TextureBrowser.m_treeViewTree), FALSE); g_signal_connect(g_TextureBrowser.m_treeViewTree, "row-activated", (GCallback) TreeView_onRowActivated, NULL); @@ -1656,6 +1657,7 @@ void TextureBrowser_createTreeViewTags() { GtkCellRenderer* renderer; g_TextureBrowser.m_treeViewTags = GTK_WIDGET(gtk_tree_view_new()); + gtk_tree_view_set_enable_search(GTK_TREE_VIEW(g_TextureBrowser.m_treeViewTags), FALSE); g_signal_connect(GTK_TREE_VIEW(g_TextureBrowser.m_treeViewTags), "button-press-event", (GCallback)TreeViewTags_onButtonPressed, NULL); diff --git a/setup/win32/components/gtk2.xml b/setup/win32/components/gtk2.xml index 91cec39a..563fa8d3 100644 --- a/setup/win32/components/gtk2.xml +++ b/setup/win32/components/gtk2.xml @@ -48,7 +48,7 @@ - + -- 2.39.2