projects
/
dana
/
openbox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
b896082
)
glib already prints a verbose error message when execute fails. don't add a second...
author
Dana Jansens
<danakj@orodu.net>
Sun, 2 Mar 2008 20:28:22 +0000
(15:28 -0500)
committer
Dana Jansens
<danakj@orodu.net>
Sun, 2 Mar 2008 20:28:22 +0000
(15:28 -0500)
openbox/actions/execute.c
patch
|
blob
|
history
diff --git
a/openbox/actions/execute.c
b/openbox/actions/execute.c
index
eb1b461
..
f87fe00
100644
(file)
--- a/
openbox/actions/execute.c
+++ b/
openbox/actions/execute.c
@@
-143,7
+143,7
@@
static gboolean run_func(ObActionsData *data, gpointer options)
event_cancel_all_key_grabs();
if (!g_shell_parse_argv(cmd, NULL, &argv, &e)) {
event_cancel_all_key_grabs();
if (!g_shell_parse_argv(cmd, NULL, &argv, &e)) {
- g_message(
_("Failed to execute \"%s\": %s"), o->cmd, e->message
);
+ g_message(
e->message, o->cmd
);
g_error_free(e);
}
else {
g_error_free(e);
}
else {
@@
-162,7
+162,7
@@
static gboolean run_func(ObActionsData *data, gpointer options)
G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
NULL, NULL, NULL, &e))
{
G_SPAWN_SEARCH_PATH | G_SPAWN_DO_NOT_REAP_CHILD,
NULL, NULL, NULL, &e))
{
- g_message(
_("Failed to execute \"%s\": %s"), o->cmd, e->message
);
+ g_message(
e->message, o->cmd
);
g_error_free(e);
if (o->sn)
g_error_free(e);
if (o->sn)