[polari] connectionDetails: Switch order of the fields "Name" and "Server"



commit d57d1cba9a2e18e8d1f9f2e38765e07ad9601b87
Author: Isabella Ribeiro <belinhacbr gmail com>
Date:   Mon Feb 22 01:33:53 2016 -0300

    connectionDetails: Switch order of the fields "Name" and "Server"
    
    Non-optional fields should come first, initial fields are more
    prominent, and should therefore be important.To fix this issue, the
    fields "Network Name" and "Server Address" have been switched.
    
    https://bugzilla.gnome.org/show_bug.cgi?id=762424

 data/resources/connection-details.ui |   20 ++++++++++----------
 1 files changed, 10 insertions(+), 10 deletions(-)
---
diff --git a/data/resources/connection-details.ui b/data/resources/connection-details.ui
index b14bc8a..e1f0d07 100644
--- a/data/resources/connection-details.ui
+++ b/data/resources/connection-details.ui
@@ -4,36 +4,35 @@
     <property name="visible">True</property>
     <property name="row-spacing">6</property>
     <property name="column-spacing">12</property>
-    <child>
-      <object class="GtkLabel" id="name_label">
+        <child>
+      <object class="GtkLabel" id="server_label">
         <property name="visible" bind-source="Gjs_ConnectionDetails"
                   bind-property="has-service"
                   bind-flags="invert-boolean|sync-create"/>
         <property name="halign">end</property>
-        <property name="label" translatable="yes">Net_work Name</property>
+        <property name="label" translatable="yes">_Server Address</property>
         <property name="use-underline">True</property>
-        <property name="mnemonic-widget">nameEntry</property>
+        <property name="mnemonic-widget">serverEntry</property>
       </object>
     </child>
     <child>
-      <object class="GtkEntry" id="nameEntry">
+      <object class="GtkEntry" id="serverEntry">
         <property name="visible" bind-source="Gjs_ConnectionDetails"
                   bind-property="has-service"
                   bind-flags="invert-boolean|sync-create"/>
         <property name="hexpand">True</property>
         <property name="activates-default">True</property>
-        <property name="placeholder-text" translatable="yes">optional</property>
       </object>
     </child>
     <child>
-      <object class="GtkLabel" id="server_label">
+      <object class="GtkLabel" id="name_label">
         <property name="visible" bind-source="Gjs_ConnectionDetails"
                   bind-property="has-service"
                   bind-flags="invert-boolean|sync-create"/>
         <property name="halign">end</property>
-        <property name="label" translatable="yes">_Server Address</property>
+        <property name="label" translatable="yes">Net_work Name</property>
         <property name="use-underline">True</property>
-        <property name="mnemonic-widget">serverEntry</property>
+        <property name="mnemonic-widget">nameEntry</property>
       </object>
       <packing>
         <property name="left-attach">0</property>
@@ -41,12 +40,13 @@
       </packing>
     </child>
     <child>
-      <object class="GtkEntry" id="serverEntry">
+      <object class="GtkEntry" id="nameEntry">
         <property name="visible" bind-source="Gjs_ConnectionDetails"
                   bind-property="has-service"
                   bind-flags="invert-boolean|sync-create"/>
         <property name="hexpand">True</property>
         <property name="activates-default">True</property>
+        <property name="placeholder-text" translatable="yes">optional</property>
       </object>
       <packing>
         <property name="left-attach">1</property>


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