imagePage: Make error output look better
Make the errors on the status page translatable. Hide detailed errors behind an extra error dialog that can be opened.
This commit is contained in:
parent
927272bb2c
commit
e129e842a6
9 changed files with 219 additions and 9 deletions
|
|
@ -61,7 +61,15 @@
|
|||
<object class="AdwStatusPage" id="error_page">
|
||||
<property name="icon-name">image-missing-symbolic</property>
|
||||
<property name="title" translatable="yes">Could not Load Image</property>
|
||||
<property name="description" bind-source="image" bind-property="error" />
|
||||
<child>
|
||||
<object class="GtkButton" id="error_more_info">
|
||||
<property name="label" translatable="true">More Information…</property>
|
||||
<property name="halign">center</property>
|
||||
<style>
|
||||
<class name="pill" />
|
||||
</style>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</child>
|
||||
<child>
|
||||
|
|
@ -118,4 +126,4 @@
|
|||
</object>
|
||||
</property>
|
||||
</template>
|
||||
</interface>
|
||||
</interface>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue