Fixed inhibitor widget being visible on start
This commit is contained in:
@@ -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 {
|
|||||||
});
|
});
|
||||||
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 ();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user