| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<requires lib="gtk+" version="3.20"/> |
| 4 |
<template class="ConnectionsAssistant" parent="GtkPopover"> |
| 5 |
<property name="border-width">10</property> |
| 6 |
|
| 7 |
<child> |
| 8 |
<object class="GtkBox"> |
| 9 |
<property name="visible">True</property> |
| 10 |
<property name="orientation">vertical</property> |
| 11 |
|
| 12 |
<child> |
| 13 |
<object class="GtkBox"> |
| 14 |
<property name="visible">True</property> |
| 15 |
<property name="orientation">vertical</property> |
| 16 |
<property name="margin">10</property> |
| 17 |
<property name="spacing">5</property> |
| 18 |
|
| 19 |
<child> |
| 20 |
<object class="GtkLabel"> |
| 21 |
<property name="visible">True</property> |
| 22 |
<property name="halign">start</property> |
| 23 |
<property name="xalign">0</property> |
| 24 |
<property name="wrap">True</property> |
| 25 |
<property name="max-width-chars">40</property> |
| 26 |
<property name="label" translatable="yes">Enter the network identifier of the remote desktop to connect to:</property> |
| 27 |
</object> |
| 28 |
</child> |
| 29 |
|
| 30 |
<child> |
| 31 |
<object class="GtkEntry" id="url_entry"> |
| 32 |
<property name="visible">True</property> |
| 33 |
<property name="hexpand">True</property> |
| 34 |
<property name="completion">url_completion</property> |
| 35 |
<signal name="changed" handler="on_url_entry_changed"/> |
| 36 |
<signal name="activate" handler="on_url_entry_activated"/> |
| 37 |
</object> |
| 38 |
</child> |
| 39 |
</object> |
| 40 |
</child> |
| 41 |
|
| 42 |
<child> |
| 43 |
<object class="GtkBox"> |
| 44 |
<property name="visible">True</property> |
| 45 |
<property name="orientation">vertical</property> |
| 46 |
<property name="margin">10</property> |
| 47 |
<property name="spacing">5</property> |
| 48 |
|
| 49 |
<child> |
| 50 |
<object class="GtkLabel"> |
| 51 |
<property name="visible">True</property> |
| 52 |
<property name="halign">start</property> |
| 53 |
<property name="label" translatable="yes">Connection Type</property> |
| 54 |
<attributes> |
| 55 |
<attribute name="weight" value="bold"/> |
| 56 |
</attributes> |
| 57 |
</object> |
| 58 |
</child> |
| 59 |
|
| 60 |
<child> |
| 61 |
<object class="GtkRadioButton" id="rdp_radio_button"> |
| 62 |
<property name="visible">True</property> |
| 63 |
<property name="label" translatable="yes">RDP (Standard, high performance)</property> |
| 64 |
<signal name="toggled" handler="on_url_entry_changed"/> |
| 65 |
</object> |
| 66 |
</child> |
| 67 |
|
| 68 |
<child> |
| 69 |
<object class="GtkRadioButton" id="vnc_radio_button"> |
| 70 |
<property name="visible">True</property> |
| 71 |
<property name="group">rdp_radio_button</property> |
| 72 |
<property name="label" translatable="yes">VNC (Legacy)</property> |
| 73 |
<signal name="toggled" handler="on_url_entry_changed"/> |
| 74 |
</object> |
| 75 |
</child> |
| 76 |
|
| 77 |
<child> |
| 78 |
<object class="GtkRadioButton" id="spice_radio_button"> |
| 79 |
<property name="visible">True</property> |
| 80 |
<property name="group">rdp_radio_button</property> |
| 81 |
<property name="label" translatable="yes">SPICE (Virtual machines)</property> |
| 82 |
<signal name="toggled" handler="on_url_entry_changed"/> |
| 83 |
</object> |
| 84 |
</child> |
| 85 |
</object> |
| 86 |
</child> |
| 87 |
|
| 88 |
<child> |
| 89 |
<object class="GtkBox"> |
| 90 |
<property name="visible">True</property> |
| 91 |
<property name="margin">10</property> |
| 92 |
<property name="spacing">5</property> |
| 93 |
|
| 94 |
<child> |
| 95 |
<object class="GtkButton" id="help_button"> |
| 96 |
<property name="visible">True</property> |
| 97 |
<property name="hexpand">True</property> |
| 98 |
<property name="halign">start</property> |
| 99 |
<property name="label" translatable="yes">Help</property> |
| 100 |
<signal name="clicked" handler="on_help_button_clicked"/> |
| 101 |
</object> |
| 102 |
</child> |
| 103 |
|
| 104 |
<child> |
| 105 |
<object class="GtkButton" id="create_button"> |
| 106 |
<property name="visible">True</property> |
| 107 |
<property name="sensitive">False</property> |
| 108 |
<property name="halign">end</property> |
| 109 |
<property name="label" translatable="yes">Connect</property> |
| 110 |
<signal name="clicked" handler="on_create_connection_button_clicked"/> |
| 111 |
<style> |
| 112 |
<class name="suggested-action"/> |
| 113 |
</style> |
| 114 |
</object> |
| 115 |
</child> |
| 116 |
</object> |
| 117 |
</child> |
| 118 |
</object> |
| 119 |
</child> |
| 120 |
</template> |
| 121 |
|
| 122 |
<object class="GtkEntryCompletion" id="url_completion"> |
| 123 |
<property name="inline-completion">True</property> |
| 124 |
<property name="popup-completion">False</property> |
| 125 |
<property name="text-column">0</property> |
| 126 |
<property name="model">url_completion_model</property> |
| 127 |
</object> |
| 128 |
|
| 129 |
<object class="GtkListStore" id="url_completion_model"> |
| 130 |
<columns> |
| 131 |
<column type="gchararray"/> |
| 132 |
</columns> |
| 133 |
<data> |
| 134 |
<row> |
| 135 |
<col id="0">vnc://</col> |
| 136 |
</row> |
| 137 |
<row> |
| 138 |
<col id="0">rdp://</col> |
| 139 |
</row> |
| 140 |
</data> |
| 141 |
</object> |
| 142 |
|
| 143 |
<object class="GtkSizeGroup"> |
| 144 |
<widgets> |
| 145 |
<widget name="help_button"/> |
| 146 |
<widget name="create_button"/> |
| 147 |
</widgets> |
| 148 |
</object> |
| 149 |
</interface> |