Index: src/xfce-appfinder-window.c =================================================================== --- src/xfce-appfinder-window.c (révision 30220) +++ src/xfce-appfinder-window.c (copie de travail) @@ -1210,7 +1210,9 @@ gpointer user_data) { XfceAppfinderWindow *window = user_data; + XfceMenuItem *item; gchar *category; + gchar *command = g_strdup (""); gchar *text; gchar *search_text; gchar *normalized; @@ -1218,8 +1220,21 @@ g_return_val_if_fail (XFCE_IS_APPFINDER_WINDOW (window), FALSE); - gtk_tree_model_get (filter, iter, CATEGORY_COLUMN, &category, TEXT_COLUMN, &text, -1); + gtk_tree_model_get (filter, iter, + CATEGORY_COLUMN, &category, + TEXT_COLUMN, &text, + ITEM_COLUMN, &item, -1); + if (item != NULL) + { + g_free (command); + command = g_strdup (xfce_menu_item_get_filename (item)); + normalized = g_utf8_normalize (command, -1, G_NORMALIZE_ALL); + g_free (command); + command = g_utf8_casefold (normalized, -1); + g_free (normalized); + } + if (G_UNLIKELY (text == NULL)) return FALSE; @@ -1232,7 +1247,8 @@ text = g_utf8_casefold (normalized, -1); g_free (normalized); - if (G_UNLIKELY (g_strstr_len (text, -1, search_text) != NULL)) + if (G_UNLIKELY (g_strstr_len (text, -1, search_text) != NULL) || + G_UNLIKELY (g_strstr_len (command, -1, search_text) != NULL)) { if (window->current_category == NULL || g_utf8_strlen (window->current_category, -1) == 0 || @@ -1250,6 +1266,8 @@ g_free (search_text); g_free (text); g_free (category); + g_free (command); + g_object_unref (item); return visible; }