forked from enlightenment/enlightenment
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
This commit is contained in:
parent
128126a732
commit
9a8c1a0e44
|
@ -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");
|
||||
|
|
Loading…
Reference in New Issue