Skip to content

Commit

Permalink
Merge pull request geany#3823 from ntrel/msg-tree-search
Browse files Browse the repository at this point in the history
[RFC] Enable keyboard searching for Compiler and Messages tree views
  • Loading branch information
eht16 authored Jun 23, 2024
2 parents 422a758 + 2aaa66b commit 20908b8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/msgwindow.c
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ static void prepare_msg_tree_view(void)
"foreground-gdk", MSG_COL_COLOR, "text", MSG_COL_STRING, 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_tree_view_set_search_column(GTK_TREE_VIEW(msgwindow.tree_msg), MSG_COL_STRING);

ui_widget_modify_font_from_string(msgwindow.tree_msg, interface_prefs.msgwin_font);

Expand Down Expand Up @@ -273,7 +273,7 @@ static void prepare_compiler_tree_view(void)
"foreground-gdk", COMPILER_COL_COLOR, "text", COMPILER_COL_STRING, 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_tree_view_set_search_column(GTK_TREE_VIEW(msgwindow.tree_compiler), COMPILER_COL_STRING);

ui_widget_modify_font_from_string(msgwindow.tree_compiler, interface_prefs.msgwin_font);

Expand Down

0 comments on commit 20908b8

Please sign in to comment.