New upstream version 2.2.13
Fabio Fantoni
1 year, 9 months ago
1751 | 1751 | if (priv->search_iter) |
1752 | 1752 | { |
1753 | 1753 | priv->current_category = NULL; |
1754 | ||
1755 | if (g_strrstr (priv->search_iter->data, name_string)) | |
1754 | gchar *casefolded = g_utf8_casefold (priv->search_iter->data, -1); | |
1755 | ||
1756 | if (g_strrstr (casefolded, name_string)) | |
1756 | 1757 | { |
1757 | 1758 | NamedIconInfoLoadCallbackInfo *callback_info; |
1758 | 1759 | cairo_surface_t *surface; |
1785 | 1786 | |
1786 | 1787 | chunk_count++; |
1787 | 1788 | } |
1789 | ||
1790 | g_free (casefolded); | |
1788 | 1791 | } |
1789 | 1792 | else |
1790 | 1793 | { |
1835 | 1838 | } |
1836 | 1839 | else |
1837 | 1840 | { |
1838 | g_free (priv->current_text); | |
1839 | priv->current_text = g_utf8_strdown (search_text, -1); | |
1841 | g_clear_pointer (&priv->current_text, g_free); | |
1840 | 1842 | |
1841 | 1843 | gtk_widget_show (priv->loading_bar); |
1842 | 1844 | |
1846 | 1848 | { |
1847 | 1849 | if (priv->allow_paths) |
1848 | 1850 | { |
1851 | priv->current_text = g_strdup (search_text); | |
1849 | 1852 | search_path (dialog, priv->current_text, priv->search_icon_store); |
1850 | 1853 | } |
1851 | 1854 | } |
1852 | 1855 | else |
1853 | 1856 | { |
1857 | priv->current_text = g_utf8_casefold (search_text, -1); | |
1854 | 1858 | search_icon_name (dialog, priv->current_text, priv->search_icon_store); |
1855 | 1859 | } |
1856 | 1860 | } |