projects
/
platform
/
upstream
/
enlightenment.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5590223
)
ecore_desktop_get_command can now return a list of commands if it needs to.
author
David Walter Seikel
<onefang@gmail.com>
Wed, 25 Oct 2006 10:25:15 +0000
(10:25 +0000)
committer
David Walter Seikel
<onefang@gmail.com>
Wed, 25 Oct 2006 10:25:15 +0000
(10:25 +0000)
SVN revision: 26788
src/bin/e_apps.c
patch
|
blob
|
history
diff --git
a/src/bin/e_apps.c
b/src/bin/e_apps.c
index
beb90fe
..
bd4f821
100644
(file)
--- a/
src/bin/e_apps.c
+++ b/
src/bin/e_apps.c
@@
-649,7
+649,21
@@
e_app_exec(E_App *a, int launch_id)
original = a;
if (a->desktop)
- command = ecore_desktop_get_command(a->desktop, NULL, 1);
+ {
+ Ecore_List *commands;
+
+ /* We are not passing a list of files, so we only expect one command. */
+ commands = ecore_desktop_get_command(a->desktop, NULL, 1);
+ if (commands)
+ {
+ char *temp;
+
+ temp = ecore_list_first(commands);
+ if (temp)
+ command = strdup(temp);
+ ecore_list_destroy(commands);
+ }
+ }
else
command = strdup(a->exe);
if (!command)