blob: 906dff1bd6716af7f80436f25393e91e26e77d66 [file] [log] [blame]
Stepan Salenikovichde896112015-05-11 16:46:33 -04001<?xml version="1.0" encoding="UTF-8"?>
2<interface>
3 <requires lib="gtk+" version="3.10"/>
4 <object class="GtkAdjustment" id="adjustment_history_duration">
5 <property name="value">0</property>
6 <property name="lower">0</property>
7 <property name="upper">65535</property>
8 <property name="step_increment">1</property>
9 <property name="page_increment">10</property>
10 </object>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040011 <template class="GeneralSettingsView" parent="GtkScrolledWindow">
Stepan Salenikovichde896112015-05-11 16:46:33 -040012 <property name="visible">True</property>
Stepan Salenikovichde896112015-05-11 16:46:33 -040013 <child>
AmarOk436bd9b2017-07-13 15:02:48 -040014 <object class="GtkBox" id="vbox_main_columns">
Stepan Salenikovichde896112015-05-11 16:46:33 -040015 <property name="visible">True</property>
Stepan Salenikovichde896112015-05-11 16:46:33 -040016 <property name="spacing">10</property>
Stepan Salenikovichab0f5be2016-02-05 15:16:35 -050017 <property name="border_width">10</property>
AmarOk436bd9b2017-07-13 15:02:48 -040018 <property name="orientation">vertical</property>
19 <property name="halign">center</property>
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040020 <!-- start profil settings -->
21 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040022 <object class="GtkBox" id="vbox_main_left">
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040023 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040024 <property name="orientation">vertical</property>
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040025 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040026 <object class="GtkFrame" id="frame_profile_settings">
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040027 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040028 <property name="label_xalign">0</property>
29 <property name="shadow_type">none</property>
30 <!-- start frame label -->
31 <child type="label">
32 <object class="GtkLabel" id="label_profile_settings">
33 <property name="visible">True</property>
Stepan Salenikovich40a77bd2016-07-28 16:00:18 -040034 <property name="label" translatable="yes">Profile Settings</property>
35 <attributes>
36 <attribute name="weight" value="bold"/>
37 </attributes>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040038 </object>
39 </child>
40 <!-- end frame label -->
41 <!-- start box ring settings-->
42 <child>
43 <object class="GtkBox" id="box_profil_settings">
44 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040045 <property name="valign">end</property>
46 <property name="halign">start</property>
47 <property name="orientation">vertical</property>
48 <property name="spacing">10</property>
49 </object>
50 </child>
51 <!-- end box ring settings-->
52 <!-- end profil settings -->
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040053 </object>
Stepan Salenikovich982b2882016-06-15 13:13:37 -040054 </child>
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040055 </object>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040056 <packing>
57 <property name="expand">False</property>
58 <property name="fill">True</property>
59 </packing>
Nicolas Jager6f5e04a2016-05-18 15:04:59 -040060 </child>
Stepan Salenikovichfb7f2952015-05-25 16:44:19 -040061 <!-- start ring settings -->
62 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040063 <object class="GtkBox" id="vbox_main_right">
Stepan Salenikovichfb7f2952015-05-25 16:44:19 -040064 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040065 <property name="orientation">vertical</property>
66 <property name="spacing">12</property>
Stepan Salenikovichfb7f2952015-05-25 16:44:19 -040067 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040068 <object class="GtkFrame" id="frame_ring_settings">
Stepan Salenikovichfb7f2952015-05-25 16:44:19 -040069 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040070 <property name="label_xalign">0</property>
71 <property name="shadow_type">none</property>
72 <!-- start frame label -->
73 <child type="label">
74 <object class="GtkLabel" id="label_ring_settings">
75 <property name="visible">True</property>
Stepan Salenikovich40a77bd2016-07-28 16:00:18 -040076 <property name="label" translatable="yes">Ring Settings</property>
77 <attributes>
78 <attribute name="weight" value="bold"/>
79 </attributes>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040080 </object>
81 </child>
82 <!-- end frame label -->
83 <!-- start box ring settings-->
84 <child>
85 <object class="GtkBox" id="box_ring_settings">
Stepan Salenikovichfb7f2952015-05-25 16:44:19 -040086 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040087 <property name="orientation">vertical</property>
88 <property name="margin_left">10</property>
89 <property name="margin_top">10</property>
Stepan Salenikovicha5e8e362015-11-05 16:50:48 -050090 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040091 <object class="GtkCheckButton" id="checkbutton_autostart">
92 <property name="label" translatable="yes">Start Ring on login</property>
Stepan Salenikovicha5e8e362015-11-05 16:50:48 -050093 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -040094 <property name="xalign">0</property>
95 <property name="draw_indicator">True</property>
Stepan Salenikovicha5e8e362015-11-05 16:50:48 -050096 </object>
97 </child>
98 <child>
Stepan Salenikovich982b2882016-06-15 13:13:37 -040099 <object class="GtkCheckButton" id="checkbutton_showstatusicon">
100 <property name="label" translatable="yes">Show Ring icon in the notification area (systray).</property>
Stepan Salenikovicha5e8e362015-11-05 16:50:48 -0500101 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400102 <property name="xalign">0</property>
103 <property name="draw_indicator">True</property>
104 </object>
105 </child>
106 <child>
107 <object class="GtkCheckButton" id="checkbutton_bringtofront">
108 <property name="label" translatable="yes">Bring Ring to the foreground on incoming calls.</property>
109 <property name="visible">True</property>
Stepan Salenikovich5a127672016-09-13 11:19:50 -0400110 <property name="xalign">0</property>
111 <property name="draw_indicator">True</property>
112 </object>
113 </child>
114 <child>
115 <object class="GtkCheckButton" id="checkbutton_callnotifications">
116 <property name="label" translatable="yes">Enable notifications for incoming calls.</property>
117 <property name="visible">True</property>
118 <property name="xalign">0</property>
119 <property name="draw_indicator">True</property>
120 </object>
121 </child>
122 <child>
123 <object class="GtkCheckButton" id="checkbutton_chatnotifications">
124 <property name="label" translatable="yes">Enable notifications for new chat messages.</property>
125 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400126 <property name="xalign">0</property>
127 <property name="draw_indicator">True</property>
128 </object>
129 </child>
130 <child>
Sébastien Blin70dc0b72017-07-31 16:24:41 -0400131 <object class="GtkCheckButton" id="checkbutton_chatdisplaylinks">
132 <property name="label" translatable="yes">Show images and videos in chat window.</property>
133 <property name="visible">True</property>
134 <property name="xalign">0</property>
135 <property name="draw_indicator">True</property>
136 </object>
137 </child>
138 <child>
Stepan Salenikoviche9933242016-06-21 18:08:48 -0400139 <object class="GtkCheckButton" id="checkbutton_searchentryplacescall">
140 <property name="label" translatable="yes">Entering a number in the search entry will place a new call.</property>
141 <property name="visible">True</property>
142 <property name="xalign">0</property>
143 <property name="draw_indicator">True</property>
144 </object>
145 </child>
AmarOk436bd9b2017-07-13 15:02:48 -0400146
147
Stepan Salenikoviche9933242016-06-21 18:08:48 -0400148 <child>
AmarOk436bd9b2017-07-13 15:02:48 -0400149 <object class="GtkBox" id="box_position_chat">
150 <property name="visible">True</property>
151 <property name="orientation">vertical</property>
152 <property name="margin_top">20</property>
153 <child>
154 <object class="GtkRadioButton" id="radiobutton_chatright">
155 <property name="label" translatable="yes">Show chat on the right.</property>
156 <property name="visible">True</property>
157 </object>
158 </child>
159 <child>
160 <object class="GtkRadioButton" id="radiobutton_chatbottom">
161 <property name="label" translatable="yes">Show chat on the bottom.</property>
162 <property name="visible">True</property>
163 <property name="group">radiobutton_chatright</property>
164 </object>
165 </child>
166 </object>
167 </child>
168
169
Stepan Salenikovicha5e8e362015-11-05 16:50:48 -0500170 </object>
171 </child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400172 <!-- end box ring settings -->
Stepan Salenikovichfb7f2952015-05-25 16:44:19 -0400173 </object>
174 </child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400175 <!-- start history settings -->
Stepan Salenikovichde896112015-05-11 16:46:33 -0400176 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400177 <object class="GtkFrame" id="frame_history_settings">
Stepan Salenikovichde896112015-05-11 16:46:33 -0400178 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400179 <property name="label_xalign">0</property>
180 <property name="shadow_type">none</property>
181 <!-- start frame label -->
182 <child type="label">
183 <object class="GtkLabel" id="label_history_settings">
184 <property name="visible">True</property>
Stepan Salenikovich40a77bd2016-07-28 16:00:18 -0400185 <property name="label" translatable="yes">History Settings</property>
186 <attributes>
187 <attribute name="weight" value="bold"/>
188 </attributes>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400189 </object>
190 </child>
191 <!-- end frame label -->
192 <!-- start grid history settings-->
Stepan Salenikovichde896112015-05-11 16:46:33 -0400193 <child>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400194 <object class="GtkGrid" id="grid_history_settings">
195 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400196 <property name="margin_left">10</property>
197 <property name="margin_top">10</property>
198 <property name="row_spacing">10</property>
199 <property name="column_spacing">10</property>
200 <child>
201 <object class="GtkLabel" id="label_history_duration">
202 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400203 <property name="label" translatable="yes">Keep history for (days):</property>
204 </object>
205 <packing>
206 <property name="left_attach">0</property>
207 <property name="top_attach">0</property>
208 </packing>
209 </child>
210 <child>
211 <object class="GtkSpinButton" id="spinbutton_history_duration">
212 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400213 <property name="value">0</property>
214 <property name="adjustment">adjustment_history_duration</property>
215 </object>
216 <packing>
217 <property name="left_attach">1</property>
218 <property name="top_attach">0</property>
219 </packing>
220 </child>
221 <child>
222 <object class="GtkLabel" id="label_history_explanation">
223 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400224 <property name="label" translatable="yes">(set to 0 for unlimited history)</property>
225 </object>
226 <packing>
227 <property name="left_attach">1</property>
228 <property name="top_attach">1</property>
229 </packing>
230 </child>
231 <child>
232 <object class="GtkButton" id="button_clear_history">
AmarOk436bd9b2017-07-13 15:02:48 -0400233 <property name="image">image_clear_history</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400234 <property name="label" translatable="yes">Clear all history</property>
235 <property name="visible">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400236 <property name="receives_default">True</property>
237 <property name="halign">start</property>
238 </object>
239 <packing>
Stepan Salenikovich738e59a2016-09-16 15:36:11 -0400240 <property name="left_attach">0</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400241 <property name="top_attach">2</property>
Stepan Salenikovich738e59a2016-09-16 15:36:11 -0400242 <property name="width">2</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400243 </packing>
244 </child>
245 </object>
246 </child>
247 <!-- end grid history settings -->
248 </object>
249 </child>
250 <!-- end history settings -->
251 </object>
252 </child>
253 </object>
254 <packing>
AmarOk436bd9b2017-07-13 15:02:48 -0400255 <property name="expand">True</property>
Nicolas Jager7e4bc022016-05-19 10:36:10 -0400256 <property name="fill">True</property>
257 </packing>
258 </child>
259</template>
AmarOk436bd9b2017-07-13 15:02:48 -0400260
261<object class="GtkImage" id="image_clear_history">
262 <property name="visible">True</property>
263 <property name="resource">/cx/ring/RingGnome/clear_history</property>
264</object>
Stepan Salenikovichde896112015-05-11 16:46:33 -0400265</interface>