gnome-control-center/panels/sharing/cc-sharing-panel.ui
sunflowerskater e27d13183e sharing: Rename "Computer Name" AdwEntryRow to "Device Name"
Currently, the "Computer Name" AdwEntryRow has some problems due to its label name:

- It's inconsistent with the AdwEntryRow from info-overview, which uses the label "Device Name"
- "Computer Name" isn't suitable for other kind of devices
2023-01-02 12:18:55 +00:00

512 lines
22 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="AdwPreferencesPage" id="sharing_panel">
<child>
<object class="AdwPreferencesGroup">
<property name="margin-bottom">12</property>
<child>
<object class="CcHostnameEntry" id="hostname_entry">
<property name="title" translatable="yes">Device Name</property>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPreferencesGroup" id="main_list_box">
<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>
<signal name="activated" handler="gtk_window_present" object="personal_file_sharing_dialog"/>
</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>
<signal name="activated" handler="gtk_window_present" object="remote_desktop_dialog"/>
</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>
<signal name="activated" handler="gtk_window_present" object="media_sharing_dialog"/>
</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>
<signal name="activated" handler="gtk_window_present" object="remote_login_dialog"/>
</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>
<property name="mnemonic_widget">remote_login_switch</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="AdwToastOverlay" id="remote_desktop_toast_overlay">
<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>
<property name="activatable_widget">remote_desktop_switch</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>
<property name="activatable_widget">remote_control_switch</property>
<child type="suffix">
<object class="GtkSwitch" id="remote_control_switch">
<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>
<property name="label" bind-source="hostname_entry" bind-property="text"/>
</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>
<accessibility>
<property name="label" translatable="yes">Copy</property>
</accessibility>
<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>
<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">
<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="AdwEntryRow" id="remote_desktop_username_entry">
<property name="title" translatable="yes">User Name</property>
<child type="suffix">
<object class="GtkButton" id="remote_desktop_username_copy">
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
<accessibility>
<property name="label" translatable="yes">Copy</property>
</accessibility>
<style>
<class name="flat"/>
</style>
</object>
</child>
</object>
</child>
<child>
<object class="AdwPasswordEntryRow" id="remote_desktop_password_entry">
<property name="title" translatable="yes">Password</property>
<child type="suffix">
<object class="GtkButton" id="remote_desktop_password_copy">
<property name="valign">center</property>
<property name="icon-name">edit-copy-symbolic</property>
<accessibility>
<property name="label" translatable="yes">Copy</property>
</accessibility>
<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>
</child>
</object>
<object class="AdwWindow" id="remote_desktop_fingerprint_dialog">
<property name="default-width">360</property>
<property name="default-height">360</property>
<property name="hide-on-close">True</property>
<property name="modal">True</property>
<child>
<object class="GtkBox">
<property name="orientation">vertical</property>
<child>
<object class="GtkWindowControls">
<property name="halign">end</property>
<property name="side">end</property>
</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>