apprt/gtk-ng: some actions

This commit is contained in:
Mitchell Hashimoto
2025-07-21 08:15:34 -07:00
parent edb5f7c69d
commit 7e834a1c32

View File

@ -424,7 +424,7 @@ pub const Application = extern struct {
.set_title => Action.setTitle(target, value), .set_title => Action.setTitle(target, value),
// Unimplemented // Unimplemented but todo on gtk-ng branch
.quit, .quit,
.close_window, .close_window,
.toggle_maximize, .toggle_maximize,
@ -451,7 +451,6 @@ pub const Application = extern struct {
.toggle_window_decorations, .toggle_window_decorations,
.prompt_title, .prompt_title,
.toggle_quick_terminal, .toggle_quick_terminal,
.secure_input,
.ring_bell, .ring_bell,
.toggle_command_palette, .toggle_command_palette,
.open_url, .open_url,
@ -473,6 +472,13 @@ pub const Application = extern struct {
log.warn("unimplemented action={}", .{action}); log.warn("unimplemented action={}", .{action});
return false; return false;
}, },
// Unimplemented
.secure_input,
=> {
log.warn("unimplemented action={}", .{action});
return false;
},
} }
// Assume it was handled. The unhandled case must be explicit // Assume it was handled. The unhandled case must be explicit