remote-desktop: Consolidate the "Desktop Sharing" term
This change will update the UI and internal reference names to use the "Desktop Sharing" term, which refers to sharing a user's screen with remote connections. This differentiation is being introduced now so that we can avoid conflict with "Remote Session", which will refer to headless/dedicated remote desktop sessions. Mockups https://gitlab.gnome.org/Teams/Design/settings-mockups/-/raw/master/remote-desktop/remote-desktop.png See #2827
This commit is contained in:
parent
c4ea5c211c
commit
b82edb7621
2 changed files with 75 additions and 89 deletions
|
@ -58,15 +58,16 @@
|
|||
struct _CcRemoteDesktopPage {
|
||||
AdwNavigationPage parent_instance;
|
||||
|
||||
AdwPreferencesPage *remote_desktop_page;
|
||||
AdwSwitchRow *remote_control_row;
|
||||
GtkWidget *remote_desktop_toast_overlay;
|
||||
GtkWidget *remote_desktop_password_entry;
|
||||
GtkWidget *remote_desktop_username_entry;
|
||||
GtkWidget *remote_desktop_device_name_label;
|
||||
GtkWidget *remote_desktop_address_label;
|
||||
AdwSwitchRow *remote_desktop_row;
|
||||
GtkWidget *remote_desktop_verify_encryption;
|
||||
GtkWidget *toast_overlay;
|
||||
|
||||
AdwSwitchRow *desktop_sharing_row;
|
||||
AdwSwitchRow *desktop_sharing_remote_control_row;
|
||||
GtkWidget *desktop_sharing_address_label;
|
||||
GtkWidget *desktop_sharing_ip_address_label;
|
||||
GtkWidget *desktop_sharing_username_entry;
|
||||
GtkWidget *desktop_sharing_password_entry;
|
||||
GtkWidget *desktop_sharing_verify_encryption;
|
||||
|
||||
GtkWidget *remote_desktop_fingerprint_dialog;
|
||||
GtkWidget *remote_desktop_fingerprint_left;
|
||||
GtkWidget *remote_desktop_fingerprint_right;
|
||||
|
@ -82,7 +83,7 @@ struct _CcRemoteDesktopPage {
|
|||
G_DEFINE_TYPE (CcRemoteDesktopPage, cc_remote_desktop_page, ADW_TYPE_NAVIGATION_PAGE)
|
||||
|
||||
static void
|
||||
remote_desktop_show_encryption_fingerprint (CcRemoteDesktopPage *self)
|
||||
on_desktop_sharing_verify_encryption_button_clicked (CcRemoteDesktopPage *self)
|
||||
{
|
||||
g_autoptr(GByteArray) der = NULL;
|
||||
g_autoptr(GcrCertificate) gcr_cert = NULL;
|
||||
|
@ -155,7 +156,7 @@ cc_remote_desktop_page_setup_label_with_hostname (CcRemoteDesktopPage *self,
|
|||
|
||||
hostname = get_hostname ();
|
||||
|
||||
if (label == self->remote_desktop_address_label)
|
||||
if (label == self->desktop_sharing_ip_address_label)
|
||||
{
|
||||
text = g_strdup_printf ("rdp://%s", hostname);
|
||||
}
|
||||
|
@ -189,8 +190,8 @@ store_remote_desktop_credentials_timeout (gpointer user_data)
|
|||
CcRemoteDesktopPage *self = (CcRemoteDesktopPage *)user_data;
|
||||
const char *username, *password;
|
||||
|
||||
username = gtk_editable_get_text (GTK_EDITABLE (self->remote_desktop_username_entry));
|
||||
password = gtk_editable_get_text (GTK_EDITABLE (self->remote_desktop_password_entry));
|
||||
username = gtk_editable_get_text (GTK_EDITABLE (self->desktop_sharing_username_entry));
|
||||
password = gtk_editable_get_text (GTK_EDITABLE (self->desktop_sharing_password_entry));
|
||||
|
||||
if (username && password)
|
||||
{
|
||||
|
@ -262,7 +263,7 @@ set_tls_certificate (CcRemoteDesktopPage *self,
|
|||
{
|
||||
g_set_object (&self->remote_desktop_certificate,
|
||||
tls_certificate);
|
||||
gtk_widget_set_sensitive (self->remote_desktop_verify_encryption, TRUE);
|
||||
gtk_widget_set_sensitive (self->desktop_sharing_verify_encryption, TRUE);
|
||||
}
|
||||
|
||||
static void
|
||||
|
@ -393,7 +394,7 @@ enable_gnome_remote_desktop (CcRemoteDesktopPage *self)
|
|||
static void
|
||||
on_remote_desktop_active_changed (CcRemoteDesktopPage *self)
|
||||
{
|
||||
if (adw_switch_row_get_active (self->remote_desktop_row))
|
||||
if (adw_switch_row_get_active (self->desktop_sharing_row))
|
||||
enable_gnome_remote_desktop (self);
|
||||
else
|
||||
disable_gnome_remote_desktop_service (self);
|
||||
|
@ -403,15 +404,15 @@ static void
|
|||
add_toast (CcRemoteDesktopPage *self,
|
||||
const char *message)
|
||||
{
|
||||
adw_toast_overlay_add_toast (ADW_TOAST_OVERLAY (self->remote_desktop_toast_overlay),
|
||||
adw_toast_overlay_add_toast (ADW_TOAST_OVERLAY (self->toast_overlay),
|
||||
adw_toast_new (message));
|
||||
}
|
||||
|
||||
static void
|
||||
on_device_name_copy_clicked (CcRemoteDesktopPage *self,
|
||||
on_desktop_sharing_address_copy_clicked (CcRemoteDesktopPage *self,
|
||||
GtkButton *button)
|
||||
{
|
||||
GtkLabel *label = GTK_LABEL (self->remote_desktop_device_name_label);
|
||||
GtkLabel *label = GTK_LABEL (self->desktop_sharing_address_label);
|
||||
|
||||
gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (button)),
|
||||
gtk_label_get_text (label));
|
||||
|
@ -419,10 +420,10 @@ on_device_name_copy_clicked (CcRemoteDesktopPage *self,
|
|||
}
|
||||
|
||||
static void
|
||||
on_device_address_copy_clicked (CcRemoteDesktopPage *self,
|
||||
on_desktop_sharing_ip_address_copy_clicked (CcRemoteDesktopPage *self,
|
||||
GtkButton *button)
|
||||
{
|
||||
GtkLabel *label = GTK_LABEL (self->remote_desktop_address_label);
|
||||
GtkLabel *label = GTK_LABEL (self->desktop_sharing_ip_address_label);
|
||||
|
||||
gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (button)),
|
||||
gtk_label_get_text (label));
|
||||
|
@ -430,10 +431,10 @@ on_device_address_copy_clicked (CcRemoteDesktopPage *self,
|
|||
}
|
||||
|
||||
static void
|
||||
on_username_copy_clicked (CcRemoteDesktopPage *self,
|
||||
on_desktop_sharing_username_copy_clicked (CcRemoteDesktopPage *self,
|
||||
GtkButton *button)
|
||||
{
|
||||
GtkEditable *editable = GTK_EDITABLE (self->remote_desktop_username_entry);
|
||||
GtkEditable *editable = GTK_EDITABLE (self->desktop_sharing_username_entry);
|
||||
|
||||
gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (button)),
|
||||
gtk_editable_get_text (editable));
|
||||
|
@ -441,10 +442,10 @@ on_username_copy_clicked (CcRemoteDesktopPage *self,
|
|||
}
|
||||
|
||||
static void
|
||||
on_password_copy_clicked (CcRemoteDesktopPage *self,
|
||||
on_desktop_sharing_password_copy_clicked (CcRemoteDesktopPage *self,
|
||||
GtkButton *button)
|
||||
{
|
||||
GtkEditable *editable = GTK_EDITABLE (self->remote_desktop_password_entry);
|
||||
GtkEditable *editable = GTK_EDITABLE (self->desktop_sharing_password_entry);
|
||||
|
||||
gdk_clipboard_set_text (gtk_widget_get_clipboard (GTK_WIDGET (button)),
|
||||
gtk_editable_get_text (editable));
|
||||
|
@ -507,37 +508,37 @@ cc_remote_desktop_page_setup_remote_desktop_dialog (CcRemoteDesktopPage *self)
|
|||
|
||||
self->rdp_settings = g_settings_new (GNOME_REMOTE_DESKTOP_RDP_SCHEMA_ID);
|
||||
|
||||
adw_switch_row_set_active (self->remote_desktop_row, is_remote_desktop_enabled (self));
|
||||
adw_switch_row_set_active (self->desktop_sharing_row, is_remote_desktop_enabled (self));
|
||||
g_settings_bind (self->rdp_settings,
|
||||
"enable",
|
||||
self->remote_desktop_row,
|
||||
self->desktop_sharing_row,
|
||||
"active",
|
||||
G_SETTINGS_BIND_DEFAULT);
|
||||
g_settings_bind (self->rdp_settings,
|
||||
"view-only",
|
||||
self->remote_control_row,
|
||||
self->desktop_sharing_remote_control_row,
|
||||
"active",
|
||||
G_SETTINGS_BIND_DEFAULT | G_SETTINGS_BIND_INVERT_BOOLEAN);
|
||||
g_object_bind_property (self->remote_desktop_row, "active",
|
||||
self->remote_control_row, "sensitive",
|
||||
g_object_bind_property (self->desktop_sharing_row, "active",
|
||||
self->desktop_sharing_remote_control_row, "sensitive",
|
||||
G_BINDING_SYNC_CREATE);
|
||||
|
||||
hostname = get_hostname ();
|
||||
gtk_label_set_label (GTK_LABEL (self->remote_desktop_device_name_label),
|
||||
gtk_label_set_label (GTK_LABEL (self->desktop_sharing_address_label),
|
||||
hostname);
|
||||
|
||||
username = cc_grd_lookup_rdp_username (self->cancellable);
|
||||
password = cc_grd_lookup_rdp_password (self->cancellable);
|
||||
if (username != NULL)
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->remote_desktop_username_entry), username);
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->desktop_sharing_username_entry), username);
|
||||
if (password != NULL)
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->remote_desktop_password_entry), password);
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->desktop_sharing_password_entry), password);
|
||||
|
||||
g_signal_connect_swapped (self->remote_desktop_username_entry,
|
||||
g_signal_connect_swapped (self->desktop_sharing_username_entry,
|
||||
"notify::text",
|
||||
G_CALLBACK (remote_desktop_credentials_changed),
|
||||
self);
|
||||
g_signal_connect_swapped (self->remote_desktop_password_entry,
|
||||
g_signal_connect_swapped (self->desktop_sharing_password_entry,
|
||||
"notify::text",
|
||||
G_CALLBACK (remote_desktop_credentials_changed),
|
||||
self);
|
||||
|
@ -549,22 +550,22 @@ cc_remote_desktop_page_setup_remote_desktop_dialog (CcRemoteDesktopPage *self)
|
|||
else
|
||||
g_warning ("Failed to get username: %s", g_strerror (errno));
|
||||
}
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->remote_desktop_username_entry), username);
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->desktop_sharing_username_entry), username);
|
||||
|
||||
if (password == NULL)
|
||||
{
|
||||
g_autofree gchar *pw = pw_generate ();
|
||||
if (pw != NULL)
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->remote_desktop_password_entry),
|
||||
gtk_editable_set_text (GTK_EDITABLE (self->desktop_sharing_password_entry),
|
||||
pw );
|
||||
}
|
||||
|
||||
if (is_remote_desktop_enabled (self))
|
||||
{
|
||||
adw_switch_row_set_active (self->remote_desktop_row,
|
||||
adw_switch_row_set_active (self->desktop_sharing_row,
|
||||
TRUE);
|
||||
}
|
||||
g_signal_connect_object (self->remote_desktop_row, "notify::active",
|
||||
g_signal_connect_object (self->desktop_sharing_row, "notify::active",
|
||||
G_CALLBACK (on_remote_desktop_active_changed), self,
|
||||
G_CONNECT_SWAPPED);
|
||||
on_remote_desktop_active_changed (self);
|
||||
|
@ -631,32 +632,30 @@ cc_remote_desktop_page_class_init (CcRemoteDesktopPageClass * klass)
|
|||
|
||||
gtk_widget_class_set_template_from_resource (widget_class, "/org/gnome/control-center/system/remote-desktop/cc-remote-desktop-page.ui");
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_page);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_toast_overlay);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_row);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_control_row);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_username_entry);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_password_entry);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_device_name_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_address_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_verify_encryption);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, toast_overlay);
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_row);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_remote_control_row);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_username_entry);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_password_entry);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_address_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_ip_address_label);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, desktop_sharing_verify_encryption);
|
||||
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_fingerprint_dialog);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_fingerprint_left);
|
||||
gtk_widget_class_bind_template_child (widget_class, CcRemoteDesktopPage, remote_desktop_fingerprint_right);
|
||||
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_device_name_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_device_address_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_username_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_password_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, remote_desktop_show_encryption_fingerprint);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_desktop_sharing_address_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_desktop_sharing_ip_address_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_desktop_sharing_username_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_desktop_sharing_password_copy_clicked);
|
||||
gtk_widget_class_bind_template_callback (widget_class, on_desktop_sharing_verify_encryption_button_clicked);
|
||||
}
|
||||
|
||||
static void
|
||||
cc_remote_desktop_page_init (CcRemoteDesktopPage *self)
|
||||
{
|
||||
g_autofree gchar *learn_more_link = NULL;
|
||||
g_autofree gchar *page_description = NULL;
|
||||
|
||||
g_autoptr(GtkCssProvider) provider = NULL;
|
||||
|
||||
gtk_widget_init_template (GTK_WIDGET (self));
|
||||
|
@ -664,14 +663,6 @@ cc_remote_desktop_page_init (CcRemoteDesktopPage *self)
|
|||
self->cancellable = g_cancellable_new ();
|
||||
check_remote_desktop_available (self);
|
||||
|
||||
cc_remote_desktop_page_setup_label_with_hostname (self, self->remote_desktop_address_label);
|
||||
|
||||
/* Translators: This will be presented as the text of a link to the documentation */
|
||||
learn_more_link = g_strdup_printf ("<a href='help:gnome-help/sharing-desktop'>%s</a>", _("learn how to use it"));
|
||||
/* Translators: %s is a link to the documentation with the label "learn how to use it" */
|
||||
page_description = g_strdup_printf (_("Remote desktop allows viewing and controlling your desktop from another computer – %s."), learn_more_link);
|
||||
adw_preferences_page_set_description (self->remote_desktop_page, page_description);
|
||||
|
||||
provider = gtk_css_provider_new ();
|
||||
gtk_css_provider_load_from_resource (provider,
|
||||
"/org/gnome/control-center/system/remote-desktop/remote-desktop.css");
|
||||
|
|
|
@ -11,25 +11,24 @@
|
|||
<object class="AdwHeaderBar"/>
|
||||
</child>
|
||||
<property name="content">
|
||||
<object class="AdwToastOverlay" id="remote_desktop_toast_overlay">
|
||||
<object class="AdwToastOverlay" id="toast_overlay">
|
||||
<child>
|
||||
<object class="AdwPreferencesPage" id="remote_desktop_page">
|
||||
<object class="AdwPreferencesPage">
|
||||
<child>
|
||||
<object class="AdwPreferencesGroup">
|
||||
|
||||
<child>
|
||||
<object class="AdwSwitchRow" id="remote_desktop_row">
|
||||
<property name="title" translatable="yes">Remote _Desktop</property>
|
||||
<object class="AdwSwitchRow" id="desktop_sharing_row">
|
||||
<property name="title" translatable="yes">_Desktop Sharing</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="subtitle" translatable="yes">Enable or disable remote desktop connections to this computer</property>
|
||||
<property name="subtitle" translatable="yes">Share your screen with remote connections</property>
|
||||
</object>
|
||||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwSwitchRow" id="remote_control_row">
|
||||
<object class="AdwSwitchRow" id="desktop_sharing_remote_control_row">
|
||||
<property name="title" translatable="yes">Remote _Control</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="subtitle" translatable="yes">Allows remote connections to control the screen</property>
|
||||
<property name="subtitle" translatable="yes">Allows desktop sharing connections to control the screen</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
|
@ -37,19 +36,17 @@
|
|||
|
||||
<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>
|
||||
|
||||
<property name="title" translatable="yes">Connection Details</property>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">D_evice Name</property>
|
||||
<property name="title" translatable="yes">Address</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="activatable-widget">copy_device_name_button</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkBox">
|
||||
<property name="spacing">10</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="remote_desktop_device_name_label">
|
||||
<object class="GtkLabel" id="desktop_sharing_address_label">
|
||||
<property name="selectable">True</property>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -58,7 +55,7 @@
|
|||
<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_device_name_copy_clicked" swapped="yes"/>
|
||||
<signal name="clicked" handler="on_desktop_sharing_address_copy_clicked" swapped="yes"/>
|
||||
<accessibility>
|
||||
<property name="label" translatable="yes">Copy</property>
|
||||
</accessibility>
|
||||
|
@ -73,14 +70,14 @@
|
|||
</child>
|
||||
<child>
|
||||
<object class="AdwActionRow">
|
||||
<property name="title" translatable="yes">Re_mote Desktop Address</property>
|
||||
<property name="title" translatable="yes">IP Address</property>
|
||||
<property name="use-underline">True</property>
|
||||
<property name="activatable-widget">copy_device_address_button</property>
|
||||
<child type="suffix">
|
||||
<object class="GtkBox">
|
||||
<property name="spacing">10</property>
|
||||
<child>
|
||||
<object class="GtkLabel" id="remote_desktop_address_label">
|
||||
<object class="GtkLabel" id="desktop_sharing_ip_address_label">
|
||||
<property name="selectable">True</property>
|
||||
</object>
|
||||
</child>
|
||||
|
@ -89,7 +86,7 @@
|
|||
<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_device_address_copy_clicked" swapped="yes"/>
|
||||
<signal name="clicked" handler="on_desktop_sharing_ip_address_copy_clicked" swapped="yes"/>
|
||||
<accessibility>
|
||||
<property name="label" translatable="yes">Copy</property>
|
||||
</accessibility>
|
||||
|
@ -107,11 +104,9 @@
|
|||
|
||||
<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>
|
||||
|
||||
<property name="title" translatable="yes">Login Details</property>
|
||||
<child>
|
||||
<object class="AdwEntryRow" id="remote_desktop_username_entry">
|
||||
<object class="AdwEntryRow" id="desktop_sharing_username_entry">
|
||||
<property name="title" translatable="yes">_User Name</property>
|
||||
<property name="use-underline">True</property>
|
||||
<child type="suffix">
|
||||
|
@ -119,7 +114,7 @@
|
|||
<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"/>
|
||||
<signal name="clicked" handler="on_desktop_sharing_username_copy_clicked" swapped="yes"/>
|
||||
<accessibility>
|
||||
<property name="label" translatable="yes">Copy</property>
|
||||
</accessibility>
|
||||
|
@ -132,7 +127,7 @@
|
|||
</child>
|
||||
|
||||
<child>
|
||||
<object class="AdwPasswordEntryRow" id="remote_desktop_password_entry">
|
||||
<object class="AdwPasswordEntryRow" id="desktop_sharing_password_entry">
|
||||
<property name="title" translatable="yes">_Password</property>
|
||||
<property name="use-underline">True</property>
|
||||
<child type="suffix">
|
||||
|
@ -140,7 +135,7 @@
|
|||
<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"/>
|
||||
<signal name="clicked" handler="on_desktop_sharing_password_copy_clicked" swapped="yes"/>
|
||||
<accessibility>
|
||||
<property name="label" translatable="yes">Copy</property>
|
||||
</accessibility>
|
||||
|
@ -153,13 +148,13 @@
|
|||
</child>
|
||||
|
||||
<child>
|
||||
<object class="GtkButton" id="remote_desktop_verify_encryption">
|
||||
<object class="GtkButton" id="desktop_sharing_verify_encryption">
|
||||
<property name="sensitive">False</property>
|
||||
<property name="halign">center</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="remote_desktop_show_encryption_fingerprint" swapped="yes"/>
|
||||
<signal name="clicked" handler="on_desktop_sharing_verify_encryption_button_clicked" swapped="yes"/>
|
||||
<style>
|
||||
<class name="pill"/>
|
||||
</style>
|
||||
|
|
Loading…
Add table
Reference in a new issue