]> git.mdlowis.com Git - proto/labwc.git/commitdiff
action: fix labnag button order
authorJohan Malm <jgm323@gmail.com>
Sat, 9 Aug 2025 09:54:06 +0000 (10:54 +0100)
committerJohan Malm <johanmalm@users.noreply.github.com>
Sat, 9 Aug 2025 10:04:36 +0000 (11:04 +0100)
src/action.c

index 657810bfb3028a24b90b4be8142df80dd9882a3b..eb02708747b22743975ade493f7cc114b7d67eda 100644 (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);