| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<interface> |
| 3 |
<requires lib="gtk+" version="3.20"/> |
| 4 |
<template class="ConnectionsTopbar" parent="GtkStack"> |
| 5 |
<child> |
| 6 |
<object class="HdyHeaderBar" id="collection_toolbar"> |
| 7 |
<property name="visible">True</property> |
| 8 |
<property name="show-close-button">True</property> |
| 9 |
<property name="title" translatable="yes">Connections</property> |
| 10 |
<style> |
| 11 |
<class name="titlebar"/> |
| 12 |
</style> |
| 13 |
|
| 14 |
<child> |
| 15 |
<object class="GtkMenuButton" id="new_button"> |
| 16 |
<property name="visible">True</property> |
| 17 |
<property name="popover">assistant</property> |
| 18 |
<property name="tooltip-text" translatable="yes">New</property> |
| 19 |
|
| 20 |
<child internal-child="accessible"> |
| 21 |
<object class="AtkObject" id="a11y-new-button"> |
| 22 |
<property name="accessible-name" translatable="yes">New</property> |
| 23 |
</object> |
| 24 |
</child> |
| 25 |
|
| 26 |
<child> |
| 27 |
<object class="GtkImage"> |
| 28 |
<property name="visible">True</property> |
| 29 |
<property name="icon-name">list-add-symbolic</property> |
| 30 |
<property name="icon-size">1</property> |
| 31 |
</object> |
| 32 |
</child> |
| 33 |
</object> |
| 34 |
</child> |
| 35 |
|
| 36 |
<child> |
| 37 |
<object class="GtkMenuButton" id="main_menu_button"> |
| 38 |
<property name="visible">True</property> |
| 39 |
<property name="menu_model">main_menu_model</property> |
| 40 |
<property name="tooltip-text" translatable="yes">Application Menu</property> |
| 41 |
|
| 42 |
<child internal-child="accessible"> |
| 43 |
<object class="AtkObject" id="a11y-application-menu"> |
| 44 |
<property name="accessible-name" translatable="yes">Application Menu</property> |
| 45 |
</object> |
| 46 |
</child> |
| 47 |
|
| 48 |
<child> |
| 49 |
<object class="GtkImage"> |
| 50 |
<property name="visible">True</property> |
| 51 |
<property name="icon-name">open-menu-symbolic</property> |
| 52 |
<property name="icon-size">1</property> |
| 53 |
</object> |
| 54 |
</child> |
| 55 |
</object> |
| 56 |
<packing> |
| 57 |
<property name="pack-type">end</property> |
| 58 |
</packing> |
| 59 |
</child> |
| 60 |
|
| 61 |
<child> |
| 62 |
<object class="GtkToggleButton" id="search_button"> |
| 63 |
<property name="visible">False</property> |
| 64 |
<property name="use-underline">True</property> |
| 65 |
<property name="valign">center</property> |
| 66 |
<property name="tooltip-text" translatable="yes">Search</property> |
| 67 |
<style> |
| 68 |
<class name="image-button"/> |
| 69 |
</style> |
| 70 |
|
| 71 |
<child internal-child="accessible"> |
| 72 |
<object class="AtkObject" id="a11y-search-button"> |
| 73 |
<property name="accessible-name" translatable="yes">Search</property> |
| 74 |
</object> |
| 75 |
</child> |
| 76 |
|
| 77 |
<child> |
| 78 |
<object class="GtkImage"> |
| 79 |
<property name="visible">True</property> |
| 80 |
<property name="icon-name">edit-find-symbolic</property> |
| 81 |
<property name="icon-size">1</property> |
| 82 |
</object> |
| 83 |
</child> |
| 84 |
</object> |
| 85 |
<packing> |
| 86 |
<property name="pack-type">end</property> |
| 87 |
</packing> |
| 88 |
</child> |
| 89 |
</object> |
| 90 |
</child> |
| 91 |
|
| 92 |
<child> |
| 93 |
<object class="GtkHeaderBar" id="display_toolbar"> |
| 94 |
<property name="visible">True</property> |
| 95 |
<property name="show-close-button">True</property> |
| 96 |
<style> |
| 97 |
<class name="titlebar"/> |
| 98 |
</style> |
| 99 |
|
| 100 |
<child> |
| 101 |
<object class="GtkButton" id="back_button"> |
| 102 |
<property name="visible">True</property> |
| 103 |
<property name="tooltip-text" translatable="yes">Go Back</property> |
| 104 |
<signal name="clicked" handler="back_button_clicked"/> |
| 105 |
|
| 106 |
<child internal-child="accessible"> |
| 107 |
<object class="AtkObject" id="a11y-back-button"> |
| 108 |
<property name="accessible-name" translatable="yes">Go Back</property> |
| 109 |
</object> |
| 110 |
</child> |
| 111 |
|
| 112 |
<child> |
| 113 |
<object class="GtkImage"> |
| 114 |
<property name="visible">True</property> |
| 115 |
<property name="icon-name">go-previous-symbolic</property> |
| 116 |
<property name="icon-size">1</property> |
| 117 |
</object> |
| 118 |
</child> |
| 119 |
</object> |
| 120 |
</child> |
| 121 |
|
| 122 |
<child> |
| 123 |
<object class="GtkMenuButton" id="display_menu_button"> |
| 124 |
<property name="visible">True</property> |
| 125 |
<property name="menu_model">display_menu_model</property> |
| 126 |
<property name="tooltip-text" translatable="yes">Display Menu</property> |
| 127 |
|
| 128 |
<child internal-child="accessible"> |
| 129 |
<object class="AtkObject" id="a11y-display-menu"> |
| 130 |
<property name="accessible-name" translatable="yes">Display Menu</property> |
| 131 |
</object> |
| 132 |
</child> |
| 133 |
|
| 134 |
<child> |
| 135 |
<object class="GtkImage"> |
| 136 |
<property name="visible">True</property> |
| 137 |
<property name="icon-name">view-more-symbolic</property> |
| 138 |
<property name="icon-size">1</property> |
| 139 |
</object> |
| 140 |
</child> |
| 141 |
</object> |
| 142 |
<packing> |
| 143 |
<property name="pack-type">end</property> |
| 144 |
</packing> |
| 145 |
</child> |
| 146 |
|
| 147 |
<child> |
| 148 |
<object class="GtkButton" id="disconnect_button"> |
| 149 |
<property name="visible">True</property> |
| 150 |
<property name="tooltip-text" translatable="yes">Disconnect</property> |
| 151 |
<signal name="clicked" handler="disconnect_button_clicked"/> |
| 152 |
|
| 153 |
<child internal-child="accessible"> |
| 154 |
<object class="AtkObject" id="a11y-disconnect-button"> |
| 155 |
<property name="accessible-name" translatable="yes">Disconnect</property> |
| 156 |
</object> |
| 157 |
</child> |
| 158 |
|
| 159 |
<child> |
| 160 |
<object class="GtkImage"> |
| 161 |
<property name="visible">True</property> |
| 162 |
<property name="icon-name">system-shutdown-symbolic</property> |
| 163 |
<property name="icon-size">1</property> |
| 164 |
</object> |
| 165 |
</child> |
| 166 |
</object> |
| 167 |
<packing> |
| 168 |
<property name="pack-type">end</property> |
| 169 |
</packing> |
| 170 |
</child> |
| 171 |
|
| 172 |
|
| 173 |
<child> |
| 174 |
<object class="GtkMenuButton" id="keys_menu_button"> |
| 175 |
<property name="visible">True</property> |
| 176 |
<property name="popover">keys_input_popover</property> |
| 177 |
<property name="tooltip-text" translatable="yes">Keyboard Shortcuts</property> |
| 178 |
|
| 179 |
<child internal-child="accessible"> |
| 180 |
<object class="AtkObject" id="a11y-keyboard-menu"> |
| 181 |
<property name="accessible-name" translatable="yes">Keyboard shortcuts</property> |
| 182 |
</object> |
| 183 |
</child> |
| 184 |
|
| 185 |
<child> |
| 186 |
<object class="GtkImage"> |
| 187 |
<property name="visible">True</property> |
| 188 |
<property name="icon-name">input-keyboard-symbolic</property> |
| 189 |
<property name="icon-size">1</property> |
| 190 |
</object> |
| 191 |
</child> |
| 192 |
</object> |
| 193 |
<packing> |
| 194 |
<property name="pack-type">end</property> |
| 195 |
</packing> |
| 196 |
</child> |
| 197 |
<child> |
| 198 |
<object class="GtkButton" id="fullscreen_button"> |
| 199 |
<property name="visible">True</property> |
| 200 |
<property name="focus-on-click">False</property> |
| 201 |
<property name="valign">center</property> |
| 202 |
<property name="action-name">display.fullscreen</property> |
| 203 |
<property name="tooltip-text" translatable="yes">Fullscreen</property> |
| 204 |
|
| 205 |
<child internal-child="accessible"> |
| 206 |
<object class="AtkObject" id="a11y-fullscreen-button"> |
| 207 |
<property name="accessible-name" translatable="yes">Fullscreen</property> |
| 208 |
</object> |
| 209 |
</child> |
| 210 |
|
| 211 |
<child> |
| 212 |
<object class="GtkImage"> |
| 213 |
<property name="visible">True</property> |
| 214 |
<property name="icon-name">view-fullscreen-symbolic</property> |
| 215 |
<property name="icon-size">1</property> |
| 216 |
</object> |
| 217 |
</child> |
| 218 |
</object> |
| 219 |
<packing> |
| 220 |
<property name="pack-type">end</property> |
| 221 |
</packing> |
| 222 |
</child> |
| 223 |
</object> |
| 224 |
</child> |
| 225 |
</template> |
| 226 |
|
| 227 |
<menu id="main_menu_model"> |
| 228 |
<item> |
| 229 |
<attribute name="action">win.show-help-overlay</attribute> |
| 230 |
<attribute name="label" translatable="yes">Keyboard Shortcuts</attribute> |
| 231 |
</item> |
| 232 |
<item> |
| 233 |
<attribute name="action">app.help</attribute> |
| 234 |
<attribute name="label" translatable="yes">Help</attribute> |
| 235 |
</item> |
| 236 |
<item> |
| 237 |
<attribute name="action">app.about</attribute> |
| 238 |
<attribute name="label" translatable="yes">About Connections</attribute> |
| 239 |
</item> |
| 240 |
</menu> |
| 241 |
|
| 242 |
<menu id="display_menu_model"> |
| 243 |
<item> |
| 244 |
<attribute name="action">display.take_screenshot</attribute> |
| 245 |
<attribute name="label" translatable="yes">Take Screenshot</attribute> |
| 246 |
</item> |
| 247 |
<item> |
| 248 |
<attribute name="action">display.properties</attribute> |
| 249 |
<attribute name="label" translatable="yes">Properties</attribute> |
| 250 |
</item> |
| 251 |
</menu> |
| 252 |
|
| 253 |
<object class="GtkPopoverMenu" id="keys_input_popover"> |
| 254 |
<child> |
| 255 |
<object class="GtkBox"> |
| 256 |
<property name="visible">True</property> |
| 257 |
<property name="margin">10</property> |
| 258 |
<property name="orientation">vertical</property> |
| 259 |
<child> |
| 260 |
<object class="GtkModelButton"> |
| 261 |
<property name="visible">True</property> |
| 262 |
<property name="action-name">key.ctrl+alt+backspace</property> |
| 263 |
<property name="text" translatable="yes">Ctrl + Alt + Backspace</property> |
| 264 |
</object> |
| 265 |
</child> |
| 266 |
<child> |
| 267 |
<object class="GtkModelButton"> |
| 268 |
<property name="visible">True</property> |
| 269 |
<property name="action-name">key.ctrl+alt+del</property> |
| 270 |
<property name="text" translatable="yes">Ctrl + Alt + Del</property> |
| 271 |
</object> |
| 272 |
</child> |
| 273 |
<child> |
| 274 |
<object class="GtkModelButton"> |
| 275 |
<property name="visible">True</property> |
| 276 |
<property name="action-name">key.ctrl+alt+f1</property> |
| 277 |
<property name="text" translatable="yes">Ctrl + Alt + F1</property> |
| 278 |
</object> |
| 279 |
</child> |
| 280 |
<child> |
| 281 |
<object class="GtkModelButton"> |
| 282 |
<property name="visible">True</property> |
| 283 |
<property name="action-name">key.ctrl+alt+f2</property> |
| 284 |
<property name="text" translatable="yes">Ctrl + Alt + F2</property> |
| 285 |
</object> |
| 286 |
</child> |
| 287 |
<child> |
| 288 |
<object class="GtkModelButton"> |
| 289 |
<property name="visible">True</property> |
| 290 |
<property name="action-name">key.ctrl+alt+f3</property> |
| 291 |
<property name="text" translatable="yes">Ctrl + Alt + F3</property> |
| 292 |
</object> |
| 293 |
</child> |
| 294 |
<child> |
| 295 |
<object class="GtkModelButton"> |
| 296 |
<property name="visible">True</property> |
| 297 |
<property name="action-name">key.ctrl+alt+f7</property> |
| 298 |
<property name="text" translatable="yes">Ctrl + Alt + F7</property> |
| 299 |
</object> |
| 300 |
</child> |
| 301 |
</object> |
| 302 |
</child> |
| 303 |
</object> |
| 304 |
|
| 305 |
<!-- Assistant popover --> |
| 306 |
<object class="ConnectionsAssistant" id="assistant"/> |
| 307 |
|
| 308 |
</interface> |