Kaydet (Commit) 771b490c authored tarafından Enrico Tröger's avatar Enrico Tröger

disabled interactive search function since it never worked and is unnecessary and confusing


git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/trunk@285 ea778897-0a13-0410-b9d1-a72fbfd435f5
üst 9934ab86
......@@ -44,6 +44,8 @@ void msgwin_prepare_status_tree_view(void)
column = gtk_tree_view_column_new_with_attributes(_("Status messages"), renderer, "background-gdk", 0, "text", 1, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(msgwindow.tree_status), column);
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(msgwindow.tree_status), FALSE);
gtk_widget_modify_font(msgwindow.tree_status, pango_font_description_from_string(app->msgwin_font));
g_signal_connect(G_OBJECT(msgwindow.tree_status), "button-press-event",
G_CALLBACK(on_tree_view_button_press_event), GINT_TO_POINTER(3));
......@@ -66,6 +68,8 @@ void msgwin_prepare_msg_tree_view(void)
column = gtk_tree_view_column_new_with_attributes(NULL, renderer, "background-gdk", 2, "text", 3, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(msgwindow.tree_msg), column);
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(msgwindow.tree_msg), FALSE);
gtk_widget_modify_font(msgwindow.tree_msg, pango_font_description_from_string(app->msgwin_font));
g_signal_connect(G_OBJECT(msgwindow.tree_msg), "button-press-event",
G_CALLBACK(on_tree_view_button_press_event), GINT_TO_POINTER(4));
......@@ -91,6 +95,8 @@ void msgwin_prepare_compiler_tree_view(void)
column = gtk_tree_view_column_new_with_attributes(NULL, renderer, "foreground-gdk", 0, "text", 1, NULL);
gtk_tree_view_append_column(GTK_TREE_VIEW(msgwindow.tree_compiler), column);
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(msgwindow.tree_compiler), FALSE);
gtk_widget_modify_font(msgwindow.tree_compiler, pango_font_description_from_string(app->msgwin_font));
g_signal_connect(G_OBJECT(msgwindow.tree_compiler), "button-press-event",
G_CALLBACK(on_tree_view_button_press_event), GINT_TO_POINTER(5));
......
......@@ -46,6 +46,8 @@ void treeviews_prepare_taglist(GtkWidget *tree, GtkTreeStore *store)
g_signal_connect(G_OBJECT(tree), "button-press-event",
G_CALLBACK(on_tree_view_button_press_event), GINT_TO_POINTER(7));
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(tree), FALSE);
// selection handling
select = gtk_tree_view_get_selection(GTK_TREE_VIEW(tree));
gtk_tree_selection_set_mode(select, GTK_SELECTION_SINGLE);
......@@ -137,6 +139,8 @@ void treeviews_prepare_openfiles(void)
gtk_tree_view_append_column(GTK_TREE_VIEW(tv.tree_openfiles), column);
gtk_tree_view_set_headers_visible(GTK_TREE_VIEW(tv.tree_openfiles), FALSE);
gtk_tree_view_set_enable_search(GTK_TREE_VIEW(tv.tree_openfiles), FALSE);
gtk_widget_modify_font(tv.tree_openfiles, pango_font_description_from_string(app->tagbar_font));
g_signal_connect(G_OBJECT(tv.tree_openfiles), "button-press-event",
G_CALLBACK(on_tree_view_button_press_event), GINT_TO_POINTER(6));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment