Update blueprint-compiler, format .blp files
This commit is contained in:
@@ -1,11 +1,10 @@
|
||||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $DetailsDialog : Adw.Dialog {
|
||||
template $DetailsDialog: Adw.Dialog {
|
||||
content-width: 480;
|
||||
|
||||
Adw.ToolbarView {
|
||||
|
||||
[top]
|
||||
Adw.HeaderBar HeaderBar {
|
||||
show-start-title-buttons: false;
|
||||
@@ -29,6 +28,7 @@ template $DetailsDialog : Adw.Dialog {
|
||||
Adw.PreferencesGroup cover_group {
|
||||
Adw.Clamp cover_clamp {
|
||||
maximum-size: 200;
|
||||
|
||||
Overlay {
|
||||
[overlay]
|
||||
Spinner spinner {
|
||||
@@ -50,7 +50,8 @@ template $DetailsDialog : Adw.Dialog {
|
||||
margin-end: 6;
|
||||
|
||||
styles [
|
||||
"circular", "osd"
|
||||
"circular",
|
||||
"osd"
|
||||
]
|
||||
}
|
||||
|
||||
@@ -68,7 +69,8 @@ template $DetailsDialog : Adw.Dialog {
|
||||
margin-end: 6;
|
||||
|
||||
styles [
|
||||
"circular", "osd"
|
||||
"circular",
|
||||
"osd"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -90,10 +92,12 @@ template $DetailsDialog : Adw.Dialog {
|
||||
Adw.EntryRow name {
|
||||
title: _("Title");
|
||||
}
|
||||
|
||||
Adw.EntryRow developer {
|
||||
title: _("Developer (optional)");
|
||||
}
|
||||
}
|
||||
|
||||
Adw.PreferencesGroup {
|
||||
Adw.EntryRow executable {
|
||||
title: _("Executable");
|
||||
@@ -135,7 +139,6 @@ template $DetailsDialog : Adw.Dialog {
|
||||
"flat"
|
||||
]
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $Game : Box {
|
||||
template $Game: Box {
|
||||
orientation: vertical;
|
||||
halign: center;
|
||||
valign: start;
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
using Gtk 4.0;
|
||||
using Adw 1;
|
||||
|
||||
template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
template $CartridgesPreferences: Adw.PreferencesDialog {
|
||||
search-enabled: true;
|
||||
|
||||
Adw.PreferencesPage general_page {
|
||||
@@ -139,6 +139,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button steam_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -161,6 +162,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button lutris_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -191,6 +193,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button heroic_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -229,6 +232,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button bottles_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -251,6 +255,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button itch_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -273,6 +278,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button legendary_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -295,6 +301,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button retroarch_config_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -318,6 +325,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button flatpak_system_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -331,6 +339,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
Button flatpak_user_data_file_chooser_button {
|
||||
icon-name: "folder-symbolic";
|
||||
valign: center;
|
||||
|
||||
styles [
|
||||
"flat"
|
||||
]
|
||||
@@ -394,6 +403,7 @@ template $CartridgesPreferences : Adw.PreferencesDialog {
|
||||
label: _("Update");
|
||||
valign: center;
|
||||
}
|
||||
|
||||
Spinner sgdb_spinner {
|
||||
valign: center;
|
||||
}
|
||||
|
||||
@@ -43,13 +43,14 @@ Adw.StatusPage hidden_notice_empty {
|
||||
valign: center;
|
||||
}
|
||||
|
||||
template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
template $CartridgesWindow: Adw.ApplicationWindow {
|
||||
title: _("Cartridges");
|
||||
width-request: 360;
|
||||
height-request: 100;
|
||||
|
||||
Adw.Breakpoint {
|
||||
condition ("max-width: 564px")
|
||||
|
||||
setters {
|
||||
overlay_split_view.collapsed: true;
|
||||
details_view_box.orientation: vertical;
|
||||
@@ -80,6 +81,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
[sidebar]
|
||||
Adw.NavigationPage {
|
||||
title: _("Cartridges");
|
||||
|
||||
Adw.ToolbarView {
|
||||
[top]
|
||||
Adw.HeaderBar {
|
||||
@@ -103,17 +105,22 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
Image {
|
||||
icon-name: "view-grid-symbolic";
|
||||
}
|
||||
|
||||
Label {
|
||||
halign: start;
|
||||
label: _("All Games");
|
||||
}
|
||||
|
||||
Label all_games_no_label {
|
||||
hexpand: true;
|
||||
halign: end;
|
||||
|
||||
styles ["dim-label"]
|
||||
styles [
|
||||
"dim-label"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
Box added_row_box {
|
||||
margin-top: 12;
|
||||
margin-bottom: 12;
|
||||
@@ -123,43 +130,55 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
Image {
|
||||
icon-name: "list-add-symbolic";
|
||||
}
|
||||
|
||||
Label {
|
||||
halign: start;
|
||||
label: _("Added");
|
||||
margin-end: 6;
|
||||
}
|
||||
|
||||
Label added_games_no_label {
|
||||
hexpand: true;
|
||||
halign: end;
|
||||
margin-end: 6;
|
||||
|
||||
styles ["dim-label"]
|
||||
styles [
|
||||
"dim-label"
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
ListBoxRow {
|
||||
selectable: false;
|
||||
activatable: false;
|
||||
|
||||
Label {
|
||||
label: _("Imported");
|
||||
styles ["heading"]
|
||||
|
||||
styles [
|
||||
"heading"
|
||||
]
|
||||
|
||||
halign: start;
|
||||
}
|
||||
}
|
||||
styles ["navigation-sidebar"]
|
||||
|
||||
styles [
|
||||
"navigation-sidebar"
|
||||
]
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.ToolbarView library_view {
|
||||
|
||||
[top]
|
||||
Adw.HeaderBar header_bar {
|
||||
|
||||
[start]
|
||||
Revealer {
|
||||
transition-type: slide_right;
|
||||
reveal-child: bind overlay_split_view.show-sidebar inverted;
|
||||
|
||||
Button show_sidebar_button {
|
||||
icon-name: "sidebar-show-symbolic";
|
||||
action-name: "win.show_sidebar";
|
||||
@@ -233,7 +252,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Adw.NavigationPage hidden_library_page {
|
||||
title: _("Hidden Games");
|
||||
@@ -303,10 +322,8 @@ Adw.NavigationPage details_page {
|
||||
|
||||
[overlay]
|
||||
Adw.ToolbarView details_view_toolbar_view {
|
||||
|
||||
[top]
|
||||
Adw.HeaderBar {
|
||||
}
|
||||
Adw.HeaderBar {}
|
||||
|
||||
ScrolledWindow {
|
||||
Box details_view_box {
|
||||
@@ -541,7 +558,6 @@ menu add_games {
|
||||
menu search {
|
||||
section {
|
||||
label: "Search on…";
|
||||
|
||||
item (_("IGDB"), "app.igdb_search")
|
||||
item (_("SteamGridDB"), "app.sgdb_search")
|
||||
item (_("ProtonDB"), "app.protondb_search")
|
||||
|
||||
@@ -112,7 +112,7 @@
|
||||
{
|
||||
"type" : "git",
|
||||
"url" : "https://gitlab.gnome.org/jwestman/blueprint-compiler",
|
||||
"tag" : "v0.10.0"
|
||||
"tag" : "v0.12.0"
|
||||
}
|
||||
],
|
||||
"cleanup" : [
|
||||
|
||||
@@ -1,7 +1,7 @@
|
||||
[wrap-git]
|
||||
directory = blueprint-compiler
|
||||
url = https://gitlab.gnome.org/jwestman/blueprint-compiler.git
|
||||
revision = v0.10.0
|
||||
revision = v0.12.0
|
||||
depth = 1
|
||||
|
||||
[provide]
|
||||
|
||||
Reference in New Issue
Block a user