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
#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;
{
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");