Update Blueprint syntax for 0.8
This commit is contained in:
@@ -1,7 +1,7 @@
|
|||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
using Adw 1;
|
using Adw 1;
|
||||||
|
|
||||||
template DetailsWindow : Adw.Window {
|
template $DetailsWindow : Adw.Window {
|
||||||
default-width: 500;
|
default-width: 500;
|
||||||
default-height: -1;
|
default-height: -1;
|
||||||
modal: true;
|
modal: true;
|
||||||
@@ -119,7 +119,7 @@ template DetailsWindow : Adw.Window {
|
|||||||
icon-name: "help-about-symbolic";
|
icon-name: "help-about-symbolic";
|
||||||
|
|
||||||
popover: Popover {
|
popover: Popover {
|
||||||
visible: bind exec_info_button.active bidirectional;
|
visible: bind-property exec_info_button.active bidirectional;
|
||||||
|
|
||||||
Label exec_info_label {
|
Label exec_info_label {
|
||||||
use-markup: true;
|
use-markup: true;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
using Adw 1;
|
using Adw 1;
|
||||||
|
|
||||||
template Game : Box {
|
template $Game : Box {
|
||||||
orientation: vertical;
|
orientation: vertical;
|
||||||
halign: center;
|
halign: center;
|
||||||
valign: start;
|
valign: start;
|
||||||
|
|||||||
@@ -1,7 +1,7 @@
|
|||||||
using Gtk 4.0;
|
using Gtk 4.0;
|
||||||
using Adw 1;
|
using Adw 1;
|
||||||
|
|
||||||
template PreferencesWindow : Adw.PreferencesWindow {
|
template $PreferencesWindow : Adw.PreferencesWindow {
|
||||||
default-height: 500;
|
default-height: 500;
|
||||||
|
|
||||||
Adw.PreferencesPage general_page {
|
Adw.PreferencesPage general_page {
|
||||||
|
|||||||
@@ -44,7 +44,7 @@ Adw.StatusPage hidden_notice_empty {
|
|||||||
valign: center;
|
valign: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
template CartridgesWindow : Adw.ApplicationWindow {
|
template $CartridgesWindow : Adw.ApplicationWindow {
|
||||||
title: _("Cartridges");
|
title: _("Cartridges");
|
||||||
|
|
||||||
Adw.ToastOverlay toast_overlay {
|
Adw.ToastOverlay toast_overlay {
|
||||||
@@ -269,7 +269,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SearchBar search_bar {
|
SearchBar search_bar {
|
||||||
search-mode-enabled: bind search_button.active bidirectional;
|
search-mode-enabled: bind-property search_button.active bidirectional;
|
||||||
key-capture-widget: library_view;
|
key-capture-widget: library_view;
|
||||||
Adw.Clamp {
|
Adw.Clamp {
|
||||||
maximum-size: 500;
|
maximum-size: 500;
|
||||||
@@ -334,7 +334,7 @@ template CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
}
|
}
|
||||||
|
|
||||||
SearchBar hidden_search_bar {
|
SearchBar hidden_search_bar {
|
||||||
search-mode-enabled: bind hidden_search_button.active bidirectional;
|
search-mode-enabled: bind-property hidden_search_button.active bidirectional;
|
||||||
key-capture-widget: hidden_library_view;
|
key-capture-widget: hidden_library_view;
|
||||||
Adw.Clamp {
|
Adw.Clamp {
|
||||||
maximum-size: 500;
|
maximum-size: 500;
|
||||||
|
|||||||
Reference in New Issue
Block a user