The designs for remote desktop include a generate password button, so this commit adds one.
196 lines
9.9 KiB
XML
196 lines
9.9 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
||
<interface>
|
||
<template class="CcRemoteSessionPage" parent="AdwBin">
|
||
|
||
<child>
|
||
<object class="AdwToastOverlay" id="toast_overlay">
|
||
<property name="child">
|
||
<object class="GtkBox">
|
||
<property name="orientation">vertical</property>
|
||
<child>
|
||
<object class="CcPermissionInfobar" id="permission_infobar"/>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesPage">
|
||
<child>
|
||
<object class="AdwPreferencesGroup">
|
||
<child>
|
||
<object class="GtkLabel">
|
||
<property name="label" translatable="yes">Remotely connect to your user account when it isn’t being used. The display resolution can be set from the remote.</property>
|
||
<property name="hexpand">True</property>
|
||
<property name="justify">center</property>
|
||
<property name="wrap">True</property>
|
||
<style>
|
||
<class name="dim-label"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesGroup">
|
||
<child>
|
||
<object class="AdwSwitchRow" id="remote_session_row">
|
||
<property name="title" translatable="yes">Remote Login</property>
|
||
<property name="use-underline">True</property>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwPreferencesGroup">
|
||
<property name="title" translatable="yes">How to Connect</property>
|
||
<property name="description" translatable="yes">Use a remote desktop app to connect using the RDP protocol. Additional information about the device's network location may also be required</property>
|
||
<child>
|
||
<object class="AdwActionRow" id="hostname_row">
|
||
<property name="title" translatable="yes">_Hostname</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="activatable-widget">copy_address_button</property>
|
||
<style>
|
||
<class name="property"/>
|
||
</style>
|
||
<child type="suffix">
|
||
<object class="GtkBox">
|
||
<property name="spacing">10</property>
|
||
<child>
|
||
<object class="GtkButton" id="copy_address_button">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_address_copy_clicked" swapped="yes"/>
|
||
<accessibility>
|
||
<property name="label" translatable="yes">Copy</property>
|
||
</accessibility>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="AdwActionRow" id="port_row">
|
||
<property name="title" translatable="yes">_Port</property>
|
||
<property name="use-underline">True</property>
|
||
<property name="activatable-widget">copy_address_button</property>
|
||
<style>
|
||
<class name="property"/>
|
||
</style>
|
||
<child type="suffix">
|
||
<object class="GtkBox">
|
||
<property name="spacing">10</property>
|
||
<child>
|
||
<object class="GtkButton" id="copy_port_button">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_port_copy_clicked" swapped="yes"/>
|
||
<accessibility>
|
||
<property name="label" translatable="yes">Copy</property>
|
||
</accessibility>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
|
||
<child>
|
||
<object class="AdwPreferencesGroup" id="credentials_group">
|
||
<property name="title" translatable="yes">Login Details</property>
|
||
|
||
<child>
|
||
<object class="AdwEntryRow" id="username_entry">
|
||
<property name="title" translatable="yes">Username</property>
|
||
<style>
|
||
<class name="property"/>
|
||
</style>
|
||
<child type="suffix">
|
||
<object class="GtkButton">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_username_copy_clicked" swapped="yes"/>
|
||
<accessibility>
|
||
<property name="label" translatable="yes">Copy</property>
|
||
</accessibility>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
|
||
<child>
|
||
<object class="AdwPasswordEntryRow" id="password_entry">
|
||
<property name="title" translatable="yes">Password</property>
|
||
<style>
|
||
<class name="property"/>
|
||
</style>
|
||
<child type="suffix">
|
||
<object class="GtkButton">
|
||
<property name="tooltip-text" translatable="yes">Copy</property>
|
||
<property name="valign">center</property>
|
||
<property name="icon-name">edit-copy-symbolic</property>
|
||
<signal name="clicked" handler="on_password_copy_clicked" swapped="yes"/>
|
||
<accessibility>
|
||
<property name="label" translatable="yes">Copy</property>
|
||
</accessibility>
|
||
<style>
|
||
<class name="flat"/>
|
||
</style>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
|
||
<child>
|
||
<object class="GtkBox">
|
||
<property name="spacing">10</property>
|
||
<child>
|
||
<object class="GtkButton" id="generate_password_button">
|
||
<property name="sensitive">False</property>
|
||
<property name="halign">left</property>
|
||
<property name="margin-top">24</property>
|
||
<property name="label" translatable="yes">_Generate New Password</property>
|
||
<property name="use-underline">True</property>
|
||
<signal name="clicked" handler="on_generate_password_button_clicked" swapped="yes"/>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkBox" id="spacer_box">
|
||
<property name="visible">True</property>
|
||
<property name="can-focus">False</property>
|
||
<property name="hexpand">True</property>
|
||
</object>
|
||
</child>
|
||
<child>
|
||
<object class="GtkButton" id="verify_encryption_button">
|
||
<property name="sensitive">False</property>
|
||
<property name="halign">right</property>
|
||
<property name="margin-top">24</property>
|
||
<property name="label" translatable="yes">_Verify Encryption</property>
|
||
<property name="use-underline">True</property>
|
||
<signal name="clicked" handler="on_verify_encryption_button_clicked" swapped="yes"/>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</child>
|
||
</object>
|
||
</property>
|
||
</object>
|
||
</child>
|
||
</template>
|
||
</interface>
|