From: Carsten Haitzler Date: Sun, 29 Oct 2006 10:51:12 +0000 (+0000) Subject: and exec things more nicely X-Git-Tag: submit/efl/20131021.015651~12418 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e4597a7b7e3fd41d14d3f612b68ca2fa9d8db55d;p=platform%2Fupstream%2Fenlightenment.git and exec things more nicely SVN revision: 26857 --- diff --git a/src/bin/e_fwin.c b/src/bin/e_fwin.c index a6032c2..6b1c8aa 100644 --- a/src/bin/e_fwin.c +++ b/src/bin/e_fwin.c @@ -526,14 +526,19 @@ _e_fwin_file_is_exec(E_Fm2_Icon_Info *ici) (!strcmp(ici->mime, "text/x-sh")) ) { - return E_FWIN_EXEC_SH; + return E_FWIN_EXEC_TERMINAL_SH; } } else if ((e_util_glob_match(ici->file, "*.desktop")) || - (e_util_glob_match(ici->file, "*.kdelink"))) + (e_util_glob_match(ici->file, "*.kdelink")) + ) { return E_FWIN_EXEC_DESKTOP; } + else if (e_util_glob_match(ici->file, "*.run")) + { + return E_FWIN_EXEC_TERMINAL_SH; + } } return E_FWIN_EXEC_NONE; }