mirror of
https://github.com/ghostty-org/ghostty.git
synced 2025-07-25 13:16:11 +03:00
apprt/gtk-ng: some actions
This commit is contained in:
@ -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
|
||||||
|
Reference in New Issue
Block a user