diff options
author | Jeremy Bícha <jeremy.bicha@canonical.com> | 2023-08-10 14:14:33 -0400 |
---|---|---|
committer | Jeremy Bícha <jeremy.bicha@canonical.com> | 2023-08-10 14:14:33 -0400 |
commit | 1b96d51275d1d913188767ed74c874ef5dedd2e4 (patch) | |
tree | aaa1a66d3397c5b03be6e6ae9af8f54aa9386453 /src/tree.c | |
parent | New upstream version 3.44.0 (diff) | |
parent | 3.44.2 (diff) | |
download | zenity-1b96d51275d1d913188767ed74c874ef5dedd2e4.tar.gz zenity-1b96d51275d1d913188767ed74c874ef5dedd2e4.tar.bz2 zenity-1b96d51275d1d913188767ed74c874ef5dedd2e4.zip |
New upstream version 3.44.2
Diffstat (limited to 'src/tree.c')
-rw-r--r-- | src/tree.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -642,10 +642,10 @@ zenity_tree (ZenityData *data, ZenityTreeData *tree_data) { tree_data->editable); } - /* GTK will automatically pick the image column as the search column - * despite it not containing any user readable text. - * Set it to second column instead if it exists. */ - if (tree_data->imagebox && n_columns > 1) { + /* GTK will automatically pick the image/checkbox/radiobox column as the + * search column despite it not containing any user readable text. + * Set it to second column instead if any of the above exists. */ + if ((tree_data->imagebox || tree_data->radiobox || tree_data->checkbox) && n_columns > 1) { gtk_tree_view_set_search_column (GTK_TREE_VIEW (tree_view), 1); } |