Skip to content

Commit

Permalink
Fix Action button in EmptyPage
Browse files Browse the repository at this point in the history
  • Loading branch information
lainsce committed Aug 12, 2024
1 parent 27edfd0 commit 90bbf38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/Widgets/EmptyPage.vala
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class He.EmptyPage : He.Bin {
* Can connect to the clicked signal to get notified when the button is clicked.
* e.g. action_button.clicked.connect(() => { ... });
*/
public He.Button action_button = new He.Button (null, null);
public He.Button action_button = new He.Button ("", "");

/**
* Sets the title of the empty page.
Expand Down Expand Up @@ -125,6 +125,8 @@ public class He.EmptyPage : He.Bin {
description_label.add_css_class ("body");
icon_image.pixel_size = 128;

action_button.is_pill = true;

set_layout_manager (new Gtk.BoxLayout (Gtk.Orientation.VERTICAL));

box_title.append (title_label);
Expand Down

0 comments on commit 90bbf38

Please sign in to comment.