Show the menu id instead of the failed command
authorMikael Magnusson <mikachu@gmail.com>
Sat, 24 Oct 2020 15:50:15 +0000 (17:50 +0200)
committerMikael Magnusson <mikachu@gmail.com>
Sat, 24 Oct 2020 15:50:15 +0000 (17:50 +0200)
openbox/menu.c

index 8804e12874a0acd3ed3fe8d3f4184eb1fe2e480c..9001c8cba9eae3f667872ca599709d72b0f50174 100644 (file)
@@ -166,7 +166,7 @@ void menu_pipe_execute(ObMenu *self)
 
     if (!g_spawn_command_line_sync(self->execute, &output, NULL, NULL, &err)) {
         g_message(_("Failed to execute command for pipe-menu \"%s\": %s"),
-                  self->execute, err->message);
+                  self->name, err->message);
         g_error_free(err);
         return;
     }