Commit 14c830a1 authored by Erik Reider's avatar Erik Reider

Fixed inhibitor widget being visible on start

parent 4f25e2e6
...@@ -42,6 +42,7 @@ namespace SwayNotificationCenter.Widgets { ...@@ -42,6 +42,7 @@ namespace SwayNotificationCenter.Widgets {
} }
title_widget = new Gtk.Label (title); title_widget = new Gtk.Label (title);
title_widget.show ();
add (title_widget); add (title_widget);
if (has_clear_all_button) { if (has_clear_all_button) {
...@@ -55,10 +56,11 @@ namespace SwayNotificationCenter.Widgets { ...@@ -55,10 +56,11 @@ namespace SwayNotificationCenter.Widgets {
}); });
clear_all_button.set_can_focus (false); clear_all_button.set_can_focus (false);
clear_all_button.valign = Gtk.Align.CENTER; clear_all_button.valign = Gtk.Align.CENTER;
clear_all_button.show ();
pack_end (clear_all_button, false); pack_end (clear_all_button, false);
} }
show_all (); hide ();
} }
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment