action: fix labnag button order

This commit is contained in:
Johan Malm 2025-08-09 10:54:06 +01:00 committed by Johan Malm
parent 6c3cf84b07
commit 7c3a587015

View file

@ -817,9 +817,9 @@ handle_view_destroy(struct wl_listener *listener, void *data)
static void
action_prompt_create(struct view *view, struct server *server, struct action *action)
{
char *command = strdup_printf("labnag -m \"%s\" -Z \"%s\" : -Z \"%s\" :",
char *command = strdup_printf("labnag -m \"%s\" -Z \"%s\" -Z \"%s\"",
action_get_str(action, "message.prompt", "Choose wisely"),
_("Yes"), _("No"));
_("No"), _("Yes"));
int pipe_fd;
pid_t prompt_pid = spawn_piped(command, &pipe_fd);