gtk: make Enter confirm "Change Terminal Title" (#8949)
Fixes https://github.com/ghostty-org/ghostty/discussions/8697 by making `OK` the suggested default and activating it by default. Previously `OK` was `destructive` which imo is not a good approach for just setting a terminal title.1.2.x
parent
359d735213
commit
64edc95e92
|
|
@ -6,11 +6,14 @@ template $GhosttySurfaceTitleDialog: Adw.AlertDialog {
|
||||||
body: _("Leave blank to restore the default title.");
|
body: _("Leave blank to restore the default title.");
|
||||||
|
|
||||||
responses [
|
responses [
|
||||||
cancel: _("Cancel") suggested,
|
cancel: _("Cancel"),
|
||||||
ok: _("OK") destructive,
|
ok: _("OK") suggested,
|
||||||
]
|
]
|
||||||
|
|
||||||
|
default-response: "ok";
|
||||||
focus-widget: entry;
|
focus-widget: entry;
|
||||||
|
|
||||||
extra-child: Entry entry {};
|
extra-child: Entry entry {
|
||||||
|
activates-default: true;
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue