Skip to content

Commit

Permalink
Fixed inhibitor widget being visible on start
Browse files Browse the repository at this point in the history
  • Loading branch information
ErikReider committed Feb 23, 2023
1 parent 4f25e2e commit 14c830a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/controlCenter/widgets/inhibitors/inhibitors.vala
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@ namespace SwayNotificationCenter.Widgets {
}

title_widget = new Gtk.Label (title);
title_widget.show ();
add (title_widget);

if (has_clear_all_button) {
Expand All @@ -55,10 +56,11 @@ namespace SwayNotificationCenter.Widgets {
});
clear_all_button.set_can_focus (false);
clear_all_button.valign = Gtk.Align.CENTER;
clear_all_button.show ();
pack_end (clear_all_button, false);
}

show_all ();
hide ();
}
}
}

0 comments on commit 14c830a

Please sign in to comment.