gnome-control-center/panels/sharing/cc-sharing-panel.ui

533 lines
23 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<interface>
<template class="CcSharingPanel" parent="CcPanel">
<child type="titlebar-end">
<object class="GtkSwitch" id="master_switch">
<property name="valign">center</property>
<accessibility>
<property name="label" translatable="yes">Sharing</property>
</accessibility>
</object>
</child>
<child type="content">
<object class="GtkScrolledWindow" id="sharing_panel">
<property name="hscrollbar-policy">never</property>
<child>
<object class="AdwClamp">
<property name="margin_top">32</property>
<property name="margin_bottom">32</property>
<property name="margin_start">12</property>
<property name="margin_end">12</property>
<child>
<object class="GtkBox">
<property name="hexpand">True</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="label6">
<property name="margin_bottom">12</property>
<property name="xalign">0</property>
<property name="label" translatable="yes">_Computer Name</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">hostname_entry</property>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
<child>
<object class="CcHostnameEntry" id="hostname_entry">
<property name="margin_bottom">32</property>
<property name="invisible_char"></property>
<accessibility>
<relation name="labelled-by">label6</relation>
</accessibility>
</object>
</child>
<child>
<object class="GtkListBox" id="main_list_box">
<property name="selection-mode">none</property>
<style>
<class name="boxed-list" />
</style>
<child>
<object class="CcListRow" id="personal_file_sharing_row">
<property name="show-arrow">True</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">_File Sharing</property>
</object>
</child>
<child>
<object class="CcListRow" id="remote_desktop_row">
<property name="show-arrow">True</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">Remote _Desktop</property>
</object>
</child>
<child>
<object class="CcListRow" id="media_sharing_row">
<property name="show-arrow">True</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Media Sharing</property>
</object>
</child>
<child>
<object class="CcListRow" id="remote_login_row">
<property name="show-arrow">True</property>
<property name="use-underline">True</property>
<property name="title" translatable="yes">_Remote Login</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</template>
<object class="GtkDialog" id="personal_file_sharing_dialog">
<property name="title" translatable="yes">File Sharing</property>
<property name="resizable">False</property>
<property name="use_header_bar">1</property>
<property name="modal">True</property>
<child>
<object class="GtkBox">
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="spacing">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkGrid" id="personal_file_sharing_grid">
<property name="margin_start">12</property>
<property name="margin_end">6</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">12</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel" id="personal_file_sharing_label">
<property name="xalign">0</property>
<property name="label">File Sharing allows you to share your Public folder with others on your current network using: &lt;a href="dav://%s"&gt;dav://%s&lt;/a&gt;</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">36</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
<property name="column-span">2</property>
</layout>
</object>
</child>
<child>
<object class="GtkGrid" id="require_password_grid">
<property name="row_spacing">12</property>
<property name="column_spacing">6</property>
<layout>
<property name="column">0</property>
<property name="row">2</property>
<property name="column-span">2</property>
</layout>
<child>
<object class="GtkLabel" id="label17">
<property name="halign">start</property>
<property name="label" translatable="yes">_Require Password</property>
<property name="use_markup">True</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">personal_file_sharing_require_password_switch</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="personal_file_sharing_password_label">
<property name="halign">start</property>
<property name="hexpand">True</property>
<property name="label" translatable="yes">_Password</property>
<property name="use_underline">True</property>
<property name="mnemonic_widget">personal_file_sharing_password_entry</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
</layout>
</object>
</child>
<child>
<object class="GtkSwitch" id="personal_file_sharing_require_password_switch">
<property name="halign">end</property>
<layout>
<property name="column">1</property>
<property name="row">0</property>
</layout>
</object>
</child>
<child>
<object class="GtkEntry" id="personal_file_sharing_password_entry">
<property name="visibility">False</property>
<property name="invisible_char"></property>
<property name="invisible_char_set">True</property>
<property name="input_purpose">password</property>
<layout>
<property name="column">1</property>
<property name="row">1</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="personal_file_sharing_headerbar">
<property name="show_title_buttons">True</property>
</object>
</child>
</object>
<object class="GtkDialog" id="remote_login_dialog">
<property name="title" translatable="yes">Remote Login</property>
<property name="resizable">False</property>
<property name="use_header_bar">1</property>
<property name="modal">True</property>
<child>
<object class="GtkBox">
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="spacing">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkLabel" id="remote_login_label">
<property name="xalign">0</property>
<property name="label">When remote login is enabled, remote users can connect using the Secure Shell command:
&lt;a href="ssh %s"&gt;ssh %s&lt;/a&gt;</property>
<property name="use_markup">True</property>
<property name="wrap">True</property>
<property name="max-width-chars">36</property>
</object>
</child>
<child>
<object class="GtkBox">
<style>
<class name="frame"/>
<class name="view"/>
</style>
<child>
<object class="GtkBox">
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<child>
<object class="GtkLabel">
<property name="label" translatable="yes">Remote Login</property>
<property name="hexpand">True</property>
<property name="xalign">0</property>
</object>
</child>
<child>
<object class="GtkSwitch" id="remote_login_switch">
<property name="halign">end</property>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="GtkDialog" id="remote_desktop_dialog">
<property name="title" translatable="yes">Remote Desktop</property>
<property name="modal">True</property>
<property name="default-width">640</property>
<child type="titlebar">
<object class="GtkHeaderBar">
<property name="show_title_buttons">True</property>
</object>
</child>
<child>
<object class="AdwPreferencesPage">
<child>
<object class="AdwPreferencesGroup">
<property name="description" translatable="yes">Remote desktop allows viewing and controlling your desktop from another computer.</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Remote Desktop</property>
<property name="subtitle" translatable="yes">Enable or disable remote desktop connections to this computer.</property>
<child type="suffix">
<object class="GtkSwitch" id="remote_desktop_switch">
<property name="state">False</property>
<property name="valign">center</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Remote Control</property>
<property name="subtitle" translatable="yes">Allows remote connections to control the screen.</property>
<child type="suffix">
<object class="GtkSwitch" id="remote_control_checkbutton">
<property name="valign">center</property>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">How to Connect</property>
<property name="description" translatable="yes">Connect to this computer using the device name or remote desktop address.</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Device Name</property>
<child type="suffix">
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="GtkLabel" id="remote_desktop_device_name_label">
<property name="selectable">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="remote_desktop_device_name_copy">
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
<style>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Remote Desktop Address</property>
<child type="suffix">
<object class="GtkBox">
<property name="spacing">10</property>
<child>
<object class="GtkLabel" id="remote_desktop_address_label">
<property name="selectable">True</property>
</object>
</child>
<child>
<object class="GtkButton" id="remote_desktop_address_copy">
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
<style>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup">
<property name="title" translatable="yes">Authentication</property>
<property name="description" translatable="yes">The user name and password are required to connect to this computer.</property>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">User Name</property>
<child type="suffix">
<object class="GtkEntry" id="remote_desktop_username_entry">
<property name="hexpand">True</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="remote_desktop_username_copy">
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
<style>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="AdwActionRow">
<property name="title" translatable="yes">Password</property>
<child type="suffix">
<object class="GtkPasswordEntry" id="remote_desktop_password_entry">
<property name="hexpand">True</property>
<property name="show-peek-icon">True</property>
<property name="valign">center</property>
</object>
</child>
<child>
<object class="GtkButton" id="remote_desktop_password_copy">
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
<style>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="GtkButton" id="remote_desktop_verify_encryption">
<property name="sensitive">False</property>
<property name="halign">end</property>
<property name="margin-top">12</property>
<property name="label" translatable="yes">Verify Encryption</property>
<signal name="clicked" handler="remote_desktop_show_encryption_fingerprint" swapped="yes"/>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="AdwWindow" id="remote_desktop_fingerprint_dialog">
<property name="default-width">360</property>
<property name="default-height">360</property>
<property name="modal">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkButton">
<property name="halign">end</property>
<property name="icon-name">window-close-symbolic</property>
<signal name="clicked" handler="remote_desktop_hide_encryption_fingerprint" swapped="yes"/>
<style>
<class name="flat"/>
</style>
</object>
</child>
<child>
<object class="AdwStatusPage">
<property name="title" translatable="yes">Encryption Fingerprint</property>
<property name="description" translatable="yes">The encryption fingerprint can be seen in connecting clients and should be identical</property>
<property name="vexpand">True</property>
<child>
<object class="GtkBox">
<property name="orientation">horizontal</property>
<property name="halign">center</property>
<style>
<class name="tls-cert-verification" />
</style>
<child>
<object class="GtkLabel" id="remote_desktop_fingerprint_left">
<style>
<class name="tls-cert-fingerprint" />
</style>
</object>
</child>
<child>
<object class="GtkLabel" id="remote_desktop_fingerprint_right">
<style>
<class name="tls-cert-fingerprint" />
</style>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
</child>
</object>
<object class="GtkDialog" id="media_sharing_dialog">
<property name="title" translatable="yes">Media Sharing</property>
<property name="resizable">False</property>
<property name="modal">True</property>
<child>
<object class="GtkBox">
<property name="margin-top">12</property>
<property name="margin-bottom">12</property>
<property name="margin-start">12</property>
<property name="margin-end">12</property>
<property name="spacing">12</property>
<property name="orientation">vertical</property>
<child>
<object class="GtkGrid" id="shared_folders_grid">
<property name="margin_start">12</property>
<property name="margin_end">6</property>
<property name="margin_top">12</property>
<property name="margin_bottom">12</property>
<property name="row_spacing">12</property>
<property name="column_spacing">6</property>
<child>
<object class="GtkLabel" id="label13">
<property name="xalign">0</property>
<property name="label" translatable="yes">Share music, photos and videos over the network.</property>
<property name="max-width-chars">36</property>
<property name="wrap">True</property>
<layout>
<property name="column">0</property>
<property name="row">0</property>
<property name="column-span">2</property>
</layout>
</object>
</child>
<child>
<object class="GtkLabel" id="label15">
<property name="xalign">0</property>
<property name="label" translatable="yes">Folders</property>
<property name="mnemonic_widget">shared_folders_listbox</property>
<layout>
<property name="column">0</property>
<property name="row">1</property>
<property name="column-span">2</property>
</layout>
<attributes>
<attribute name="weight" value="bold"/>
</attributes>
</object>
</child>
<child>
<object class="GtkListBox" id="shared_folders_listbox">
<property name="selection-mode">none</property>
<style>
<class name="boxed-list" />
</style>
<layout>
<property name="column">0</property>
<property name="row">3</property>
<property name="column-span">2</property>
</layout>
</object>
</child>
</object>
</child>
</object>
</child>
<child type="titlebar">
<object class="GtkHeaderBar" id="media_sharing_headerbar">
<property name="show_title_buttons">True</property>
</object>
</child>
</object>
</interface>