Skip to content

Commit

Permalink
New button stuff
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Jul 30, 2024
1 parent d7cdafe commit f6d3bec
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
10 changes: 6 additions & 4 deletions data/ui/window.blp
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ template $BudsWindow : He.ApplicationWindow {
orientation: vertical;
spacing: 0;
hexpand: true;

styles [
"main-view",
]
Expand Down Expand Up @@ -136,18 +136,20 @@ template $BudsWindow : He.ApplicationWindow {
title: _("Phone");
icon: "phone-symbolic";

He.DisclosureButton phone_button {
He.Button phone_button {
icon: "edit-copy-symbolic";
is-disclosure: true;
}
}

He.MiniContentBlock email_block {
visible: false;
title: _("Email");
icon: "mail-archive-symbolic";
He.DisclosureButton email_button {

He.Button email_button {
icon: "edit-copy-symbolic";
is-disclosure: true;
}
}

Expand Down
4 changes: 2 additions & 2 deletions src/window.vala
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,9 @@ namespace Buds {
[GtkChild]
private unowned He.EmptyPage empty_page;
[GtkChild]
private unowned He.DisclosureButton phone_button;
private unowned He.Button phone_button;
[GtkChild]
private unowned He.DisclosureButton email_button;
private unowned He.Button email_button;

public Core.Store store = Core.Store.get_default ();

Expand Down

0 comments on commit f6d3bec

Please sign in to comment.