all repos — openbox @ 8562034e30e8b319a746009859cbefc1f41b41f5

openbox fork - make it a bit more like ryudo

glib already prints a verbose error message when execute fails.  don't add a second level of useless verbosity to that
Dana Jansens danakj@orodu.net
commit

8562034e30e8b319a746009859cbefc1f41b41f5

parent

b8960827b76ad499170e8b5b9ae8bf202188f0b0

1 files changed, 2 insertions(+), 2 deletions(-)

jump to
M openbox/actions/execute.copenbox/actions/execute.c

@@ -143,7 +143,7 @@ it so the application can grab things */

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 @@ if (!g_spawn_async(NULL, argv, NULL,

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)