mirror of
https://github.com/ErikReider/SwayNotificationCenter.git
synced 2024-09-11 15:56:04 +03:00
Fixed inhibitor widget being visible on start
This commit is contained in:
parent
4f25e2e609
commit
14c830a11d
@ -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 ();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user