Skip to content

Commit a233463

Browse files
committed
xapp-icon-chooser-dialog.c: Don't be case-sensitive when searching.
1 parent 77e9133 commit a233463

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

libxapp/xapp-icon-chooser-dialog.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1837,7 +1837,7 @@ on_search_text_changed (GtkSearchEntry *entry,
18371837
else
18381838
{
18391839
g_free (priv->current_text);
1840-
priv->current_text = g_strdup (search_text);
1840+
priv->current_text = g_utf8_strdown (search_text, -1);
18411841

18421842
gtk_widget_show (priv->loading_bar);
18431843

@@ -1847,12 +1847,12 @@ on_search_text_changed (GtkSearchEntry *entry,
18471847
{
18481848
if (priv->allow_paths)
18491849
{
1850-
search_path (dialog, search_text, priv->search_icon_store);
1850+
search_path (dialog, priv->current_text, priv->search_icon_store);
18511851
}
18521852
}
18531853
else
18541854
{
1855-
search_icon_name (dialog, search_text, priv->search_icon_store);
1855+
search_icon_name (dialog, priv->current_text, priv->search_icon_store);
18561856
}
18571857
}
18581858
}

0 commit comments

Comments
 (0)