Search: Perform a search when case-sensitive or entire-word buttons are clicked

This commit is contained in:
Clement Lefebvre 2016-12-05 11:25:59 +00:00
parent 615ae47272
commit d890aaf565
1 changed files with 7 additions and 0 deletions

View File

@ -628,6 +628,13 @@ xed_searchbar_init (XedSearchbar *searchbar)
g_signal_connect (searchbar->priv->close_button, "clicked",
G_CALLBACK (close_button_clicked_callback), searchbar);
// Start a search when match-case or entire-word buttons are clicked
g_signal_connect (searchbar->priv->entire_word_checkbutton, "clicked",
G_CALLBACK (find_button_clicked_callback), searchbar);
g_signal_connect (searchbar->priv->match_case_checkbutton, "clicked",
G_CALLBACK (find_button_clicked_callback), searchbar);
}
GtkWidget *