Newer BLP+Libadwaita syntax/widgets
This commit is contained in:
@@ -250,23 +250,13 @@ template $PreferencesWindow : Adw.PreferencesWindow {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.ActionRow flatpak_import_launchers_row {
|
Adw.SwitchRow flatpak_import_launchers_switch {
|
||||||
title: _("Import Game Launchers");
|
title: _("Import Game Launchers");
|
||||||
activatable-widget: flatpak_import_launchers_switch;
|
|
||||||
|
|
||||||
Switch flatpak_import_launchers_switch {
|
|
||||||
valign: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Adw.ActionRow {
|
Adw.SwitchRow desktop_switch {
|
||||||
title: _("Desktop Entries");
|
title: _("Desktop Entries");
|
||||||
activatable-widget: desktop_switch;
|
|
||||||
|
|
||||||
Switch desktop_switch {
|
|
||||||
valign: center;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -155,7 +155,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
[start]
|
[start]
|
||||||
Revealer {
|
Revealer {
|
||||||
transition-type: slide_right;
|
transition-type: slide_right;
|
||||||
reveal-child: bind-property overlay_split_view.show-sidebar inverted;
|
reveal-child: bind overlay_split_view.show-sidebar inverted;
|
||||||
Button show_sidebar_button {
|
Button show_sidebar_button {
|
||||||
icon-name: "sidebar-show-symbolic";
|
icon-name: "sidebar-show-symbolic";
|
||||||
action-name: "win.show_sidebar";
|
action-name: "win.show_sidebar";
|
||||||
@@ -187,7 +187,7 @@ template $CartridgesWindow : Adw.ApplicationWindow {
|
|||||||
|
|
||||||
[top]
|
[top]
|
||||||
SearchBar search_bar {
|
SearchBar search_bar {
|
||||||
search-mode-enabled: bind-property search_button.active bidirectional;
|
search-mode-enabled: bind search_button.active bidirectional;
|
||||||
key-capture-widget: library_view;
|
key-capture-widget: library_view;
|
||||||
|
|
||||||
Adw.Clamp {
|
Adw.Clamp {
|
||||||
@@ -246,7 +246,7 @@ Adw.NavigationPage hidden_library_page {
|
|||||||
|
|
||||||
[top]
|
[top]
|
||||||
SearchBar hidden_search_bar {
|
SearchBar hidden_search_bar {
|
||||||
search-mode-enabled: bind-property hidden_search_button.active bidirectional;
|
search-mode-enabled: bind hidden_search_button.active bidirectional;
|
||||||
key-capture-widget: hidden_library_view;
|
key-capture-widget: hidden_library_view;
|
||||||
|
|
||||||
Adw.Clamp {
|
Adw.Clamp {
|
||||||
|
|||||||
Reference in New Issue
Block a user