Skip to content

Commit

Permalink
xapp-icon-chooser-dialog.c: Don't be case-sensitive when searching.
Browse files Browse the repository at this point in the history
  • Loading branch information
mtwebster committed Jun 8, 2022
1 parent 77e9133 commit a233463
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions libxapp/xapp-icon-chooser-dialog.c
Original file line number Diff line number Diff line change
Expand Up @@ -1837,7 +1837,7 @@ on_search_text_changed (GtkSearchEntry *entry,
else
{
g_free (priv->current_text);
priv->current_text = g_strdup (search_text);
priv->current_text = g_utf8_strdown (search_text, -1);

gtk_widget_show (priv->loading_bar);

Expand All @@ -1847,12 +1847,12 @@ on_search_text_changed (GtkSearchEntry *entry,
{
if (priv->allow_paths)
{
search_path (dialog, search_text, priv->search_icon_store);
search_path (dialog, priv->current_text, priv->search_icon_store);
}
}
else
{
search_icon_name (dialog, search_text, priv->search_icon_store);
search_icon_name (dialog, priv->current_text, priv->search_icon_store);
}
}
}
Expand Down

0 comments on commit a233463

Please sign in to comment.