exebuf: do not match empty string.

Patch by Chidambar 'ilLogict' Zinnoury.


SVN revision: 36436
This commit is contained in:
Gustavo Sverzut Barbieri 2008-10-04 18:34:59 +00:00
parent d1f5aeb033
commit aa5e887d85
1 changed files with 3 additions and 0 deletions

View File

@ -414,6 +414,9 @@ _e_exebuf_update(void)
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);