2020-04-10 19:08:23 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<interface>
|
2022-02-14 13:55:59 +00:00
|
|
|
<requires lib="gtk" version="4.0"/>
|
|
|
|
<template class="DinoUiFileDefaultWidget">
|
|
|
|
<property name="halign">start</property>
|
|
|
|
<style>
|
|
|
|
<class name="file-box-outer"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="DinoUiSizingBin">
|
|
|
|
<property name="target-width">500</property>
|
|
|
|
<property name="max-width">500</property>
|
|
|
|
<property name="hexpand">True</property>
|
2020-04-10 19:08:23 +00:00
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<property name="spacing">10</property>
|
|
|
|
<style>
|
|
|
|
<class name="file-box"/>
|
|
|
|
</style>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStack" id="image_stack">
|
|
|
|
<property name="transition-type">crossfade</property>
|
|
|
|
<property name="transition-duration">50</property>
|
|
|
|
<property name="valign">center</property>
|
2020-04-10 19:08:23 +00:00
|
|
|
<child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">download_image</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkImage">
|
|
|
|
<property name="icon-name">dino-file-download-symbolic</property>
|
|
|
|
<property name="pixel-size">30</property>
|
|
|
|
<property name="opacity">0.7</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
2020-04-10 19:08:23 +00:00
|
|
|
</child>
|
2022-02-14 13:55:59 +00:00
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">content_type_image</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkImage" id="content_type_image">
|
|
|
|
<property name="pixel-size">30</property>
|
|
|
|
<property name="opacity">0.7</property>
|
|
|
|
</object>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkStackPage">
|
|
|
|
<property name="name">spinner</property>
|
|
|
|
<property name="child">
|
|
|
|
<object class="GtkSpinner" id="spinner"/>
|
|
|
|
</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkBox">
|
|
|
|
<property name="orientation">vertical</property>
|
|
|
|
<property name="hexpand">1</property>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="name_label">
|
|
|
|
<property name="ellipsize">middle</property>
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="yalign">0</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkLabel" id="mime_label">
|
|
|
|
<property name="xalign">0</property>
|
|
|
|
<property name="yalign">1</property>
|
|
|
|
<attributes>
|
|
|
|
<attribute name="scale" value="0.8"></attribute>
|
|
|
|
</attributes>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
<child>
|
|
|
|
<object class="GtkMenuButton" id="file_menu">
|
|
|
|
<property name="icon-name">open-menu-symbolic</property>
|
|
|
|
<property name="opacity">0</property>
|
|
|
|
<property name="has_frame">False</property>
|
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</object>
|
2020-04-10 19:08:23 +00:00
|
|
|
</child>
|
2022-02-14 13:55:59 +00:00
|
|
|
</object>
|
|
|
|
</child>
|
|
|
|
</template>
|
|
|
|
</interface>
|