feat: set activatable widget on action row

This commit is contained in:
FineFindus 2023-06-26 20:52:04 +02:00
parent 1dcd8c56ab
commit ce2472dfdd
No known key found for this signature in database
GPG key ID: 64873EE210FF8E6B
5 changed files with 7 additions and 0 deletions

View file

@ -3,6 +3,7 @@ using Adw 1;
template GradienceBuiltinPresetRow : Adw.ActionRow {
subtitle: _("Made by @GradienceTeam");
activatable-widget: apply_button;
[suffix]
Button apply_button {

View file

@ -2,6 +2,8 @@ using Gtk 4.0;
using Adw 1;
template GradienceExplorePresetRow : Adw.ActionRow {
activatable-widget: apply_button;
Box {
spacing: 6;

View file

@ -21,6 +21,7 @@ template GradienceMonetThemingGroup : Adw.PreferencesGroup {
Adw.ActionRow file-chooser-row {
title: _("Select an Image");
activatable-widget: file-chooser-button;
[suffix]
Button file-chooser-button {

View file

@ -2,6 +2,8 @@ using Gtk 4.0;
using Adw 1;
template GradiencePluginRow : Adw.ActionRow {
activatable-widget: switch;
[suffix]
Switch switch {
valign: center;

View file

@ -21,6 +21,7 @@ template GradienceShellThemingGroup : Adw.PreferencesGroup {
Adw.ActionRow custom-colors-row {
title: _("Customize Shell Theme");
activatable-widget: custom-colors-button;
[suffix]
Button custom-colors-button {