summaryrefslogtreecommitdiff
path: root/openbox/actions/execute.c
diff options
context:
space:
mode:
authorDana Jansens <danakj@orodu.net>2008-03-02 15:28:22 -0500
committerDana Jansens <danakj@orodu.net>2008-03-02 15:28:22 -0500
commit8562034e30e8b319a746009859cbefc1f41b41f5 (patch)
tree26c7156c102e0374cce49df4d96f682c4186a73d /openbox/actions/execute.c
parentb8960827b76ad499170e8b5b9ae8bf202188f0b0 (diff)
glib already prints a verbose error message when execute fails. don't add a second level of useless verbosity to that
Diffstat (limited to 'openbox/actions/execute.c')
-rw-r--r--openbox/actions/execute.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/openbox/actions/execute.c b/openbox/actions/execute.c
index eb1b461d..f87fe00c 100644
--- 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)) {
- g_message(_("Failed to execute \"%s\": %s"), o->cmd, e->message);
+ g_message(e->message, o->cmd);
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_message(_("Failed to execute \"%s\": %s"), o->cmd, e->message);
+ g_message(e->message, o->cmd);
g_error_free(e);
if (o->sn)