166
166
<property name =" title" translatable =" yes" >General</property >
167
167
168
168
<child >
169
- <object class =" AdwActionRow " >
169
+ <object class =" AdwEntryRow " id = " weron-url-input " >
170
170
<property name =" title" translatable =" yes" >Signaling server URL</property >
171
- <property name =" subtitle" translatable =" yes" >URL for the weron signaling server</property >
172
- <property name =" activatable-widget" >weron-url-input</property >
173
171
174
172
<child >
175
- <object class =" GtkEntry" id =" weron-url-input" >
173
+ <object class =" GtkMenuButton" >
174
+ <style >
175
+ <class name =" flat" ></class >
176
+ <class name =" circular" ></class >
177
+ </style >
178
+
179
+ <property name =" icon-name" >help-about</property >
180
+ <property name =" tooltip-text" >Show help</property >
176
181
<property name =" valign" >center</property >
182
+ <property name =" popover" >weron-url-input-popover</property >
177
183
</object >
178
184
</child >
179
185
</object >
180
186
</child >
181
187
182
188
<child >
183
- <object class =" AdwActionRow " >
189
+ <object class =" AdwEntryRow " id = " weron-ice-input " >
184
190
<property name =" title" translatable =" yes" >STUN/TURN servers</property >
185
- <property name =" subtitle" translatable =" yes" >Comma-separated list of weron STUN (in format stun:host:port) and TURN servers (in format username:credential@turn:host:port)</property >
186
- <property name =" activatable-widget" >weron-ice-input</property >
187
191
188
192
<child >
189
- <object class =" GtkEntry" id =" weron-ice-input" >
193
+ <object class =" GtkMenuButton" >
194
+ <style >
195
+ <class name =" flat" ></class >
196
+ <class name =" circular" ></class >
197
+ </style >
198
+
199
+ <property name =" icon-name" >help-about</property >
200
+ <property name =" tooltip-text" >Show help</property >
190
201
<property name =" valign" >center</property >
202
+ <property name =" popover" >weron-ice-input-popover</property >
191
203
</object >
192
204
</child >
193
205
</object >
261
273
</object >
262
274
</child >
263
275
</object >
276
+
277
+ <object class =" GtkPopover" id =" weron-url-input-popover" >
278
+ <child >
279
+ <object class =" GtkLabel" >
280
+ <property name =" label" >URL for the weron signaling server</property >
281
+ </object >
282
+ </child >
283
+ </object >
284
+
285
+ <object class =" GtkPopover" id =" weron-ice-input-popover" >
286
+ <child >
287
+ <object class =" GtkLabel" >
288
+ <property name =" label" >Comma-separated list of weron STUN (in format stun:host:port) and TURN servers (in format username:credential@turn:host:port)</property >
289
+ </object >
290
+ </child >
291
+ </object >
264
292
</interface >
0 commit comments