[NetworkManager-openvpn/bg/proxy-port-adjustment] editor: fix changing the proxy port



commit 8949b1163705b637f254fea116f83b5dc64f6cf2
Author: Beniamino Galvani <bgalvani redhat com>
Date:   Mon Jan 7 21:24:12 2019 +0100

    editor: fix changing the proxy port
    
    The "proxy port" spin button shared the same GTK adjustment with the
    "connect timeout" one and so their values were always
    synchronized. Fix this.
    
    Fixes: 665ba502e27c962867b338a255957b6a9b9003ec

 properties/nm-openvpn-dialog.ui | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)
---
diff --git a/properties/nm-openvpn-dialog.ui b/properties/nm-openvpn-dialog.ui
index 511a763..c54cca1 100644
--- a/properties/nm-openvpn-dialog.ui
+++ b/properties/nm-openvpn-dialog.ui
@@ -59,6 +59,11 @@
     <property name="step_increment">1</property>
     <property name="page_increment">10</property>
   </object>
+  <object class="GtkAdjustment" id="adjustment10">
+    <property name="upper">65535</property>
+    <property name="step_increment">1</property>
+    <property name="page_increment">10</property>
+  </object>
   <object class="GtkListStore" id="liststore1"/>
   <object class="GtkListStore" id="liststore2"/>
   <object class="GtkListStore" id="model1">
@@ -2459,7 +2464,7 @@ config: connect-timeout &lt;n&gt; | server-poll-timeout &lt;n&gt;</property>
                         <property name="can_focus">True</property>
                         <property name="tooltip_text" translatable="yes">The timeout in seconds before 
trying the next server. This timeout includes proxy and TCP connect timeouts.
 config: connect-timeout &lt;n&gt; | server-poll-timeout &lt;n&gt;</property>
-                        <property name="adjustment">adjustment5</property>
+                        <property name="adjustment">adjustment10</property>
                       </object>
                       <packing>
                         <property name="expand">False</property>


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