[gnome-control-center] sharing: Update "Remote Login" dialog description



commit da1d8f0d39e81d29cfce62cfe215e6113654ded7
Author: Felipe Borges <felipeborges gnome org>
Date:   Wed Jun 15 11:35:02 2016 +0200

    sharing: Update "Remote Login" dialog description
    
    To match the new designs at
    https://wiki.gnome.org/Design/SystemSettings/Sharing
    
    https://bugzilla.gnome.org/show_bug.cgi?id=767646

 panels/sharing/cc-sharing-panel.c |    2 +-
 panels/sharing/sharing.ui         |    3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/panels/sharing/cc-sharing-panel.c b/panels/sharing/cc-sharing-panel.c
index 128004a..a6e7575 100644
--- a/panels/sharing/cc-sharing-panel.c
+++ b/panels/sharing/cc-sharing-panel.c
@@ -679,7 +679,7 @@ cc_sharing_panel_setup_label (CcSharingPanel *self,
   if (label == WID ("personal-file-sharing-label"))
     text = g_strdup_printf (_("Personal File Sharing allows you to share your Public folder with others on 
your current network using: <a href=\"dav://%s\">dav://%s</a>"), hostname, hostname);
   else if (label == WID ("remote-login-label"))
-    text = g_strdup_printf (_("Allow remote users to connect using the Secure Shell command:\n<a href=\"ssh 
%s\">ssh %s</a>"), hostname, hostname);
+    text = g_strdup_printf (_("When remote login is enabled, remote users can connect using the Secure Shell 
command:\n<a href=\"ssh %s\">ssh %s</a>"), hostname, hostname);
   else if (label == WID ("screen-sharing-label"))
     text = g_strdup_printf (_("Screen sharing allows remote users to view or control your screen by 
connecting to <a href=\"vnc://%s\">vnc://%s</a>"), hostname, hostname);
   else
diff --git a/panels/sharing/sharing.ui b/panels/sharing/sharing.ui
index 4b3d503..6744172 100644
--- a/panels/sharing/sharing.ui
+++ b/panels/sharing/sharing.ui
@@ -409,10 +409,11 @@
                     <property name="visible">True</property>
                     <property name="can_focus">False</property>
                     <property name="xalign">0</property>
-                    <property name="label">Allow remote users to connect using the Secure Shell command:
+                    <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">52</property>
                   </object>
                   <packing>
                     <property name="left_attach">0</property>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]