From 9a8c1a0e4468149acc60df1c1faaa903ffda918a Mon Sep 17 00:00:00 2001 From: Gustavo Sverzut Barbieri Date: Sat, 6 Jun 2009 23:35:10 +0000 Subject: [PATCH] fix exebuf so it will execute what it should. Run Command (module exebuf in e) was acting strange for me. I have .desktops for Firefox and Firefox - Safe mode (well, at least a menu entries for them), and when I entered "firefox" in the input box, and choose the command "firefox" from the list under the input field, exebuf was starting Firefox - Safe Mode (it was the only one showed in the upper list - "Firefox" was not listed there). This patch fixes it (the lower selected, upper started problem, not the "Firefox" is not there one) for me. By: Tomasz Kontusz SVN revision: 40926 --- src/modules/exebuf/e_exebuf.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/exebuf/e_exebuf.c b/src/modules/exebuf/e_exebuf.c index 7d22570e2..0108e2b56 100644 --- a/src/modules/exebuf/e_exebuf.c +++ b/src/modules/exebuf/e_exebuf.c @@ -4,7 +4,7 @@ #include "e.h" #include "e_mod_main.h" -/* currently default bind is alt+esc buf alt+space has been suggested */ +/* currently default bind is alt+esc but alt+space has been suggested */ /* local subsystem functions */ typedef struct _E_Exebuf_Exe E_Exebuf_Exe; @@ -426,7 +426,7 @@ _e_exebuf_exec(void) { if (exe_sel) { - if (exe_sel->desktop) + if (exe_sel->desktop && which_list != EXE_LIST) e_exec(exebuf->zone, exe_sel->desktop, NULL, NULL, "exebuf"); else e_exec(exebuf->zone, NULL, exe_sel->file, NULL, "exebuf");