camera: Use AdwStatusPage

This commit is contained in:
Christopher Davis 2022-01-14 18:08:44 -08:00 committed by Georges Basile Stavracas Neto
parent 2f9ed9e2a6
commit 72e9ace169

View file

@ -11,37 +11,10 @@
<object class="GtkStackPage">
<property name="name">empty</property>
<property name="child">
<object class="GtkBox">
<property name="orientation">vertical</property>
<property name="valign">center</property>
<child>
<object class="GtkImage">
<property name="valign">start</property>
<property name="pixel-size">96</property>
<object class="AdwStatusPage">
<property name="icon-name">camera-disabled-symbolic</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="margin-top">20</property>
<property name="margin-bottom">15</property>
<property name="label" translatable="yes">Camera is turned off</property>
<attributes>
<attribute name="scale" value="1.44"/>
</attributes>
</object>
</child>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">No applications can capture photos or video.</property>
<style>
<class name="dim-label"/>
</style>
</object>
</child>
<property name="title" translatable="yes">Camera is Turned Off</property>
<property name="description" translatable="yes">No applications can capture photos or video.</property>
</object>
</property>
</object>