aboutsummaryrefslogtreecommitdiff
path: root/main/data/file_default_widget.ui
blob: 6315e230ccdabe2428964fc79b87551449abf7b2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
<?xml version="1.0" encoding="UTF-8"?>
<interface>
    <template class="DinoUiFileDefaultWidget" parent="GtkEventBox">
        <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>
                <property name="visible">True</property>
                <child>
                    <object class="GtkBox">
                        <property name="orientation">horizontal</property>
                        <property name="halign">fill</property>
                        <property name="hexpand">true</property>
                        <property name="spacing">10</property>
                        <property name="visible">True</property>
                        <style>
                            <class name="file-box"/>
                        </style>
                        <child>
                            <object class="GtkEventBox" id="stack_event_box">
                                <property name="visible">True</property>
                                <child>
                                    <object class="GtkStack" id="image_stack">
                                        <property name="transition-type">crossfade</property>
                                        <property name="transition-duration">50</property>
                                        <property name="valign">center</property>
                                        <property name="visible">True</property>
                                        <child>
                                            <object class="GtkImage">
                                                <property name="icon-name">dino-file-download-symbolic</property>
                                                <property name="icon-size">5</property>
                                                <property name="opacity">0.7</property>
                                                <property name="visible">True</property>
                                            </object>
                                            <packing>
                                                <property name="name">download_image</property>
                                            </packing>
                                        </child>
                                        <child>
                                            <object class="GtkImage" id="content_type_image">
                                                <property name="icon-size">5</property>
                                                <property name="opacity">0.7</property>
                                                <property name="visible">True</property>
                                            </object>
                                            <packing>
                                                <property name="name">content_type_image</property>
                                            </packing>
                                        </child>
                                        <child>
                                            <object class="GtkSpinner" id="spinner">
                                                <property name="visible">True</property>
                                            </object>
                                            <packing>
                                                <property name="name">spinner</property>
                                            </packing>
                                        </child>
                                    </object>
                                </child>
                            </object>
                        </child>
                        <child>
                            <object class="GtkBox">
                                <property name="orientation">vertical</property>
                                <property name="hexpand">True</property>
                                <property name="visible">True</property>
                                <child>
                                    <object class="GtkLabel" id="name_label">
                                        <property name="ellipsize">middle</property>
                                        <property name="xalign">0</property>
                                        <property name="yalign">0</property>
                                        <property name="visible">True</property>
                                    </object>
                                </child>
                                <child>
                                    <object class="GtkLabel" id="mime_label">
                                        <property name="xalign">0</property>
                                        <property name="yalign">1</property>
                                        <property name="visible">True</property>
                                        <attributes>
                                            <attribute name="scale" value="0.8"/>
                                        </attributes>
                                    </object>
                                </child>
                            </object>
                        </child>
                        <child>
                            <object class="GtkMenuButton" id="file_menu">
                                <property name="visible">True</property>
                                <property name="opacity">0</property>
                                <property name="relief">none</property>
                                <child>
                                    <object class="GtkImage">
                                        <property name="visible">True</property>
                                        <property name="icon-name">open-menu-symbolic</property>
                                        <property name="icon-size">1</property>
                                    </object>
                                </child>
                            </object>
                        </child>
                    </object>
                </child>
            </object>
        </child>
    </template>
</interface>