mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-06-15 16:13:56 +00:00
gtk: rename close-pane to close-split
Rename internal action and function from close-pane/actionClosePane to close-split/actionCloseSplit for consistency with the UI label. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -186,7 +186,7 @@ pub const SplitTree = extern struct {
|
||||
.init("new-split", actionNewSplit, s_variant_type),
|
||||
.init("equalize", actionEqualize, null),
|
||||
.init("zoom", actionZoom, null),
|
||||
.init("close-pane", actionClosePane, null),
|
||||
.init("close-split", actionCloseSplit, null),
|
||||
};
|
||||
|
||||
_ = ext.actions.addAsGroup(Self, self, "split-tree", &actions);
|
||||
@@ -664,7 +664,7 @@ pub const SplitTree = extern struct {
|
||||
self.as(gobject.Object).notifyByPspec(properties.tree.impl.param_spec);
|
||||
}
|
||||
|
||||
pub fn actionClosePane(
|
||||
pub fn actionCloseSplit(
|
||||
_: *gio.SimpleAction,
|
||||
_: ?*glib.Variant,
|
||||
self: *Self,
|
||||
|
||||
@@ -319,7 +319,7 @@ menu context_menu_model {
|
||||
|
||||
item {
|
||||
label: _("Close Split");
|
||||
action: "split-tree.close-pane";
|
||||
action: "split-tree.close-split";
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user