Files
Notify/data/resources/ui/subscription_info_dialog.blp
Colin Powell c112c8dd47
Some checks failed
CI / Rustfmt (push) Successful in 35s
CI / Flatpak (push) Failing after 6s
[retention] Add setting for auto removing notifications
2026-03-19 20:52:05 -04:00

53 lines
1.3 KiB
Plaintext

using Gtk 4.0;
using Adw 1;
template $SubscriptionInfoDialog : Adw.Dialog {
title: "Subscription Info";
Adw.ToolbarView {
[top]
Adw.HeaderBar {}
Adw.Clamp {
Gtk.Box {
orientation: vertical;
spacing: 8;
margin-top: 8;
margin-bottom: 8;
margin-start: 8;
margin-end: 8;
Gtk.ListBox {
Adw.EntryRow display_name_entry {
title: "Display Name";
}
Adw.ActionRow {
title: "Topic";
subtitle-selectable: true;
subtitle: bind (template.subscription as <$TopicSubscription>).topic as <string>;
styles [
"property"
]
}
Adw.ActionRow {
title: "Server";
subtitle: bind (template.subscription as <$TopicSubscription>).server as <string>;
subtitle-selectable: true;
styles [
"property"
]
}
Adw.SwitchRow muted_switch_row {
title: "Muted";
}
Adw.SpinRow retention_hours_spin_row {
title: "Retention Hours";
subtitle: "How long messages are stored (0 = forever)";
}
styles [
"boxed-list"
]
}
}
}
}
}