Hello!

 Here is a patch that prevents exebuf from matching .desktops for icons
when having an empty buffer (matches here with cups.desktop which has an
empty generic name).

 Cheers !

 Chidambar 'ilLogict' Zinnoury
Index: trunk/e/src/modules/exebuf/e_exebuf.c
===================================================================
--- trunk/e/src/modules/exebuf/e_exebuf.c	(revision 36289)
+++ trunk/e/src/modules/exebuf/e_exebuf.c	(working copy)
@@ -414,6 +414,9 @@
    edje_object_part_text_set(bg_object, "e.text.label", cmd_buf);
    if (icon_object) evas_object_del(icon_object);
    icon_object = NULL;
+
+   if (!cmd_buf[0]) return;
+
    desktop = efreet_util_desktop_exec_find(cmd_buf);
    if (!desktop) desktop = efreet_util_desktop_name_find(cmd_buf);
    if (!desktop) desktop = efreet_util_desktop_generic_name_find(cmd_buf);

Attachment: signature.asc
Description: PGP signature

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to