|
|
|
|
@ -141,7 +141,7 @@ void yon_gnome_section_search_show(gnome_section *section, const char *string){
|
|
|
|
|
GList *iter;
|
|
|
|
|
for (iter=list;iter;iter=iter->next){
|
|
|
|
|
apps *cur_app = g_object_get_data(G_OBJECT(iter->data),"apps");
|
|
|
|
|
if (yon_char_is_empty(string)||yon_char_check_begins_with(cur_app->Name,(char*)string)){
|
|
|
|
|
if (yon_char_is_empty(string)||yon_char_check_begins_with(cur_app->keywords,(char*)string)){
|
|
|
|
|
gtk_widget_show(GTK_WIDGET(iter->data));
|
|
|
|
|
} else {
|
|
|
|
|
gtk_widget_hide(GTK_WIDGET(iter->data));
|
|
|
|
|
|