blob: 7a3f92fc341cee54745b84affc05293d829eed5f (
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
111
112
113
114
115
116
117
118
119
120
121
|
<?xml version="1.0" encoding="UTF-8"?>
<interface>
<requires lib="gtk" version="4.0"/>
<object class="AdwLeaflet" id="leaflet">
<property name="transition-type">slide</property>
<property name="can-navigate-back">true</property>
<property name="can-navigate-forward">true</property>
<child>
<object class="GtkBox" id="left_box">
<property name="orientation">vertical</property>
<style>
<class name="sidebar"/>
</style>
<child>
<object class="GtkStack" id="left_stack">
<property name="hexpand">False</property>
<child>
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
<object class="GtkScrolledWindow">
<property name="hscrollbar_policy">never</property>
<property name="vexpand">1</property>
<child>
<object class="DinoUiConversationSelector" id="conversation_list">
</object>
</child>
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">placeholder</property>
<property name="child">
<object class="AdwStatusPage">
<style>
<class name="compact"/>
</style>
<property name="margin-start">20</property>
<property name="margin-end">20</property>
<property name="margin-top">20</property>
<property name="margin-bottom">20</property>
<property name="width_request">260</property>
<property name="title" translatable="yes">You have no open chats</property>
<property name="description" translatable="yes">Click + to start a chat or join a channel</property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="GtkBox" id="right_box">
<property name="orientation">vertical</property>
<child>
<object class="AdwFlap" id="search_flap">
<property name="flap-position">end</property>
<property name="modal">true</property>
<property name="locked">true</property>
<property name="swipe-to-open">false</property>
<property name="fold-threshold-policy">natural</property>
<property name="hexpand">true</property>
<child type="content">
<object class="DinoUiNaturalSizeIncrease">
<property name="min-natural-width">600</property>
<child>
<object class="GtkStack" id="right_stack">
<property name="hexpand">false</property>
<child>
<object class="GtkStackPage">
<property name="name">content</property>
<property name="child">
<object class="DinoUiConversationView" id="conversation_view">
</object>
</property>
</object>
</child>
<child>
<object class="GtkStackPage">
<property name="name">placeholder</property>
<property name="child">
<object class="AdwStatusPage">
<property name="icon-name">im.dino.Dino-symbolic</property>
<property name="hexpand">True</property>
<property name="vexpand">True</property>
</object>
</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="separator">
<object class="GtkSeparator" />
</child>
<child type="flap">
<object class="AdwClamp">
<property name="hexpand">false</property>
<property name="maximum-size">400</property>
<property name="tightening-threshold">400</property>
<child>
<object class="AdwBin" id="search_frame">
<property name="hexpand">true</property>
<style>
<class name="background"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</interface>
|