mirror of
https://github.com/ghostty-org/ghostty.git
synced 2026-05-18 19:11:20 +00:00
CI: Add checks for blueprint compiler / Nix refactors (#6801)
1. Refactored Nix devshell/package to make it easier to keep LD_LIBRARY_PATH & buildInputs in sync (plus make it easier to re-use in other Nix environment). 2. Added a CI job to ensure that Blueprints are formatted correctly and that they will compile using `blueprint-compiler` 0.16.0. 3. Reformatted all Blueprints with `blueprint-compiler format`.
This commit is contained in:
@@ -8,7 +8,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
|
||||
responses [
|
||||
cancel: _("Deny") suggested,
|
||||
ok: _("Allow") destructive
|
||||
ok: _("Allow") destructive,
|
||||
]
|
||||
|
||||
default-response: "cancel";
|
||||
@@ -16,7 +16,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
|
||||
extra-child: Overlay {
|
||||
styles [
|
||||
"osd"
|
||||
"osd",
|
||||
]
|
||||
|
||||
ScrolledWindow text_view_scroll {
|
||||
@@ -33,7 +33,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
right-margin: 8;
|
||||
|
||||
styles [
|
||||
"clipboard-content-view"
|
||||
"clipboard-content-view",
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
margin-top: 12;
|
||||
|
||||
styles [
|
||||
"opaque"
|
||||
"opaque",
|
||||
]
|
||||
|
||||
Image {
|
||||
|
||||
@@ -8,7 +8,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
|
||||
responses [
|
||||
cancel: _("Deny") suggested,
|
||||
ok: _("Allow") destructive
|
||||
ok: _("Allow") destructive,
|
||||
]
|
||||
|
||||
default-response: "cancel";
|
||||
@@ -16,7 +16,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
|
||||
extra-child: Overlay {
|
||||
styles [
|
||||
"osd"
|
||||
"osd",
|
||||
]
|
||||
|
||||
ScrolledWindow text_view_scroll {
|
||||
@@ -33,7 +33,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
right-margin: 8;
|
||||
|
||||
styles [
|
||||
"clipboard-content-view"
|
||||
"clipboard-content-view",
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
margin-top: 12;
|
||||
|
||||
styles [
|
||||
"opaque"
|
||||
"opaque",
|
||||
]
|
||||
|
||||
Image {
|
||||
|
||||
@@ -8,7 +8,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
|
||||
responses [
|
||||
cancel: _("Cancel") suggested,
|
||||
ok: _("Paste") destructive
|
||||
ok: _("Paste") destructive,
|
||||
]
|
||||
|
||||
default-response: "cancel";
|
||||
@@ -16,7 +16,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
|
||||
extra-child: Overlay {
|
||||
styles [
|
||||
"osd"
|
||||
"osd",
|
||||
]
|
||||
|
||||
ScrolledWindow text_view_scroll {
|
||||
@@ -33,7 +33,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
right-margin: 8;
|
||||
|
||||
styles [
|
||||
"clipboard-content-view"
|
||||
"clipboard-content-view",
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ Adw.MessageDialog clipboard_confirmation_window {
|
||||
margin-top: 12;
|
||||
|
||||
styles [
|
||||
"opaque"
|
||||
"opaque",
|
||||
]
|
||||
|
||||
Image {
|
||||
|
||||
@@ -2,27 +2,27 @@ using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Adw.MessageDialog config_errors_dialog {
|
||||
heading: _("Configuration Errors");
|
||||
body: _("One or more configuration errors were found. Please review the errors below, and either reload your configuration or ignore these errors.");
|
||||
heading: _("Configuration Errors");
|
||||
body: _("One or more configuration errors were found. Please review the errors below, and either reload your configuration or ignore these errors.");
|
||||
|
||||
responses [
|
||||
ignore: _("Ignore"),
|
||||
reload: _("Reload Configuration") suggested,
|
||||
]
|
||||
responses [
|
||||
ignore: _("Ignore"),
|
||||
reload: _("Reload Configuration") suggested,
|
||||
]
|
||||
|
||||
extra-child: ScrolledWindow {
|
||||
min-content-width: 500;
|
||||
min-content-height: 100;
|
||||
|
||||
TextView {
|
||||
editable: false;
|
||||
cursor-visible: false;
|
||||
top-margin: 8;
|
||||
bottom-margin: 8;
|
||||
left-margin: 8;
|
||||
right-margin: 8;
|
||||
extra-child: ScrolledWindow {
|
||||
min-content-width: 500;
|
||||
min-content-height: 100;
|
||||
|
||||
buffer: TextBuffer error_message { };
|
||||
}
|
||||
};
|
||||
TextView {
|
||||
editable: false;
|
||||
cursor-visible: false;
|
||||
top-margin: 8;
|
||||
bottom-margin: 8;
|
||||
left-margin: 8;
|
||||
right-margin: 8;
|
||||
|
||||
buffer: TextBuffer error_message {};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
|
||||
responses [
|
||||
cancel: _("Deny") suggested,
|
||||
ok: _("Allow") destructive
|
||||
ok: _("Allow") destructive,
|
||||
]
|
||||
|
||||
default-response: "cancel";
|
||||
@@ -16,7 +16,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
|
||||
extra-child: Overlay {
|
||||
styles [
|
||||
"osd"
|
||||
"osd",
|
||||
]
|
||||
|
||||
ScrolledWindow text_view_scroll {
|
||||
@@ -33,7 +33,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
right-margin: 8;
|
||||
|
||||
styles [
|
||||
"clipboard-content-view"
|
||||
"clipboard-content-view",
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
margin-top: 12;
|
||||
|
||||
styles [
|
||||
"opaque"
|
||||
"opaque",
|
||||
]
|
||||
|
||||
Image {
|
||||
|
||||
@@ -8,7 +8,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
|
||||
responses [
|
||||
cancel: _("Deny") suggested,
|
||||
ok: _("Allow") destructive
|
||||
ok: _("Allow") destructive,
|
||||
]
|
||||
|
||||
default-response: "cancel";
|
||||
@@ -16,7 +16,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
|
||||
extra-child: Overlay {
|
||||
styles [
|
||||
"osd"
|
||||
"osd",
|
||||
]
|
||||
|
||||
ScrolledWindow text_view_scroll {
|
||||
@@ -33,7 +33,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
right-margin: 8;
|
||||
|
||||
styles [
|
||||
"clipboard-content-view"
|
||||
"clipboard-content-view",
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
margin-top: 12;
|
||||
|
||||
styles [
|
||||
"opaque"
|
||||
"opaque",
|
||||
]
|
||||
|
||||
Image {
|
||||
|
||||
@@ -8,7 +8,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
|
||||
responses [
|
||||
cancel: _("Cancel") suggested,
|
||||
ok: _("Paste") destructive
|
||||
ok: _("Paste") destructive,
|
||||
]
|
||||
|
||||
default-response: "cancel";
|
||||
@@ -16,7 +16,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
|
||||
extra-child: Overlay {
|
||||
styles [
|
||||
"osd"
|
||||
"osd",
|
||||
]
|
||||
|
||||
ScrolledWindow text_view_scroll {
|
||||
@@ -33,7 +33,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
right-margin: 8;
|
||||
|
||||
styles [
|
||||
"clipboard-content-view"
|
||||
"clipboard-content-view",
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -60,7 +60,7 @@ Adw.AlertDialog clipboard_confirmation_window {
|
||||
margin-top: 12;
|
||||
|
||||
styles [
|
||||
"opaque"
|
||||
"opaque",
|
||||
]
|
||||
|
||||
Image {
|
||||
|
||||
@@ -2,27 +2,27 @@ using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
Adw.AlertDialog config_errors_dialog {
|
||||
heading: _("Configuration Errors");
|
||||
body: _("One or more configuration errors were found. Please review the errors below, and either reload your configuration or ignore these errors.");
|
||||
heading: _("Configuration Errors");
|
||||
body: _("One or more configuration errors were found. Please review the errors below, and either reload your configuration or ignore these errors.");
|
||||
|
||||
responses [
|
||||
ignore: _("Ignore"),
|
||||
reload: _("Reload Configuration") suggested,
|
||||
]
|
||||
responses [
|
||||
ignore: _("Ignore"),
|
||||
reload: _("Reload Configuration") suggested,
|
||||
]
|
||||
|
||||
extra-child: ScrolledWindow {
|
||||
min-content-width: 500;
|
||||
min-content-height: 100;
|
||||
|
||||
TextView {
|
||||
editable: false;
|
||||
cursor-visible: false;
|
||||
top-margin: 8;
|
||||
bottom-margin: 8;
|
||||
left-margin: 8;
|
||||
right-margin: 8;
|
||||
extra-child: ScrolledWindow {
|
||||
min-content-width: 500;
|
||||
min-content-height: 100;
|
||||
|
||||
buffer: TextBuffer error_message { };
|
||||
}
|
||||
};
|
||||
TextView {
|
||||
editable: false;
|
||||
cursor-visible: false;
|
||||
top-margin: 8;
|
||||
bottom-margin: 8;
|
||||
left-margin: 8;
|
||||
right-margin: 8;
|
||||
|
||||
buffer: TextBuffer error_message {};
|
||||
}
|
||||
};
|
||||
}
|
||||
|
||||
@@ -7,7 +7,7 @@ Adw.AlertDialog prompt_title_dialog {
|
||||
|
||||
responses [
|
||||
cancel: _("Cancel") suggested,
|
||||
ok: _("OK") destructive
|
||||
ok: _("OK") destructive,
|
||||
]
|
||||
|
||||
focus-widget: title_entry;
|
||||
|
||||
Reference in New Issue
Block a user