Fixed inhibitor widget being visible on start

This commit is contained in:
Erik Reider 2023-02-23 21:43:50 +01:00
parent 4f25e2e609
commit 14c830a11d

View File

@ -42,6 +42,7 @@ namespace SwayNotificationCenter.Widgets {
}
title_widget = new Gtk.Label (title);
title_widget.show ();
add (title_widget);
if (has_clear_all_button) {
@ -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 ();
}
}
}